Repository navigation
ci-timing waits for unittest-vm too (fixes unittest-harness after #265) - #275
Merged
Merged
Conversation
#265 added the job unittest-vm and not to ci-timing's needs, and tools/ci_timing_check.py requires the report to wait for every other job: unittest-harness failed on every run since. unittest-vm runs on a schedule and on dispatch only. On other runs it is skipped, which ci-timing (if: always()) runs after, and the report counts as complete and successful with no unknown start delay: a test says so.
284km
commented
Nov 25, 2026
284km
left a comment
Owner
Author
There was a problem hiding this comment.
Reviewed 8c87d7b. No Critical / Major / Minor findings.
ci-timingnow listsunittest-vminneeds, sotools/ci_timing_check.py's check thatneedscovers every other job passes again. This is the unittest-harness failure that every PR's CI hit after #265.ci-timingruns withif: always(), so a push run that skipsunittest-vmstill produces the report. The new test pins that a skipped job leaves the report complete and successful, with no unknown start delay. On schedule and dispatch runs, the report now includesunittest-vm's time, which #265 wanted.- Ran
python3 tools/ci_timing_check.pyon this head's tree: 18 tests OK.git merge-treeagainst current main: clean.
This PR changes .github/workflows/ci.yml, so it waits for the owner's review before merge.
This was referenced Nov 25, 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.
#265 added the job
unittest-vmand did not add it toci-timing'sneeds.tools/ci_timing_check.py(test_report_waits_for_all_work_and_keeps_read_only_permissions) requires the report to wait for every other job, sounittest-harnessfails on every run since #265.The change
ci-timingneedsunittest-vmtoo.unittest-vmis skipped gives a report that is complete and successful, with no unknown start delay and no execution time for the skipped job.Why the job, and not an exception in the check
unittest-vmruns on a schedule and on dispatch only; on a push or a pull request it is skipped.ci-timinghasif: always(), so a skipped need does not skip it, andtools/ci_timing.pyalready reads a skipped job as one with no start delay and no execution (test_skipped_job_and_steps_have_no_execution), and counts it as done and successful (measured_jobs_successfulacceptsskipped). On the runs where it does run, the report waits for it and gives its time, which is the time #265 asked for.Checked
python3 tools/ci_timing_check.py -v: 18 tests, OK.ci.ymland this check: test_report_waits_for_all_work_and_keeps_read_only_permissions fails (unittest-vmin the jobs, not inneeds), as on CI.The other red on main (build-linux's headers_check on
capi/vendor/erb_escape.c) is #253's and is fixed by #273.🤖 Generated with Claude Code