Skip to content

Smoke full suite follows the suite plan: skip / select / full (Part of #6278, slice 4) - #6299

Merged
squid-protocol merged 2 commits into
mainfrom
churn/6278-20261023T2214Z
Oct 23, 2026
Merged

squid-protocol merged 2 commits into
mainfrom
churn/6278-20261023T2214Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #6278 (item 3, slice 4): wire tests/tools/suite_select_plan.py (#6295) into the Smoke workflow.

Owner decisions

Issue #6278, checklist [c:2c9c72d8]. Owner OK (2026-10-23): TOP PRIORITY; workflow edits approved for this issue. This item has allow_workflows.

What changed

  • .github/workflows/smoke-test.yml: new suite-plan job (non-draft PRs only; file list from the PR API as the ReDoS plan does, fails open to full).
    • skip: durations and every full-suite-part are skipped; full-suite (required) reports success only for a skipped part when the plan said skip (or the existing tested-tree gate).
    • select: every part still runs and reports; part 1 runs pytest <paths> (same marks / --timeout / ignore of test_evidence_components.py, no pytest-split), parts 2-3 skip the pytest, time-ratchet and upload steps. The --ignore=tests/cobol_mainframe PR addopt is not set in select (a register doc's reader is tests/cobol_mainframe). suite-time runs only for full / empty (a select run has partial times).
    • full, push, schedule, dispatch (the plan job does not run, the output is empty): unchanged.
  • PR paths-ignore: ["docs/**"] on smoke-test: there was none on the pull_request trigger already (only on push, kept); a test pins both.
  • Tests: test_suite_select_plan.py pins the plan step, skip/select/full wiring and the trigger; test_sweep_plan.py updates full-suite's needs.

Replay (planner, --files)

  • Weekly agent retro 2026-10-23b (Part of #5399) #6245's files (.claude/agents/gitgalaxy-pr-worker.md, .claude/rules/python-test-traps.md, .claude/rules/test-writing.md, .claude/skills/det-port/SKILL.md): select, not skip (10 readers: test_workflow_inputs, test_sweep_plan, test_post_merge_dispatch, ... because tests name those files). Skip does not occur today for any real doc: whole-tree readers enumerate them (pinned in test_today_every_doc_is_read_by_the_enumerating_tests).
  • docs/language_status/register/x.md: select, 21 readers incl. tests/cobol_mainframe, test_generated_docs.py, test_register_audit.py.
  • gitgalaxy/core/detector.py: full.

Class / Sibling gaps

Class: PR-triggered workflows that decide how much to run from the changed-file class. Done: smoke-test full-suite. Sibling gaps: .github/workflows/gitgalaxy.yml keeps paths-ignore: ["docs/**"] (the classifier cannot decide for it without a plan job of its own; 5-file budget); full-suite-gate.yml matrix (labelled-only) not planned. Remaining slices (#6278 items 4-6) untouched.

Not run locally: the workflow itself (no Actions runner); layout tests and yaml parse only. First real proof is this PR's own run (a .github change: expect full).

🤖 Generated with Claude Code

@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 23, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol marked this pull request as ready for review October 23, 2026 22:36
@squid-protocol
squid-protocol enabled auto-merge (squash) October 23, 2026 22:37
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-protocol

Copy link
Copy Markdown
Owner Author

PR #6299 @ 901968a: 2 failed check(s)

== full-suite (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/40034726187/job/120692894805
repro: python -m pytest -q tests
errors:
##[error]Process completed with exit code 1.
log tail:
Commit: f3dc54e1fb89da6852db922499a0233137369e1d
Build Date: 2026-10-12T17:48:21Z
Worker ID: {3e2663a6-d6f9-4a82-b07e-fe42f27b5fd9}
Region: westus3
Cloud: Azure
##[endgroup]
##[group]Operating System
Ubuntu
24.04.5
LTS
##[endgroup]
##[group]Runner Image
Image: ubuntu-24.04
Version: 20261012.334.1
Included Software: https://github.com/actions/runner-images/blob/ubuntu24/20261012.334/images/ubuntu/Ubuntu2404-Readme.md
Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu24%2F20261012.334
##[endgroup]
##[group]GITHUB_TOKEN Permissions
Contents: read
Metadata: read
##[endgroup]
Secret source: Actions
Cache mode: write
Prepare workflow directory
Prepare all required actions
Complete job name: full-suite
##[group]Run echo "full-suite parts: $PARTS (tested-tree skip: $SKIP, suite plan: $PLAN)"
echo "full-suite parts: $PARTS (tested-tree skip: $SKIP, suite plan: $PLAN)"
# #4935: "skipped" is a pass only when the gate proved this tree green on the PR; otherwise it is a failure.
# #6278: or when the suite plan proved the PR changes only prose no test or engine code opens (mode skip).
test "$PARTS" = "success" || { test "$PARTS" = "skipped" && { test "$SKIP" = "true" || test "$PLAN" = "skip"; }; }
shell: /usr/bin/bash -e {0}
env:
PARTS: failure
SKIP:
PLAN: full
##[endgroup]
full-suite parts: failure (tested-tree skip: , suite plan: full)
##[error]Process completed with exit code 1.
Cleaning up orphan processes

== full-suite part 1/3 (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/40034726187/job/120691411829
repro: python -m pytest -q tests/core_engine/test_workflow_draft_gate.py::test_heavy_pr_workflow_skips_drafts[smoke-test.yml]
failing tests: tests/core_engine/test_workflow_draft_gate.py::test_heavy_pr_workflow_skips_drafts[smoke-test.yml]
errors:
fail-on-cache-miss: false
[--ai-guardrails] [--fail-on-secrets]
[--fail-on-malware]
--fail-on-secrets CI/CD Gate: Fail build if hardcoded secrets are
--fail-on-malware CI/CD Gate: Fail build if ML threat inference flags
CI/CD Gate: Fail build if any file exceeds this risk
CI/CD Gate: fail the build if any file's structural
tests/core_engine/test_workflow_draft_gate.py:74: AssertionError
FAILED tests/core_engine/test_workflow_draft_gate.py::test_heavy_pr_workflow_skips_drafts[smoke-test.yml] - assert ['smoke-test....t == false`)'] == []
##[error]Process completed with exit code 1.
log tail:
env:
PYTHONUTF8: 1
GITGALAXY_LICENSE_KEY: COMMUNITY_FREE_TIER
OMP_NUM_THREADS: 1
pythonLocation: /opt/hostedtoolcache/Python/3.12.15/x64
PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.12.15/x64/lib/pkgconfig
Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.15/x64
Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.15/x64
Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.15/x64
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.12.15/x64/lib
PYTEST_ADDOPTS: --ignore=tests/cobol_mainframe
##[endgroup]
With the provided path, there will be 1 file uploaded
Artifact name is valid!
Root directory input is valid!
Uploading artifact: test-times-part-1.zip
Beginning upload of artifact content to blob storage
Uploaded bytes 199842
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is 2a646fbe903ae0566713ea579de674fe6988403238340867fd4e3cd905b8b917
Finalizing artifact upload
Artifact test-times-part-1 successfully finalized. Artifact ID 12535853932
Artifact test-times-part-1 has been successfully uploaded! Final size is 199842 bytes. Artifact ID is 12535853932
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/40034726187/artifacts/12535853932
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/d9a57fd0-2b15-43b9-a949-ee5fe34f737d' before making global git config changes
Adding repository directory to the temporary git global config as a safe directory
[command]/usr/bin/git config --global --add safe.directory /home/runner/work/gitgalaxy/gitgalaxy
Removing SSH command configuration
[command]/usr/bin/git config --local --name-only --get-regexp core.sshCommand
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
Removing HTTP extra header
[command]/usr/bin/git config --local --name-only --get-regexp http.https://github.com/.extraheader
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http.https://github.com/.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
Removing includeIf entries pointing to credentials config files
[command]/usr/bin/git config --local --name-only --get-regexp ^includeIf.gitdir:
[command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url
Cleaning up orphan processes

@squid-protocol squid-protocol added the shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md label Oct 23, 2026
@squid-protocol squid-protocol removed the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 23, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

CI shepherd: the head of this PR (f1a8e57) is not the one a maintainer labelled shepherd:merge on (new commits, or never approved), so the label was removed and nothing merges unreviewed code. Re-add the label when the new head is ready (shepherd:reapprove marks this PR until then).

@squid-protocol squid-protocol added shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md labels Oct 23, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

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