Repository navigation
Restore automatic inference qualification for matching PRs - #206
Merged
Merged
Conversation
Contributor
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 31 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
2 tasks done
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.
Original problem
Inference-affecting PRs could merge without running Spark qualification.
inference.ymlselected the correct paths but skipped its plan unless the PR carriedqualify, then published success for that skip. Recovery PR #201 exposed this: its original qualification run was green with no native jobs.Matching PRs now automatically run the existing seven-configuration PR ladder on each head. Missing labels no longer disable qualification, and skipped qualification cannot satisfy
PR checks.Diagnostics
Run 45489845896 concluded
success, whileplanand the unexpanded matrix job wereskipped. Its API job metadata is preserved as an offline regression fixture. The changed aggregate rejects that exact result withInference qualification: plan: skipped.Fix
labeledtrigger. Matching opened, synchronized, reopened and ready-for-review PRs always enter existing protected admission; label changes no longer restart qualification.plan,summaryand every PR configuration in the protected ladder. Read each job's latest execution within that run, preserving successful jobs inherited by partial reruns while rejecting newer skips/failures.Workflow diagrams
Inference qualification — Before
flowchart TD PR[Matching PR: open, sync, reopen, ready, label] --> Label{qualify label?} Label -->|No| Skip[Skip plan and matrix] Skip --> Green[Summary publishes success] Label -->|Yes| Plan[Protected admission and source-bound plan] Other[Manual, nightly, reusable release] --> Plan Plan --> Matrix[Existing profile matrix on native JY] Matrix --> Evidence[Upload configuration evidence] Plan --> Nightly[Scheduled nightly publication only] Matrix --> Nightly Plan --> Summary[Summary validates results] Matrix --> Summary Nightly --> Summary Evidence --> Report[PR results comment] Summary --> ReportInference qualification — After
PR checks — Before
PR checks — After
flowchart TD Events[PR, producer start/completion, check, status] --> Protected[Protected controller validates live PR and routes] Protected --> Runs[Read latest exact-head producer runs] Runs --> Required{Required inference run?} Required -->|Yes| Jobs[Read run job history: latest execution per job] Jobs --> Roster[Require successful plan, summary and protected PR roster] Required -->|No| Accepted[Retain existing workflow result rules] Roster --> Checks[Check independent checks and statuses] Accepted --> Checks Checks --> Final[Recheck live head and acceptance criteria] Final --> Status[Publish PR checks]Validation
SKIPPY_PYTHON=/Users/jdumay/.paseo/worktrees/2f4aprt2/gorgeous-stingray/target/upgrade-repro/automation-venv/bin/python just ci-automation— passed: 147 Python tests, 73 Node workflow/controller tests, and shell report contracts. The interpreter supplies the repository's pinned reporting dependencies.actionlint .github/workflows/inference.yml— passed.git diff --check— passed./Users/jdumay/.paseo/worktrees/2f4aprt2/gorgeous-stingray/target/upgrade-repro/automation-venv/bin/python /Users/jdumay/.codex/skills/.system/skill-creator/scripts/quick_validate.py .agents/skills/manage-ci— passed.main; automatic unlabeled dispatch still requires live verification there. Existing PRs need a fresh matching event or rerun. This PR does not repair the independent failures now reported by Recover llama.cpp upgrade to 5bacb7c8 and fix runtime regressions #201's real qualification run.Acceptance criteria