Skip to content

feat(validation): sync CommonalitiesTest regression branches from Commonalities main - #435

Merged
hdamker merged 1 commit into
camaraproject:mainfrom
hdamker:feat/commonalitiestest-regression-pipeline
Aug 28, 2026
Merged

feat(validation): sync CommonalitiesTest regression branches from Commonalities main#435
hdamker merged 1 commit into
camaraproject:mainfrom
hdamker:feat/commonalitiestest-regression-pipeline

Conversation

@hdamker

@hdamker hdamker commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

What type of PR is this?

enhancement/feature

What this PR does / why we need it:

Adds a tooling-owned pipeline that keeps a dedicated CommonalitiesTest regression repository's regression/* branches in sync with Commonalities main and sweeps them for validation-rule regressions. Each run diff-checks Commonalities main against what's already synced; when code/common/ changed, it syncs it and cherry-picks the same commit onto every regression branch, and when the templates changed it regenerates one branch's API templates, then runs the existing regression-runner sweep against all of them. validation-regression.yml now also calls this pipeline, forced, on its existing regression-canary trigger.

  • Automates a sync/cherry-pick/sweep loop that so far only existed as a one-time, hand-run bootstrap.
  • Extends the tooling-push regression signal (catch a rule regression before release) to CommonalitiesTest, not just ReleaseTest.
  • No new automation code needed in CommonalitiesTest itself.

Which issue(s) this PR fixes:

Fixes #

Special notes for reviewers:

New workflow files can't be exercised via workflow_dispatch until merged to main; validated locally with pytest (new unit tests on the diff/copy logic) and actionlint. The job that writes to CommonalitiesTest (diff, sync, cherry-pick, template regen) mints a camara-release-automation App token rather than camara-validation's, since the validation App currently has no contents permission.

Changelog input

 release-note
Add a tooling-owned pipeline to keep CommonalitiesTest's regression branches synced with Commonalities and swept for validation-rule regressions.

Additional documentation

This section can be blank.

docs

…monalities main

Adds a tooling-owned pipeline: diff-check Commonalities main, sync
code/common/ to CommonalitiesTest's main, cherry-pick that commit onto
every regression/* branch, regenerate the mirror branch's templates, then
sweep for a fixture deviation. validation-regression.yml now also calls
it, forced, on its existing regression-canary trigger.
@hdamker
hdamker marked this pull request as ready for review August 28, 2026 16:44
@hdamker
hdamker requested review from Kevsy and rartych as code owners August 28, 2026 16:44
@hdamker
hdamker merged commit c2ce31c into camaraproject:main Aug 28, 2026
8 checks passed
@hdamker
hdamker deleted the feat/commonalitiestest-regression-pipeline branch August 28, 2026 16:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant