Add commcare_core_status_sha input for cross-repo CI#1766
Merged
dannyroberts merged 1 commit intomasterfrom Mar 18, 2026
Merged
Add commcare_core_status_sha input for cross-repo CI#1766dannyroberts merged 1 commit intomasterfrom
dannyroberts merged 1 commit intomasterfrom
Conversation
Allows the trigger workflow to send the merge commit SHA for checkout while reporting status on the PR head SHA separately.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1766 +/- ##
=========================================
Coverage 70.21% 70.21%
Complexity 2029 2029
=========================================
Files 257 257
Lines 7996 7996
Branches 761 761
=========================================
Hits 5614 5614
Misses 2099 2099
Partials 283 283 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
shubham1g5
approved these changes
Mar 18, 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.
Technical Summary
Adds a new
commcare_core_status_shainput to the cross-repo CI workflow dispatch.This allows the commcare-core trigger workflow to send the merge commit SHA
(
commcare_core_sha) for checkout — testing the same code commcare-core's ownbuild tested — while sending the PR head SHA (
commcare_core_status_sha) forreporting status back to the correct commit on the PR.
The status reporting step uses
commcare_core_status_shawhen provided, fallingback to
commcare_core_shafor backward compatibility.Cross-request: dimagi/commcare-core#1525
Safety Assurance
Safety story
Additive change — adds one optional input and adjusts which SHA is used for
status reporting. Existing behavior is unchanged when the new input is not provided.
Automated test coverage
CI infrastructure — validated by end-to-end testing.
QA Plan
Verified via cross-repo CI test runs.
Special deploy instructions
Rollback instructions
Review