Skip to content

ci: a stale validation report fails fast and only on a real change - #16

Merged
SMI-Lab-Inha merged 1 commit into
devfrom
ci/fast-validation-staleness
Nov 17, 2026
Merged

SMI-Lab-Inha merged 1 commit into
devfrom
ci/fast-validation-staleness

Conversation

@SMI-Lab-Inha

Copy link
Copy Markdown
Owner

Why

Pull requests #13–#15 failed CI even though every test job passed. The only failure was the committed validation report is current, for two reasons:

  1. The taxonomy lines also counted deselected tests. Lines such as analytical_sanity: 1153 passed, 3248 deselected recorded the rest of the suite as "deselected", so any test added anywhere changed the line and marked the report stale.
  2. The gate ran after the 45-minute coverage run. Each stale report therefore cost a second CI round of about an hour.

Change

Before After
Taxonomy line 1153 passed, 3248 deselected 1153 passed
Staleness check after coverage (about 45–55 min in) before coverage (about 15 min in)
  • Gate strength: the check is unchanged. A changed passed count, row value or status still marks the report stale.
  • Job names: unchanged, so the required checks still match.

Checks

  • run_validation.py --check passes locally on the new report. It still exits non-zero on the registered FAIL rows, as before; nothing is marked stale.
  • ruff check and ruff format --check are clean on the script.

The CI gate "the committed validation report is current" failed on most
pull requests although every test passed: the report's test-taxonomy
lines carried the deselected count, which is the rest of the suite, so
any added test marked the committed report stale. The gate ran after
the 45-minute coverage run, so each such failure cost a second
hour-long CI round.

- run_validation.py records the passed count of each taxonomy marker
  only; the report's three lines are updated to match.
- The workflow checks the committed report before the coverage run
  (about 14 minutes locally), in the same job, so the job name and the
  required checks are unchanged.

The local check passes on the new report (registered FAIL rows exit
non-zero as before; nothing is marked stale).

Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
@SMI-Lab-Inha

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-17T13:11:25.481072Z 685d9c6 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@read-the-docs-community

Copy link
Copy Markdown

Documentation build overview

📚 CableXSec | 🛠️ Build #35956656 | 📁 Comparing 685d9c6 against latest (240bf9c)

  🔍 Preview build  

17 files changed · ± 17 modified

± Modified

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Delightful!

Reviewed commit: 685d9c6b4d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@SMI-Lab-Inha
SMI-Lab-Inha merged commit aca0948 into dev Nov 17, 2026
12 checks passed
@SMI-Lab-Inha
SMI-Lab-Inha deleted the ci/fast-validation-staleness branch November 17, 2026 14:14
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