[BUG]: Bazel tests won't run on develop CI #5407
Labels
bug
End user-perceivable behaviors which are not desirable.
Impact: High
High perceived user impact (breaks a critical feature or blocks a release).
Priority: Essential
This work item must be completed for its milestone.
Work: Medium
The means to find the solution is clear, but it isn't at good-first-issue level yet.
Describe the bug
#4929 introduced functional fixes for the
ComputeAffectedTests
script, and these seem to work fine in CI except for thedevelop
branch which is now failing: see failure for 24b1721:Steps To Reproduce
This isn't easy to repro because it seems that, from the error, the underlying problem has to do with how we now compute the base_commit_hash variable:
there is no
pull_request
when running CI outside of a PR's CI runs so it seems this SHA value is actually empty. This can be reproed approximately by running the command as though it were empty:(Notice the two spaces between the arguments).
This can only be reasonably verified by submitting a fix and ensuring that the CI run now passes.
Expected Behavior
CI runs should always run & pass on develop.
Screenshots/Videos
No response
What device/emulator are you using?
No response
Which Android version is your device/emulator running?
No response
Which version of the Oppia Android app are you using?
No response
Additional Context
It's not worth reverting #4929 since it's introducing an issue that only affects fully submitted PRs (meaning a fix-forward has the same likelihood of fixing/breaking develop as a revert + fix, but it requires less reviewing & merging and thus can hopefully be fixed more quickly).
The text was updated successfully, but these errors were encountered: