Skip to content

fix(build): resume interrupted test-data checkouts - #1165

Merged
andiwand merged 2 commits into
mainfrom
review/147-test-data-recovery
Oct 6, 2026
Merged

andiwand merged 2 commits into
mainfrom
review/147-test-data-recovery

Conversation

@andiwand

@andiwand andiwand commented Oct 5, 2026 •

Copy link
Copy Markdown
Member

🤖 Generated with Claude Code

A failed initial test-data fetch left a repository without HEAD, causing every subsequent setup attempt to fail. Resume these incomplete checkouts, including missing origin configuration, while continuing to leave existing revisions alone unless explicitly updated. Dirty and untracked files block checkout changes.

Share the fetch/checkout path and Git error handling. Replace COMMAND_ERROR_IS_FATAL (introduced in CMake 3.19) with explicit result checks compatible with this script's declared 3.15 minimum. Move the brief storage rationale to AGENTS.md and shorten the script comments, keeping the access note for the private repositories.

Validation: the retry regression fails on the parent. All 15 script tests pass; the two new local-Git tests cover interrupted setup, revision drift, explicit updates and preservation of tracked/untracked work. Tests use temporary paths with spaces and no network. CMake 3.15 itself was not available for runtime testing.

@andiwand
andiwand force-pushed the review/146-conan-package-metadata branch from 9b6268d to 46aeaff Compare October 6, 2026 19:06
Base automatically changed from review/146-conan-package-metadata to main October 6, 2026 19:07
andiwand and others added 2 commits October 6, 2026 21:07
…ript

The shortened header lost how to reach the two private repositories,
why configure never moves an existing checkout, why the policy call only
runs in script mode and why .git may be a file. They stand again in
brief.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MxyTMutqSUJRGfxA8CyzMc
@andiwand
andiwand force-pushed the review/147-test-data-recovery branch from 24c06b8 to b80cf68 Compare October 6, 2026 19:07
@andiwand
andiwand merged commit 5c9f108 into main Oct 6, 2026
21 of 23 checks passed
@andiwand
andiwand deleted the review/147-test-data-recovery branch October 6, 2026 19:09
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.

1 participant