Skip to content

fix(ci): surface failed Future Clippy instrumentation - #7309

Merged
EffortlessSteven merged 1 commit into
mainfrom
codex/7307-future-clippy-instrumentation
Oct 11, 2026
Merged

EffortlessSteven merged 1 commit into
mainfrom
codex/7307-future-clippy-instrumentation

Conversation

@EffortlessSteven

@EffortlessSteven EffortlessSteven commented Oct 11, 2026 •

Copy link
Copy Markdown
Member

Landed Result

Normal protected squash merged this PR on 2026-10-11 at 03:24:04 UTC as 3865a4d07e28c67be720c32692ed9896875bfda9, parent d64615529216153eedcd10ba64e4580aa1026ea1. Main/PR/issue readback and all six owned blob identities are verified; #7307 is closed with acceptance recorded. Final author COMMENT review 5481723841 is published and bound to reviewed head.

Automatic main Future Clippy 38108256535, job 114378249855, also succeeded: actual 369 compiler-artifact records, final successful Cargo completion, 2m53s, summary and upload. Artifact11690990831 records two-file upload, 25,403 bytes, digest f5c91dbb054e0ca32832a6ab2ebe3183da8f9d1e41b685ad4c176fb68c8f55f7; its physical bytes and rendered summary remain unread through the blocked download transport. Automatic postmerge Routed run38108256594 remains in flight; no duplicate run was requested. This lands only the scoped instrumentation repair and makes no release-readiness claim.

Summary

Future Clippy installed Rust 1.95.0 but invoked the distinct 1.95 Rustup alias, then masked any failure with || true. Run 38100863852, job 114356338776, reported success without a Clippy scan. This repair pins setup, invocation, and cache identity to 1.95.0, keeps the ten selected lint findings advisory, and fails the advisory job when its instrumentation fails or lacks current scan evidence.

Fixes #7307. Parent: #1029. CI economics and measurement follow-ups remain #4987 and #5090.

Swarm / Source Boundary

  • Swarm-only CI and agent-operating surface in EffortlessMetrics/ripr-swarm.

Source-of-truth Links

Governing issue: #7307. Current workflow contract: docs/CI.md; lint trajectory: policy/clippy-lints.toml. This is a narrow instrumentation repair, not a deferred-lint promotion.

Acceptance delta: a missing component, failed compilation/log capture, or incomplete current Cargo scan cannot appear as a completed successful scan.

Candidate Relationships

Scope / Classification

  • One production behavior: honest Future Clippy scan completion.

Production records both pipeline statuses, requires Cargo artifact and final successful JSON completion evidence, and binds status/summary to source SHA, run ID, and attempt. Logs/status upload and summary run even after failure. Missing artifacts are an error.

Support changes: five workflow-backed regression tests, two bounded policy ledger entries, CI documentation, and changelog. No production Rust, dependency, routing, permission, cadence, concurrency, label, required-check, or lint-policy change.

Acceptance Matrix

Condition Expected result Local evidence
Selected lint warning with real scan Successful advisory scan Official Rust 1.95.0 real fixture; manifest-denied duration lint overridden by existing explicit -W; Cargo/tee 0, completion recorded
Clippy component missing Failed instrumentation Separate official minimal 1.95.0 install without Clippy; Cargo 1, tee 0, native step 1, no completion
Compile failure, empty/truncated scan, late failed completion, or tee failure Failure; no reused success Exact production block harness negative controls
Missing or stale source/run/attempt evidence Summary says scan unavailable Exact production summary block harness

Support-tier / Policy Impact

  • Changes a CI claim and advisory lane instrumentation.
  • Workflow and test-only process ledger entries.

The existing workflow shell allowance is bounded to 17 lines with #7307 rationale. The Linux test-only process allowance runs extracted production blocks in an owned temporary fixture with a 20-second timeout and no network. No new non-Rust programming file was introduced.

Proof

Pinned Rust 1.95.0, admitted owned worktree/target/toolchain/proof resources, two build jobs:

cargo xtask worktree doctor                         PASS baseline
cargo xtask check-fast                              PASS baseline, zero changed paths
cargo check -p repo-policy --all-targets --locked     PASS baseline
cargo test -p repo-policy --all-targets --locked      PASS final committed head: 48 tests, none ignored/filtered
cargo clippy -p repo-policy --all-targets -- -D warnings  PASS
cargo xtask check-process-policy                    PASS
cargo xtask check-workflows                         PASS
cargo xtask precommit                               PASS native exit 0, six staged files exactly committed
cargo xtask check-fast                              PASS resumed ordinary command, native exit 0, 14 gates, stable selector: six changed paths

The original task-owned timeout 360s attempt returned 124 without final reports. Fresh execution and process/resource settlement were verified, admission was refreshed, and the ordinary documented command completed successfully. No repository timeout, check, or selector policy changed; the new native exit and completed reports qualify this run, not its cache state. The stable six-path selector matches an independent successful Git diff; Rust/workflow/policy categories ran, with only fixture contracts skipped because no fixture path changed.

Precommit passed the repository policy floor and strict all-target Clippy for repo-policy and xtask. Its staged receipt is anchored to base HEAD with six staged changes; those bytes are the exact committed candidate. Both real production-block probes were rerun after commit and record the candidate SHA plus local run/attempt identity. Intended red controls exposed the predecessor's masked missing component and stale summary before repair.

The required native Ready run 38105480163 completed successfully on this published head. Hosted Rust job 114370038984 passed every applicable gate, including strict workspace Clippy, nextest, doctests, goldens, fixtures, verdict corpora, and PR evidence. Its direct terminal log reports 14,243 tests run, 14,243 passed, 22 slow, two skipped, 68 binaries, executor duration 1091.599s; all five new regression tests passed. The two nextest skips are explicit fixture-regeneration and child-entry helpers. The required Ripr Rust Small Result check 114376186095 completed successfully at 03:11:05 UTC. Test artifact 11690038718 (ripr-rust-small-github-nextest-1, 477,004 bytes, SHA256 8854437c788aa03b9f26ce8599ca7aba23e991c005b3742fd9a5e491f1e1e0a0) was successfully uploaded.

Actual Future Clippy 38105557245, job 114370224781, passed setup, full workspace scan, summary, and upload. Independent log inspection found 369 nonfresh compiler-artifact records, the tested merge build identity, and final successful Cargo JSON completion; Clippy finished in 2m49s. Artifact 11689990964, ripr-future-clippy, has verified two-file upload metadata (25,448 bytes; SHA256 c896104b99c07b850c775336eccdb6c272d6570150e1bd85439ea676539e06ea).

Physical artifact ZIP/status/JUnit bytes and the rendered hosted step-summary body remain uninspected: the official file download is blocked by this execution environment's proxy (403). Actual logs/native step outcomes, reviewed enforcement, upload receipts, run/head identity and artifacts establish this narrow completed-scan claim; metadata is not represented as byte inspection. manual_pop_if is visibly unsupported by 1.95.0 and disallowed_fields has no configured protected fields. Completion does not establish support or subjects for every planned lint.

Claim Boundary

This candidate establishes honest Future Clippy instrumentation with completed local controls and actual hosted workspace qualification. It changes no required gate or deferred-lint promotion. Current main integration movement is accounted for above. Release qualification, package acceptance, and every-lint readiness remain separate claims.

Rollback

Revert this six-file commit through normal reviewed CI. The rollback surface is the advisory workflow and its tests/docs/ledger entries; no settings, branch protection, release surface, or package schema must change.

Spec-Test-Code Traceability

  • Contract: fix(ci): report failed Future Clippy instrumentation honestly #7307 and docs/CI.md.
  • Tests: tools/repo-policy/tests/future_clippy.rs, extracting the actual workflow blocks.
  • Code: .github/workflows/future-clippy.yml.
  • Metrics: recorded native exits, artifact/completion evidence, source/run/attempt binding; full-lane cost is not measured here.

CI Economics

  • LEM impact: failures now identify missing instrumentation; selected lint findings remain advisory.
  • Workflow touched: future-clippy.yml only.
  • Branch protection / required lanes: unchanged.
  • Failure caught: false success from wrong toolchain alias, masked failure, missing output, failed tee, or stale summary.
  • Cheaper signal: bounded extracted-block harness and two zero-dependency real probes; no duplicate release CI or manual hosted scan.
  • Advisory lane: same trigger/routing/cadence and compile scope; adds small local status/evidence checks.
  • On-demand/release lanes and behavior labels: unchanged.
  • Artifacts: existing ripr-future-clippy now includes log plus status; missing files fail upload.
  • Cost observation: required local precommit warmed unrelated named test binaries; final check-fast selects workspace all-target Clippy for this tooling-only Rust test. No full product runtime suite was executed. Efficiency ownership remains ci(cost): execute the applicable proof plan at merge-queue qualification #4987/ci(durations): measured matrix table — routed gates 34.6 min (nextest ~50%), ~55 min/PR-event parallel advisory legs, self-hosted legs skip 16/16 #5090.

Gates

The proof list above is authoritative. The native required Rust lane owns the broad hosted qualification. No duplicate local runtime suite was started. Ready and the documented clippy-future opt-in produced the two qualifying runs above. Normal protected squash merge follows current-head substantive review. No release dispatch, registry publication, or global configuration change is part of this repair.

Current Published-head Inspection

Reviewed head: d2fe14b14566a45680a0481efeb0327b31b4278e. Full six-file source, semantic-owner/consumer, extracted production shell, policy/process/security, documentation, stimulus/oracle and deliberate wrong-behavior review remains current. Final hosted logs, step outcomes, denominators, artifact identity, current main delta, reviews and threads were refreshed. No blocking source, contract, oracle or integration defect was identified.

Automated review 5481677079 is triaged explicitly: instrumentation failure turning the advisory job red is the intended #7307 acceptance, documented in workflow/docs; no concrete incompatible badge/dashboard consumer was identified. The parser reuse question is refuted by existing repo_policy::extract_workflow_run_blocks at lib.rs:1706, used in production workflow policy (429/502), prior workflow_tests.rs:17 and ci_scratch/tests.rs:468, and xtask. Its unspecified deterministic-model/actionlint exit1/ripr exit2 reports remain not established sensor evidence gaps; no actionable diagnostic receipt was available. Native workflow policy and actual required PR evidence passed. ub-review's successful check had advisory enforcement OFF and is not a clean review; quota/rate-limit/queued/skip provider signals supply no substantive review. Independent exact-head inspection supplies the substantive review.

The explicit COMMENT inspection record binds the final disposition and remaining transport/sensor limitations. Neither zero inline threads nor aggregate green statuses stand in for review.

@gemini-code-assist

Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@coderabbitai

coderabbitai Bot commented Oct 11, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

The included review limit has been reached and this organization has disabled usage-based review continuation. Wait for reviews to reset or ask a billing admin to change After included review limits.

Next included review available in 20 seconds.

Check out review usage here.

View limit details

Limit details: You’ve used all 10 included reviews currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 0fcadd98-c621-46e6-89a0-90e05c704f06

📥 Commits

Reviewing files that changed from the base of the PR and between 5444a40 and d2fe14b.


📒 Files selected for processing (6)
  • .github/workflows/future-clippy.yml
  • changelog.d/7307-future-clippy-instrumentation.md
  • docs/CI.md
  • policy/process_allowlist.txt
  • policy/workflow_allowlist.txt
  • tools/repo-policy/tests/future_clippy.rs

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

@EffortlessSteven
EffortlessSteven marked this pull request as ready for review October 11, 2026 02:32
@gemini-code-assist

Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@EffortlessSteven EffortlessSteven added the clippy-future Run future or candidate Clippy lint lanes in advisory mode. label Oct 11, 2026 — with ChatGPT Codex Connector

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Decision

  • Needs reviewer attention before upstream: findings remain.

Confirmed findings

  • Future Clippy now fails the advisory job on instrumentation failure. If callers rely on the run as a green signal without reading the job summary, behavior changes from 'never fails' to 'can fail on missing component/compile/tee/log'. docs/CI.md and the workflow comment were updated, but downstream consumers (status badges, dashboards) may not know.

Verification questions

  • Confirm extract_workflow_run_blocks helper is the canonical YAML run-block parser used by tests/future_clippy.rs and at least one prior test; fixture harness reuses it consistently.

Evidence gaps

  • Model proof intent was rejected by deterministic validation.
  • actionlint reported exit 1; status-only sentinel, not an actionable defect here, but no receipt explains which rule fired.
  • ripr failed exit=2 against the same diff; missing receipt for what specifically regressed.

@EffortlessSteven EffortlessSteven left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reviewed_head_sha: d2fe14b
integration_basis: tested merge ebb6c03 (5444a40 + reviewed head); current main d646155.
claim_boundary: #7307 honest Future Clippy instrumentation; selected warnings remain advisory. No Cargo lint promotion, required-gate change, or release claim.
changed_surfaces_and_semantic_owners_inspected: all six committed files, exact workflow setup/invocation/cache, native pipeline statuses, Cargo completion/log receipt, SHA/run/attempt summary, always-upload; canonical extraction/test consumers, shell/process/network/security/platform policy, docs/changelog and two bounded ledger registrations. Independent reviewer refreshed source/oracle and hosted/integration dimensions at 03:14:57 UTC.
blocking_findings: none.
non_blocking_suggestions: Future lint-support/configured-subject readiness and CI economics remain separate governed work.
refuted_or_stale_findings: review5481677079 instrumentation-error red is the governing accepted behavior, explicitly documented. No concrete incompatible consumer found. Canonical helper question refuted: repo_policy lib.rs:1706, production policy429/502, prior workflow_tests.rs:17 and ci_scratch/tests.rs:468, xtask main5044/tests9536/product_gate_plan980 reuse the existing parser.
proof_and_ci_observed: official Rust1.95.0 real positive and missing-component negative controls; deliberate predecessor masked-failure/stale-summary controls RED before repair; 48 owner tests; staged precommit native0; ordinary check-fast native0/all14gates/stable6path selector. Hosted Future38105557245/job114370224781 SUCCESS: actual369 nonfresh compiler-artifact records, final build-finished success, 2m49s, summary/upload successful; artifact11689990964 two files/25448bytes/digestc896104b99c07b850c775336eccdb6c272d6570150e1bd85439ea676539e06ea. Required nativeReady38105480163/job114370038984 SUCCESS, completed official log14,243passed/22slow/2intentionalnextestskips/68binaries/1091.599s; allfive regression tests pass. Policy, strictClippy, doctests, goldens, fixtures, corpora, PR evidence pass. Final Ripr Rust Small Result114376186095 SUCCESS03:11:05 with github/non-docs/selectedimplementation-success inputs. Nextestartifact11690038718 uploaded477004bytes/digest8854437c788aa03b9f26ce8599ca7aba23e991c005b3742fd9a5e491f1e1e0a0. Alternatives/docs routes skipped supply no executed proof.
proof_or_review_missing: direct ZIP/status/JUnit archive bytes and rendered hosted summary unavailable via official download proxy403. Missing model-proof/actionlint1/ripr2 detailed receipts are NOT_ESTABLISHED sensor gaps, not established source defects. ub-review had enforcementOFF; green != clean substantive review. Quota/rate-limited/queued/skipped provider results are missing reviews. Independent source/oracle/hosted review supplies substantive evidence; no conclusion depends on unread archive bytes.
affected_currentness_dimensions: exact published head unchanged; remote jobs/reviews/artifacts and main integration refreshed. Since hosted base, #7302/#7301 change only five unrelated tests/traceability/changelog paths, inspected by root and independent reviewer, no owned overlap/production/workflow/dependency/toolchain/policy change/conflict. No restack or duplicate unchanged-head CI warranted. Hosted ebb proof does not qualify newer main tests.
residual_assumptions_and_non_claims: actual successful reviewed scan guards enforce cargo0/tee0/current scan_completed; that is execution inference, not direct status-file byte inspection. manual_pop_if unsupported1.95.0, disallowed_fields no configured subjects, no every-lint readiness claim. Empty thread list and aggregate green are not review. No release qualification.
disposition: REVIEW_READY

This is an author COMMENT inspection, not an approval. Normal protected expected-head squash is permitted by the earned current-head disposition; protections remain authoritative.

@EffortlessSteven
EffortlessSteven merged commit 3865a4d into main Oct 11, 2026
46 of 48 checks passed
@EffortlessSteven
EffortlessSteven deleted the codex/7307-future-clippy-instrumentation branch October 11, 2026 03:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

clippy-future Run future or candidate Clippy lint lanes in advisory mode.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(ci): report failed Future Clippy instrumentation honestly

1 participant