Skip to content

test(lifecycle): interim strict cells for integrity rows red on main (#4353, #4356, #4363) - #4367

Merged
Daniel Meppiel (danielmeppiel) merged 1 commit into
mainfrom
danielmeppiel-t3-integrity-cells
Nov 20, 2026
Merged

Daniel Meppiel (danielmeppiel) merged 1 commit into
mainfrom
danielmeppiel-t3-integrity-cells

Conversation

@danielmeppiel

Copy link
Copy Markdown
Collaborator

Description

Interim strict cells for the lifecycle integrity rows that are red on main (non-smoke rows), per the steward's rulings. Stacked on #4361 (same file); once #4361 lands, this diff is the single commit on top.

Row (tests/lifecycle/security/test_integrity.py) Change
`I approval-pins
`I approval-pins
`I deployed_file_hashes
`I approval-pins
`I approval-pins

The witness registry is regenerated: 918 required, 112 known failing.

Issue and approved scope

Issue: Refs #4107

Human scope-approval comment: steward rulings relayed by the 0.37 Stream T lead (interim strict cells on #4353 / #4356, a new issue for the update row).

Does this PR complete the issue, or what remains? It is partial. The product fixes for #4353, #4356 and #4363 are tracked in those issues; each cell flips when its fix lands.

Type of change

  • Bug fix
  • New feature
  • Documentation
  • Maintenance / refactor

Testing

  • Tested locally
  • All existing tests pass
  • Added tests for new functionality (if applicable)

Results (local, off main 84060d7 plus #4361):

  • Full tests/lifecycle/security/test_integrity.py: 87 passed, 17 xfailed, 0 failed (it was 8 failed).
  • tests/quality/test_generated_obligations.py: 19 passed.
  • ruff check / format: clean.

Changelog

  • One line in one section under ## [Unreleased] in CHANGELOG.md.
  • N/A -- internal-only change (CI, tests, refactor).

Spec conformance (OpenAPM v0.1)

  • N/A -- this PR does not change OpenAPM-observable behaviour.

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.

🟡 Changes recommended

Security-test rows link uninstall failures to the wrong issue and require an unrelated orphaned-hook diagnostic for a replay error, so the tracked fixes would not clear their expected failures.

2 open issues
What changed in this PR

This test-only PR updates lifecycle integrity expectations while product fixes remain tracked separately. It adds issue-linked strict expected failures and restores required coverage for two passing cases.

Changes:

  • Mark six integrity rows as strict expected failures tied to #4353, #4356, and #4363.
  • Remove pending expected failures from two rows now passing after #4271.
  • Regenerate the witness registry to reflect 918 required and 112 known-failing obligations.
File Description
tests/​quality/​generated_obligations.json Synchronizes required witnesses and known-failure issue mappings.
tests/​lifecycle/​security/​test_integrity.py Updates expected-failure cells and shares issue-reason constants.

Review effort: Balanced

1,
(_RETAINED, r"Retained user-edited file"),
unchanged=_SKILL_STATE,
xfail=_FAILED_CLOSED_LEAVES_BYTES,
("audit-ci", "disk-or-cache"): Expect(
1, (r"orphaned: \.github/hooks/p-exec-session\.json",), unchanged=_HOOK_STATE
1,
(r"orphaned: \.github/hooks/p-exec-session\.json",),
@danielmeppiel
Daniel Meppiel (danielmeppiel) merged commit d1c25cf into main Nov 20, 2026
22 of 28 checks passed
@danielmeppiel
Daniel Meppiel (danielmeppiel) deleted the danielmeppiel-t3-integrity-cells branch November 20, 2026 15:17
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