Skip to content

Keep Missing-Job Fixture Internally Consistent - #851

Merged
ptr727 merged 1 commit into
developfrom
fix/pr-846-audit-fixture
Aug 19, 2026
Merged

Keep Missing-Job Fixture Internally Consistent#851
ptr727 merged 1 commit into
developfrom
fix/pr-846-audit-fixture

Conversation

@ptr727

@ptr727 ptr727 commented Aug 19, 2026

Copy link
Copy Markdown
Owner

Summary

  • include validate in the missing-job fixture's needs list
  • keep the validate: job definition absent so the fixture isolates that contract failure

Root Cause

The fixture referenced needs.validate.result without declaring validate as a dependency. It therefore modeled an additional workflow defect beyond the missing job it was designed to test.

Impact

The audit self-test exercises one deliberate defect and remains representative of a real caller shape.

Verification

  • python3 spec/audit.py --selftest
  • python3 -m unittest discover -s scripts/tests (730 tests)
  • uvx ruff@latest check spec/audit.py
  • uvx ruff@latest format --check spec/audit.py
  • git diff --check

Addresses a suppressed Copilot finding on #846.

Copilot AI lite review requested due to automatic review settings August 19, 2026 19:14
@ptr727
ptr727 marked this pull request as ready for review August 19, 2026 19:14

Copilot AI 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.

Pull request overview

This PR tightens the spec/audit.py --selftest missing-job fixture so it represents only the intended contract failure (a missing validate job) without also modeling inconsistent needs wiring.

Changes:

  • Update the missing-validate fixture so publish declares validate in needs while still omitting the validate job definition.

💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Copilot AI 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.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.

@ptr727
ptr727 merged commit bb4d603 into develop Aug 19, 2026
9 checks passed
@ptr727 ptr727 mentioned this pull request Aug 19, 2026
ptr727 added a commit that referenced this pull request Aug 19, 2026
## Summary

- Promote fail-closed release validation and audit path discovery.
- Promote explicit Bash labels for executable audit commands.
- Promote the canonical PyPI artifact-name regression guard.
- Promote the executable Python entry point for the release-guard test.
- Promote the internally consistent missing-job audit fixture.

## Source

- #844 (`a08713a`)
- #847 (`af2c8ff`)
- #848 (`1cd5b84`)
- #849 (`87c3960`)
- #850 (`9b6c01f`)
- #851 (`bb4d603`)

## Validation

- 730 Python tests
- audit self-tests and spec validation
- ruff, mypy, and coverage
- actionlint, markdownlint, EditorConfig, CSpell, ShellCheck, and
PSScriptAnalyzer
- Copilot full-diff review on each feature pull request

Closes #842
Closes #843
Closes #845
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants