Summary
A checked-in bash script that creates a complete end-to-end test harness in any GitHub repo (primarily dotCMS/core-workflow-test) for validating the AI release notes pipeline. Includes cleanup support.
Acceptance Criteria
Technical Details
File: .github/scripts/gather-release-data/test/create-test-harness.sh
Usage:
# Create test harness
.github/scripts/gather-release-data/test/create-test-harness.sh --repo dotCMS/core-workflow-test
# Tear down
.github/scripts/gather-release-data/test/create-test-harness.sh --cleanup --repo dotCMS/core-workflow-test
Expected test results:
| Test |
Expected |
v26.03.17-01 → v26.03.17-02 |
2 commits, 1 change (infra), 1 skipped, 0 rollback-unsafe |
v26.02.10-99 → v26.03.17-01 |
3+ PRs (feature, bug, rollback-unsafe), 1 rollback-unsafe |
Single-tag v26.03.17-02 |
Auto-detects v26.03.17-01 as previous |
Backfill with v26.03.17_lts_v01 |
Workflow skips (LTS tag filter) |
Backfill with dotcms-cli-26.03.17-01 |
Workflow skips (CLI tag filter) |
| Re-trigger with notes present |
Skips (idempotency check) |
Status: ✅ Implemented — test harness already created in dotCMS/core-workflow-test
References
Summary
A checked-in bash script that creates a complete end-to-end test harness in any GitHub repo (primarily
dotCMS/core-workflow-test) for validating the AI release notes pipeline. Includes cleanup support.Acceptance Criteria
featurelabel)buglabel)AI: Not Safe To Rollbacklabel)Changelog: Skiplabel)infrastructurelabel)v26.03.17-01after PRs 1-3,v26.03.17-02after PRs 4-5)v26.03.17_lts_v01,dotcms-cli-26.03.17-01)--cleanupflag tears down releases, tags, and branches--repoflag for targeting any repo (defaults to current)Technical Details
File:
.github/scripts/gather-release-data/test/create-test-harness.shUsage:
Expected test results:
v26.03.17-01 → v26.03.17-02v26.02.10-99 → v26.03.17-01v26.03.17-02v26.03.17-01as previousv26.03.17_lts_v01dotcms-cli-26.03.17-01Status: ✅ Implemented — test harness already created in
dotCMS/core-workflow-testReferences