Skip to content

fix(server): storage cleanup handles newer git's broken-gitfile error - #357

Merged
bk-agent-01 merged 1 commit into
stagefrom
t3/storage-cleanup-gitfile-error
Oct 29, 2026
Merged

bk-agent-01 merged 1 commit into
stagefrom
t3/storage-cleanup-gitfile-error

Conversation

@bk-agent-01

Copy link
Copy Markdown
Collaborator

Refs TEC-1624

Summary

This fix unblocks bkt3 PRs #355 and #356 (TEC-1818, TEC-1819). Tushar chose "AI fixes it" in the T3 session on 2026-10-29.

Decisions

Decision Options Why Undo Confidence
Match the new git message as a second text check Check the exit code; change the test The code already treats the old message this way; same meaning, smallest seam Revert this PR High

Acceptance check

Item Status
storageCleanup.test.ts passes on CI pending CI

How I tested

No local tests on the shared host. CI runs the server test shards.

Cross-review: skipped — a one-line string match in an error path, proven by the existing failing test.

🤖 Generated with Claude Code

…like a missing repository

Newer git (on the GitHub runners since 2026-10-28) prints "fatal: gitfile does not
point to a valid repository" where older git printed "not a git repository". The
branch check then reported the worktree as failed instead of kept, and
storageCleanup.test.ts "compares the checked-out branch without a full status"
failed on every stage branch.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:XS labels Oct 29, 2026
@bk-agent-01

Copy link
Copy Markdown
Collaborator Author

Merge decision: tushar chose "AI fixes it" for this test in the T3 session on 2026-10-29. Head 18b6876, all checks green. Cross-review skipped (one-line error-text match, proven by the failing test now passing).

@bk-agent-01
bk-agent-01 merged commit 98b49a6 into stage Oct 29, 2026
25 checks passed
bk-agent-01 added a commit that referenced this pull request Oct 29, 2026
Promote stage to bkt3 (2026-10-29): agent toolkit compact output, session lifecycle tool, actionable MCP errors (#355, #356, #357)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant