Skip to content

smoke-test: nightly stores its durations cache though tested-tree is skipped (Part of #5133) - #6629

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
churn/5133-20261025T1103Z
Oct 25, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/5133-20261025T1103Z

Conversation

@squid-protocol

@squid-protocol squid-protocol commented Oct 25, 2026 •

Copy link
Copy Markdown
Owner

Part of #5133 (slice 8).

The slice's precondition (a calibrated cache written by the nightly) cannot be met: nightly 40179743618 completed green but store the suite's durations was skipped, so the only durations cache is still test-durations-38247246921 (2026-10-12). Cause: the job's if was github.event_name == 'schedule' && success(); job-level success() is false when any ancestor in the needs chain was skipped, and the push-only tested-tree is skipped on schedule. Fix: !cancelled() && github.event_name == 'schedule' && needs.full-suite-part.result == 'success'.

Class / Sibling gaps

Class: a job-level if that uses the implicit or bare success() while a skipped-by-event job (push-only tested-tree, PR-only jobs) sits in its needs ancestry, so the job is skipped on the event it was written for. Members swept across .github/workflows/*.yml (grep of every success()):

Member Status Evidence
smoke-test.yml full-suite-durations (job if) handled here condition rewritten; test_smoke_test_concurrency.py evaluates it for schedule / push / PR / failed parts
smoke-test.yml two steps if: github.event_name == 'schedule' && success() (lines ~383, ~389) not a member step-level success() only looks at earlier steps of the same job, not the needs chain
any other workflow job-level success() none found grep of .github/workflows returned only the three lines above

Sibling gaps: none: every member handled.

Rest of the change

  • docs/ci.md: slice 8 paragraph. The part balance is still unmeasured; calibrate_test_durations.py is unchanged (retune only if max/min > 1.2).
  • Workflow reach/cost: no new job; only the condition of a schedule-only job, so zero PR/push runner-minutes.
  • Remaining slice: after the next nightly stores test-durations-<run id> and 3+ main push runs restore it, run python tests/tools/ci_part_balance.py --latest 8, retune only if max/min > 1.2, record in docs/ci.md.

Checklist: partial -- balance not measurable until the next nightly stores a cache and 3+ main push runs restore it, then ci_part_balance.py --latest 8.

Lessons for agents

  • A job-level if: ... && success() in a workflow is false when ANY ancestor in needs was skipped (not just direct needs): use !cancelled() && needs.<job>.result == 'success'.

🤖 Generated with Claude Code

…skipped (Part of #5133)

full-suite-durations used a bare success(), false under the skipped push-only tested-tree ancestor, so the green nightly 40179743618 stored no cache.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 25, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review October 25, 2026 11:10
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) October 25, 2026 11:10
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-shepherd
squid-shepherd Bot merged commit 6054801 into main Oct 25, 2026
64 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/5133-20261025T1103Z branch October 25, 2026 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant