Repository navigation
Conversation
…referenced on the PRs actions/integration (sync, verify, report, comment), a reusable integration-build.yml that verifies before it builds and comments once per participating PR, a workflow template, and docker-build-push.yml gains a `target` input and a `digest` output (backward compatible). Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…it sha The core (plan, sync, verify, glue classification, build) is validated first. The comment command, job, secret and tests are removed from this PR. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
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.
Org-level tooling for integration branches ("bags of PRs" used to test several unmerged PRs together), replacing the proposal in sirosfoundation/sirosid-dev#90 and sirosfoundation/sirosid-dev#91 (which depended on sirosid-dev; they would be closed). This repo says changes here need discussion before merging: please do not merge until agreed; nothing runs until a repository adopts the template.
What
actions/integration/(composite action +integration.py, Python stdlib + PyYAML): anintegration/<name>branch is generated from a plan committed in the branch (.integration/plan.yaml: base, orderedmerge/rebase/gluesteps,ephemeral, and thelockedheads written bysync).verifyreplays the locked plan and requires an identical tree (ignoring.integration/), so a hand edit, a patch commit, a conflict resolved by hand or a change hidden in a merge cannot be on the branch.reportandcommentread the plan.verifyclassifies them: resolution-only (every added line already exists in the tip before it, the base or a plan PR head: no review needed) or new code (lines found nowhere else: needs a draft PR and review)..github/workflows/integration-build.yml(reusable): verify, then build throughdocker-build-push.yml(Buildx, cache, Trivy), tag<branch>-<sha7>; the digest is in the run output. PR cross-reference comments are parked for a follow-up (the comment command, job and secret were removed from this PR so the core can be validated first).workflow-templates/integration.yml:on: push: branches: ['integration/**'].docker-build-push.yml: new optionaltargetinput and adigestoutput (backward compatible, both default to the old behaviour).docs/integration-branches.md+ README link;.github/workflows/integration-tests.ymlruns the tests and actionlint.Tests
actions/integration/tests/test_integration.py(14, real git repositories; the "remotes" are local repos withrefs/pull/N/head): sync + verify; a patch commit and a change hidden in a merge fail; verify replays the locked heads when a PR has moved; a pinned moved head is refused; a conflict stops the sync and demands a glue step; glue classification (resolution-only vs new code); rebase steps (applies / refused when it does not apply); report from the plan with no API; legacy verify. Mutation checks: disabling the tree comparison fails the patch and hidden-change tests; disabling the novelty check fails the new-code test.actionlintis clean.Validated on real data (2026-10-22)
The engine branch deployed on gdc (
46c2e4f, sirosfoundation/go-wallet-backend#469, sirosfoundation/go-wallet-backend#471, sirosfoundation/go-wallet-backend#163, sirosfoundation/go-wallet-backend#472 plus local commits and hand resolutions): a plan of two clean PR merges plus one glue step reproduces its tree exactly (the regenerated tree equals46c2e4f's). Pairwise, #163 conflicts with #469 and #471, and #472 conflicts with #469 and #471 (#469+#471 and #163+#472 merge cleanly), which is why the deployed branch needed hand resolutions. The glue classification finds 279 lines in 7 files that exist in no PR - 216 in tests, 52 inwmphandler.go(the WMP sign-params glue), 6 inoid4vp.goand 5 inoid4vci_blind_response.go(the sign-refusal fix) - i.e. the two local-only commits; the hand-resolved conflicts insession.gocontribute no new lines (resolution-only), as the go-wallet-backend session said.Not covered / decisions needed
integration-build.ymlcallsactions/integration@mainanddocker-build-push.yml@main(like the other org workflows); pinning is a follow-up.🤖 Generated with Claude Code