Skip to content

fix(test): restore Git release service inspection fixtures - #201730

Merged
vincentkoc merged 1 commit into
mainfrom
fix/git-release-manager-uid-fixtures-20261119
Nov 19, 2026
Merged

vincentkoc merged 1 commit into
mainfrom
fix/git-release-manager-uid-fixtures-20261119

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Nov 19, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

Linux Git-release tests stop at service inspection before reaching the ownership behavior they are meant to verify. Their synthetic service state omits the observed systemd manager UID required by the current inspection contract.

User Impact

No production behavior changes. The existing tests can exercise release-launcher ownership and the conditions for redirecting a checkout's service.

Why This Change Was Made

Supply a synthetic manager UID in both existing service fixtures. Keep all ownership, sealed-definition, and no-restart assertions unchanged; preserve the production refusal for incomplete inspection.

Related: #199959

Evidence

  • Full pin validation fails the two ownership cases on Node because inspection returns unavailable. The suite intentionally skips Bun, so Bun success cannot prove this repair.
  • Source inspection confirms the Linux guard requires an observed manager UID and validates its integer range; these paths do not compare it with the process UID.
  • Independent source review and ClawSweeper found no correctness or security issues. Normal commit formatting and line-cap checks and git diff --check passed.
  • Exact-head Node/Bun CI passes all 12 Node cases, including launcher ownership (3,505 ms) and checkout redirection (2,205 ms). Bun intentionally skips all 12. Log SHA-256: ddcf31ffc6716339e94222ae9641c65d916f79219f4ffe8f4fa3db9f3404ef84. Final required PR checks remain pending; local dependencies are unqualified.

@vincentkoc vincentkoc self-assigned this Nov 19, 2026
@clawsweeper

clawsweeper Bot commented Nov 19, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@vincentkoc
vincentkoc marked this pull request as ready for review November 19, 2026 08:55
@vincentkoc
vincentkoc enabled auto-merge (squash) November 19, 2026 08:57
@vincentkoc
vincentkoc merged commit fd4807a into main Nov 19, 2026
249 checks passed
@vincentkoc
vincentkoc deleted the fix/git-release-manager-uid-fixtures-20261119 branch November 19, 2026 09:05
@vincentkoc

Copy link
Copy Markdown
Member Author

Merged via squash auto-merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant