Repository navigation
Pre-release flow, step 1: tool commands (sync prerelease, sync release --from, source_commit records) - #142
Merged
Merged
Conversation
Two-hop release: staging -> per-PR pre-release project (QA runs there, staging stays writable) -> release project on merge. Multi-major release PRs, source_commit record in release.yaml, no sync-main lock. Signed-off-by: Ricardo Dias <ricardo.dias@percona.com>
Signed-off-by: Ricardo Dias <ricardo.dias@percona.com>
Signed-off-by: Ricardo Dias <ricardo.dias@percona.com>
Signed-off-by: Ricardo Dias <ricardo.dias@percona.com>
Signed-off-by: Ricardo Dias <ricardo.dias@percona.com>
Signed-off-by: Ricardo Dias <ricardo.dias@percona.com>
… order Signed-off-by: Ricardo Dias <ricardo.dias@percona.com>
Signed-off-by: Ricardo Dias <ricardo.dias@percona.com>
Signed-off-by: Ricardo Dias <ricardo.dias@percona.com>
Signed-off-by: Ricardo Dias <ricardo.dias@percona.com>
Signed-off-by: Ricardo Dias <ricardo.dias@percona.com>
Signed-off-by: Ricardo Dias <ricardo.dias@percona.com>
Signed-off-by: Ricardo Dias <ricardo.dias@percona.com>
Signed-off-by: Ricardo Dias <ricardo.dias@percona.com>
…nfig layers, osc release without --target-project, remote tag check, nightly QA skips release tier Signed-off-by: Ricardo Dias <ricardo.dias@percona.com>
Signed-off-by: Ricardo Dias <ricardo.dias@percona.com>
This was referenced Oct 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Tool half (rollout step 1) of the two-hop release flow designed in
docs/superpowers/specs/2026-10-13-prerelease-project-release-flow-design.md.
The CI workflows (step 2) follow in a separate PR; until then CI keeps running
the single-hop
sync releaseon merge, and the new commands are available formanual and rehearsal use.
release.yaml: entries may now be{tag: ..., source_commit: <sha>}mappings (
percona_obs/release_record.py); string entries keep workingeverywhere, including
PPG_RELEASE,update_version_lists.pyand theobs-pr-cleanup tag reader.
project release: recordssource_commit(last sync-main run with greensync jobs, via
gh, or--source-commit), refreshes an open release id inplace (tag absent locally and on the remote), and carries the staging
qa:blocks into the release mirrors with macros rendered.
sync prerelease <releases-project> --branch-from <profile>(hop 1):record check (staging paths,
_shared/link targets and inherited configlayers identical between
source_commitand synced main), pre-releasemeta from the mirrors with publish forced on, drain/green/freeze, copy,
verify, restore,
source_commitmarker in the project descriptions.sync release <releases-project> --from <pre-release>(hop 2): no freeze,no git divergence check, marker must match the tagged entry, subprojects
come from the mirror tree, copy via the shared
release_copy.py.sync releasewithout--fromis unchanged in behaviour (refactored ontorelease_copy.py; the freeze sequence is now_run_frozen).list_qa_matrix.pyskips:releases:projects when enumerating aproduction root so the nightly does not re-test frozen release snapshots.
Not in this PR / open
qa:lanes (package.yaml, pg_stat_monitor/pg_tde) are notcarried into the mirrors, so release QA on the pre-release skips them.
Needs a design decision before step 2.
obs-release rewrite, sync-main lock removal (spec §3).
Testing
614 tests, black, pyright 0 errors. No live OBS run yet (dev OBS offline);
the labs rehearsal is planned with step 2.