ci(deps): run Renovate on push to main, state the own-image wait, shorten rule descriptions #172
Notifications
Due Date
No due date set.
Blocks
Depends on
Reference: Mortis/Kamino#172
Reference in new issue
Block a user
Spec: Renovate automerge posture (resolution comment).
What to build
.gitea/workflows/renovate.yml: add anon: pushtrigger formain, next to the daily cron. A push run is live (not a dry run), like the schedule. The existingconcurrency: renovategroup (no cancel) stays. Why: with "Block on outdated branch", only one bot pull request merges per Renovate run; a run after each merge rebases the next one, and Gitea's scheduled merge (platform automerge) merges it once green.renovate.json: setminimumReleaseAge: "0 days"explicitly forgit.rkdr.net/mortis/**(today they pass only throughtimestamp-optional). Third-party updates keep 3 days.renovate.json: everydescription(top level, custom managers, package rules) is at most two short sentences: why the rule exists, plus how it works only when that is not obvious. Investigation notes (run numbers, versions tested) move out of the config; they stay in the history of the pull request that added the rule.CLAUDE.mdandCONTRIBUTING.md(met: #140, #141, #146 and #148 were merged by the bot). Where the docs describe the posture, cut it to one line pointing atrenovate.json.Acceptance
mainstarts a Renovate run; with two automergeable bot pull requests open, both merge without waiting for the cron.renovate --platform=local(version fromrenovate.yml) validates the config.Not in scope
The exception list itself (majors,
job_image, kaniko, hooks, lock-file maintenance,renovate.yml) is unchanged; its re-evaluation is a separate issue.Added by Contributor doc set (resolution, section 1): put the two rules from Renovate automerge posture in
renovate.json's top-leveldescription, each with "held by review":Check that
renovate-config-validatoraccepts a top-leveldescription. If it does not, put them indocs/contributing/making-a-change.md(from the contributor doc split) and say so in the PR.Order: this now waits on the contributor-doc split (#189) where it edits
CONTRIBUTING.md, and on docs(agents): replace CLAUDE.md with a root AGENTS.md (#185): put theCLAUDE.mdedits in the root or nestedAGENTS.mdinstead. (From Order of the implementation backlog, #198.)Review of the map (2026-11-15): corrections to this issue.
renovate.yml. "Not in scope" says the exception list,renovate.ymlincluded, is unchanged. Enforcement map for each prose-only rule decided that Renovate tracks its own image weekly, and ci(renovate): validate the config in Lint and let Renovate bump its own image weekly replaces theenabled: falserule (renovate.json:114-120). Change: in "Not in scope", listrenovate.ymlas "proposed weekly, never automerged (owned by the self-bump issue)", not as unchanged. If this issue lands after that one, its description cuts must keep that rule's security reason.minimumReleaseAge: "0 days"for the organisation's ownmortis/**packages. A package-name pattern alone also matches any other datasource that resolves to this organisation, for example agent skills fetched from a repository here once they are tracked. Those would then automerge minutes after an upstream push. Change: addmatchDatasources: ["docker"]to that rule.renovate.json:24sets"minimumReleaseAgeBehaviour": "timestamp-optional", so the 3-day wait for third-party updates does not apply when a datasource has no timestamp. Change: say so in the top-level description (one short sentence), so nobody reads "Third-party updates keep 3 days" as universal.Scope added by Code-owner approval against Renovate automerge, and where secrets live (resolution, points 1 and 3), for
renovate.json:git.rkdr.net/mortis/*pins in workflow files) becomes a never-automerge exception: those files are code-owned and Gitea cannot exempt the bot. Its description says so in two sentences.FROMtag and digest bumps (images/*/Dockerfile) are grouped into one weekly pull request and also do not automerge, becauseimages/**is code-owned.renovate/*(push allowlist, #192).Scope added by Molecule and Renovate on the shared runner: isolation, capacity and cost, item 8. Measured 3–17 Nov: a scheduled Renovate run has a median of 16s and a maximum of 2m04. So:
renovate.yml'stimeout-minutesfrom 30 to 10.renovategroup withcancel-in-progress: false: it already allows at most one running and one waiting run when pushes arrive in a burst. There is no extra trigger condition and no separate runner label.CLAUDE.mdand in themolecule.ymlschedule comment.Review of the map (2026-11-17).
CLAUDE.md(drop the "hand edits on a bot branch" note; replace "up to 30 minutes"). docs(agents): replace CLAUDE.md with a root AGENTS.md lands first and deletes that file. Apply both to wherever the rootAGENTS.mdissue moved those lines, or to nothing if it dropped them; themolecule.ymlschedule comment still gets the measured time.renovate/*. A protected branch cannot be deleted in Gitea, so whether those allowlists stay is open in Pushes onto a pull request that has a scheduled merge. Keep the note until that ticket closes.Update of 2026-11-20 (final validation round of the map, #87 (comment)).
Pushes onto a pull request that has a scheduled merge (#248) is closed:
renovate/*has no push allowlist, so the allowlist reason in the comment of 2026-11-16 no longer applies. The content of the "hand edits on a bot branch" note moves to the contributing-doc rule "do not push to someone else's branch or a bot's branch" (#189). Drop the note here only once that rule exists; until then carry it into wherever this issue moves the Renovate notes.Also, the body's "Not in scope" says the exception list,
renovate.ymlincluded, is unchanged. The comments win on that: Renovate bumps its own image weekly, never automerged (#188).