Skip to content

Isolate Git fixture commands from ambient repository state - #1630

Merged
mergify[bot] merged 2 commits into
mainfrom
lean178/1626-fixture-git-environment
Nov 26, 2026
Merged

mergify[bot] merged 2 commits into
mainfrom
lean178/1626-fixture-git-environment

Conversation

@eowca

@eowca eowca commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Isolate Git fixture commands from ambient repository state

  • Context: Closes Keep ambient Git repository variables out of fixture commands #1626. The isolation audit reproduced Git fixture setup writing metadata into an inherited GIT_DIR.
  • Problem: A temporary cwd cannot override repository context inherited from the caller.
  • Goal: Build the fixture Git subprocess environment explicitly and keep operations in the requested temporary checkout.

Acceptance

  • The worktree reproducer passes with and without a disposable inherited GIT_DIR.
  • Fixtures use their explicit Git configuration and test identity.

Base

abacea4

Validation

Recorded for cd324368edfc

  • uv run --group dev ruff check src tests: exit 0
  • uv run --group dev tach check: exit 0
  • uv run --python 3.14 python scripts/check_architecture_docs.py: exit 0
  • scripts/size_budget.sh: exit 0
  • uv run --group dev pytest -q: exit 0

Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

Review

  • primary, codex, d1fb062, request_changes
  • delta, codex, cd32436, approve

Co-Authored-By: Codex <noreply@openai.com>

@loopzero-feder-positronics loopzero-feder-positronics Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

loopzero primary review by codex on d1fb062287e705a1a82075066dbce425a82febaa, 59.5s: request_changes (0 critical, 1 important, 1 suggestion)

Same-family fallback: independent reviewers failed: claude: not authenticated. Cross-family review is preferred.

Settings per native call (launch configuration and CLI claims, not backend attestation):

  • Call 1: requested model gpt-6.2-astra (effort medium); CLI-reported model gpt-6.2-astra (effort medium); configured model gpt-6.2-astra (effort medium)
Raw reviewer output
Native Codex transcript retained in the restricted local review receipt; public evidence is publisher-derived, not backend attestation. Exact raw SHA256: 87e55bc0378b10447293bbba347c06f1a87f5e27a3ffeeca71ebe0dacdbc087b

Comment thread tests/conftest.py Resolved
Comment thread tests/test_worktree.py Resolved
Co-Authored-By: Codex <noreply@openai.com>

@loopzero-feder-positronics loopzero-feder-positronics Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

loopzero delta review by codex on cd324368edfc441cab06ae72b134d1f51f0c45d2, 17.4s: approve (0 critical, 0 important, 0 suggestion)

Same-family fallback: independent reviewers failed: claude: not authenticated. Cross-family review is preferred.

Settings per native call (launch configuration and CLI claims, not backend attestation):

  • Call 1: requested model gpt-6.2-astra (effort medium); CLI-reported model gpt-6.2-astra (effort medium); configured model gpt-6.2-astra (effort medium)
Raw reviewer output
Native Codex transcript retained in the restricted local review receipt; public evidence is publisher-derived, not backend attestation. Exact raw SHA256: c96b3192fb5c4cd67189546302f2351b32120ed11df0870347a4a851c459f288

@eowca
eowca marked this pull request as ready for review November 26, 2026 07:54
@eowca

eowca commented Nov 26, 2026

Copy link
Copy Markdown
Contributor Author

@Mergifyio queue

@mergify

mergify Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

✅ Merged into main as 9c932b5 at 07:59 UTC

4 min in the queue, 3 min of it CI.

So far

  • ✅ Entered the queue Thu 26 Nov, 07:54 · rule main · triggered by @eowca with the @mergifyio queue command
  • ✅ Passed · draft #1679
  • ✅ Merged 07:59 · 9c932b5 · squash
3 merge conditions met
  • github-review-approved · required by GitHub repository ruleset rule main: PR only, Mergify queue, existing checks required
  • any of · required by GitHub repository ruleset rule main: PR only, Mergify queue, existing checks required:
    • check-success = checks
    • check-neutral = checks
    • check-skipped = checks
  • any of · required by GitHub repository ruleset rule main: PR only, Mergify queue, existing checks required:
    • check-success = Loop-zero Eligibility
    • check-neutral = Loop-zero Eligibility
    • check-skipped = Loop-zero Eligibility

Times in UTC · dashboard · how the merge queue works

@mergify mergify Bot added the queued label Nov 26, 2026
@eowca

eowca commented Nov 26, 2026

Copy link
Copy Markdown
Contributor Author

No description provided.

@mergify
mergify Bot merged commit 9c932b5 into main Nov 26, 2026
18 checks passed
@mergify mergify Bot removed the queued label Nov 26, 2026
@eowca
eowca deleted the lean178/1626-fixture-git-environment branch November 26, 2026 08:00
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.

Keep ambient Git repository variables out of fixture commands

1 participant