Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 28 additions & 3 deletions docs/tooling/renovate.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ Renovate opens a pull request for each alert it can fix.
section that Client repositories require. It also tracks dependencies
pinned in PEP 723 `# /// script` blocks in any Python file, including under
`tests/`, which `config:recommended` otherwise skips; Renovate's `pep723`
manager matches no files unless a config names them. Pull requests
land through the merge train after an agent's review, like any engineering
change.
manager matches no files unless a config names them. Pull requests land
through the merge train. Qualifying signed dependency updates can enter
automatically, and updates that need agent review use checked Ready.
- [`renovate/devkit-pin.json`](../../renovate/devkit-pin.json) moves a
consumer's exact odoo-devkit pins, in `workspace.toml` and in workflow
`uses:` references, to the head commit of devkit `main`
Expand All @@ -33,6 +33,31 @@ Renovate opens a pull request for each alert it can fix.
digests identify the same producer run in their manifest annotations. The two
stable tags are promoted separately.

## Landing product pins

Before marking a dependency update Ready, read the product's current release
record and check whether an exact build is waiting for a person. When the
release seat is preparing that handoff, coordinate with it and post a
[waiting handoff](https://github.com/cbusillo/launchplane/blob/main/docs/merge-train-policy.md#ready-handoffs)
on the product's open dependency update PRs. Start each trusted PR comment
with this line.

```text
Engineering ready; waiting for the release seat to confirm the exact-build attempt ran.
```

Apply the same wait as new proposals and refreshed heads appear, including
updates that qualify for automatic admission. Verify the train shows the wait.
If a candidate is already in the train, reconcile its current state with the
release seat. If a landing has already started, check which build remains
eligible for the release attempt after it finishes.

Keep the wait until the release seat confirms that the release attempt ran
and records its candidate and result in the release issue. A release approval
or elapsed time leaves the wait in place. Then check the current PR heads
and resume through the normal checked handoff. Renovate continues proposing
updates, and other products continue through their normal train.

## Repository Config

A repository with dependencies to keep current has a root `renovate.json`
Expand Down
3 changes: 3 additions & 0 deletions renovate/devkit-pin.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"description": "Updates exact devkit and Odoo 20 shared-addons commits and paired Community base image digests.",
"prBodyNotes": [
"## Landing\n\nBefore marking this dependency update Ready, [check the product's current release](https://github.com/cbusillo/odoo-devkit/blob/main/docs/tooling/renovate.md#landing-product-pins)."
],
"customManagers": [
{
"customType": "regex",
Expand Down