Skip to content

ci: make Lint's actionlint step blocking (#1967) - #2043

Merged
JarryShaw merged 1 commit into
mainfrom
ci/1967-actionlint-blocking
Oct 22, 2026
Merged

JarryShaw merged 1 commit into
mainfrom
ci/1967-actionlint-blocking

Conversation

@JarryShaw

Copy link
Copy Markdown
Owner

What is the purpose of your pull request?

  • ci — workflows or build tooling

Description of your pull request and other information

#1967, per the owner's ruling. Stacked on #2037, so review only the top commit.

The pin fails on #2037's lint.yml (3 failed) and passes here (11 passed). actionlint 1.7.12 with the step's -ignore reports nothing on .github/workflows. The 48 files that read lint.yml or the contributing docs give 984 passed.

Note: Lint is not a required check in ruleset 23497679, so a red Lint does not hold a merge. That question is on #1967.

@JarryShaw JarryShaw added ci Pull requests that change CI or workflow configuration (ci: subject prefix) review: running A cross-review is in flight against the current head - no verdict yet labels Oct 22, 2026
@JarryShaw

Copy link
Copy Markdown
Owner Author

GOOD TO GO at e7c1f521e (Sonnet cross-review).

Known risk, not blocking: a GitHub release-download outage would now also turn Lint red.

@JarryShaw JarryShaw added review: good-to-go Cross-review at the current head says ready; CI state is separate and removed review: running A cross-review is in flight against the current head - no verdict yet labels Oct 22, 2026
@JarryShaw JarryShaw moved this to In review in PyPCAPKit Oct 22, 2026
@github-actions

github-actions Bot commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

Coverage: 91.54% (unit tier, Python 3.15, e54eeaad2, Unit Tests run success)

Package Statements Missed Branches Partial Cover
pcapkit (top level) 104 4 20 2 95.16%
pcapkit/const 19599 881 2618 867 92.11%
pcapkit/corekit 2567 71 816 37 96.57%
pcapkit/dumpkit 282 3 102 3 98.44%
pcapkit/foundation 2930 23 1022 25 98.79%
pcapkit/interface 138 4 52 3 96.32%
pcapkit/protocols 17436 219 4582 185 98.15%
pcapkit/toolkit 872 36 298 10 95.21%
pcapkit/utilities 529 7 160 5 98.26%
pcapkit/vendor 4431 1995 1018 167 51.73%

Per-file detail: the coverage-html artifact of this run.

@JarryShaw

Copy link
Copy Markdown
Owner Author

Ordering check on e7c1f521e: the project leg (util/run_unittest_leg.py project) ran 1762 tests, OK (71 skipped). CI: 63 checks green, 0 failing. KTLO 3.8, 3.9 and 3.10 legs: 0 failing tests. Ready to merge after #2037. Once it lands, I add Lint to the ruleset (#1967).

@JarryShaw
JarryShaw force-pushed the ci/1967-actionlint-blocking branch from e7c1f52 to 1134603 Compare October 22, 2026 17:22
@JarryShaw

Copy link
Copy Markdown
Owner Author

Rebase only, no new changes: e7c1f521e → 113460382. This rebase has stacked on #2037, moved onto its new head. No conflicts, and the patch-id is identical.

CI on the previous head e7c1f521e: 63 checks green, 0 failing; the KTLO legs fail 0 tests. The GOOD TO GO verdict carries over. You can bypass checks and merge.

@JarryShaw
JarryShaw force-pushed the ci/1967-actionlint-blocking branch from 1134603 to 5845cd4 Compare October 22, 2026 18:14
@JarryShaw

Copy link
Copy Markdown
Owner Author

Rebase only, no new changes: 113460382 → 5845cd429. This is stacked on #2037 and moved onto its new head. No conflicts, and the patch-id is identical.

The head e7c1f521e, with the same patch, was fully green, with 0 failing KTLO tests and an ordering leg of 1762 OK. The GOOD TO GO verdict carries over. You can bypass checks and merge after #2037.

@JarryShaw
JarryShaw force-pushed the ci/1967-actionlint-blocking branch from 5845cd4 to 275f0cf Compare October 22, 2026 18:19
@JarryShaw

Copy link
Copy Markdown
Owner Author

Rebase only, no new changes: 5845cd429 → 275f0cf88. It is stacked on #2037 and moved onto that PR's new head. There were no conflicts, and the patch-id is identical.

The head e7c1f521e carried the same patch and was fully green, with 0 failing KTLO tests and an ordering leg of 1762 OK. The GOOD TO GO verdict carries over. You can bypass checks and merge after #2037.

- lint.yml: drop the actionlint step's `continue-on-error`, so a finding
  fails Lint; move it below the advisory steps and run it on `!cancelled()`
  so a finding skips none of them and a failed setup does not skip it.
  Version and sha256 pin unchanged.
- lint.yml: the step's comment says it blocks, why that is safe now
  (#2023, #2037, #2038), and that the image's shellcheck can drift.
- workflows.rst: Workflow Lint no longer calls the step advisory.
- test_actionlint_in_lint_1967: TestItBlocks pins the blocking shape;
  test_unit_tests_shellcheck_1967's docstring no longer says advisory.
@JarryShaw
JarryShaw force-pushed the ci/1967-actionlint-blocking branch from 275f0cf to e54eeaa Compare October 22, 2026 18:54
@JarryShaw

Copy link
Copy Markdown
Owner Author

Rebase only, no new changes: 275f0cf88 → e54eeaad2, moved onto main after #2037 merged. No conflicts, and the patch-id is identical. The diff is now this PR's own four files.

The head e7c1f521e carried the same patch and was fully green, with 0 failing KTLO tests and an ordering leg of 1762 OK. The GOOD TO GO verdict carries over. You can bypass checks and merge. Once it lands, I'll add Lint to the ruleset (#1967).

@JarryShaw
JarryShaw merged commit d82a9cf into main Oct 22, 2026
59 checks passed
@github-project-automation github-project-automation Bot moved this from In review to Done in PyPCAPKit Oct 22, 2026
@JarryShaw
JarryShaw deleted the ci/1967-actionlint-blocking branch October 22, 2026 20:09
@JarryShaw JarryShaw removed the review: good-to-go Cross-review at the current head says ready; CI state is separate label Oct 22, 2026
@JarryShaw JarryShaw added this to the PyPCAPKit v1.5 milestone Oct 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Pull requests that change CI or workflow configuration (ci: subject prefix)

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant