chore(renovate): rebase behind pull requests and fix the lock-file status #176

Sammanfogat
supernaut sammanfogade 6 incheckningar från chore/renovate-preset-tuning in i main 2026-11-16 10:19:20 +00:00
Ägare

What

  • default.json: add rebaseWhen: behind-base-branch.
  • default.json: lock-file maintenance rule gets minimumReleaseAgeBehaviour: timestamp-optional.
  • default.json: the overrides rule description notes that CI's pnpm gate still holds a release under a day old.
  • pnpm-workspace.yaml: minimumReleaseAge: 1440 made explicit (pnpm 11 default).
  • ADR 0023: dated amendment for the three night runs and rebasing.

Why

  • The default rebaseWhen: auto rebases a conflict-free branch only when automerge or an up-to-date requirement applies. A pull request that failed for a transient reason (a registry rate limit) stayed red until someone rebased it. Several stayed red for days and went green on the first rebase.
  • A lock-file maintenance update has no release timestamp. Under timestamp-required its renovate/stability-days status stays pending. With timestamp-optional Renovate treats the missing timestamp as not pending (checkMinimumReleaseAge returns isPending: false), so the status is green.
  • An override or security pull request for a release under a day old fails CI's pnpm gate at creation. The rebase change heals it on a later run.

Validated

renovate-config-validator --strict --no-global in renovate/renovate:43 (43.288.0) on default.json, automerge-safe.json and renovate.json: "Config validated successfully against 1 file(s)" for each. pnpm renovate:validate (renovate 44.236.5) passes. pnpm install --frozen-lockfile, prettier and markdownlint pass.

CI load

Each run rebases every open pull request that is behind main, and each rebase reruns CI. Bounded by prConcurrentLimit (6 per repo). Runs are at 00:30, 01:30 and 02:30, so a pull request is rebased at most three times a night.

Watch after the next Monday run

  • Lock-file maintenance pull requests show renovate/stability-days green, not pending.
  • Open pull requests are rebased once per merge, not repeatedly. Runner queue length and rate-limit failures stay normal.
  • Renovate logs the timestamp-optional WARN for lock-file maintenance. This is expected.
  • Pull requests that were red from transient failures turn green.
## What - `default.json`: add `rebaseWhen: behind-base-branch`. - `default.json`: lock-file maintenance rule gets `minimumReleaseAgeBehaviour: timestamp-optional`. - `default.json`: the overrides rule description notes that CI's pnpm gate still holds a release under a day old. - `pnpm-workspace.yaml`: `minimumReleaseAge: 1440` made explicit (pnpm 11 default). - ADR 0023: dated amendment for the three night runs and rebasing. ## Why - The default `rebaseWhen: auto` rebases a conflict-free branch only when automerge or an up-to-date requirement applies. A pull request that failed for a transient reason (a registry rate limit) stayed red until someone rebased it. Several stayed red for days and went green on the first rebase. - A lock-file maintenance update has no release timestamp. Under `timestamp-required` its `renovate/stability-days` status stays pending. With `timestamp-optional` Renovate treats the missing timestamp as not pending (`checkMinimumReleaseAge` returns `isPending: false`), so the status is green. - An override or security pull request for a release under a day old fails CI's pnpm gate at creation. The rebase change heals it on a later run. ## Validated `renovate-config-validator --strict --no-global` in `renovate/renovate:43` (43.288.0) on `default.json`, `automerge-safe.json` and `renovate.json`: "Config validated successfully against 1 file(s)" for each. `pnpm renovate:validate` (renovate 44.236.5) passes. `pnpm install --frozen-lockfile`, prettier and markdownlint pass. ## CI load Each run rebases every open pull request that is behind main, and each rebase reruns CI. Bounded by `prConcurrentLimit` (6 per repo). Runs are at 00:30, 01:30 and 02:30, so a pull request is rebased at most three times a night. ## Watch after the next Monday run - Lock-file maintenance pull requests show `renovate/stability-days` green, not pending. - Open pull requests are rebased once per merge, not repeatedly. Runner queue length and rate-limit failures stay normal. - Renovate logs the `timestamp-optional` WARN for lock-file maintenance. This is expected. - Pull requests that were red from transient failures turn green.
supernaut lade till 6 incheckningar 2026-11-16 09:51:14 +00:00
supernaut sammanfogade incheckning c5049ace62 till main 2026-11-16 10:19:20 +00:00
supernaut tog bort grenen chore/renovate-preset-tuning 2026-11-16 10:19:20 +00:00
Logga in för att delta i denna konversation.
Inga granskare
Ingen milstolpe
Inget projekt
Inga tilldelade
1 deltagare
Notiser
Förfallodatum
Förfallodatumet är ogiltigt eller utanför gränserna. Använd formatet "åååå-mm-dd".

Inget förfallodatum satt.

Beroenden

Inga beroenden satta

Referens
bitborg/bitborg-docs!176
Ingen beskrivning angiven.