Skip to content

fix(core): reduce snapshot repository setup - #38162

Merged
rekram1-node merged 3 commits into
v2from
snapshot-timeout
Jul 22, 2026
Merged

fix(core): reduce snapshot repository setup#38162
rekram1-node merged 3 commits into
v2from
snapshot-timeout

Conversation

@opencode-agent

@opencode-agent opencode-agent Bot commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Summary

  • replace eight git config subprocesses with an OpenCode-owned include file and one canonical include appended directly to the snapshot repository config
  • preserve Git-generated and template-provided settings, including multiple existing include.path values
  • keep repeated repository creation idempotent without parsing unrelated Git configuration
  • leave all later Git command construction unchanged

Results

  • focused snapshot test process executions: 38 → 30 (strace, including the test runner)
  • focused snapshot path launches zero git config subprocesses
  • focused snapshot test: 30/30 repeated runs
  • Git tree integration test: 5/5 repeated runs

Checks

  • bun test test/git.test.ts test/snapshot.test.ts
  • bun typecheck
  • git diff --check

Requested by: @rekram1-node (Aiden Cline via Slack)

@opencode-agent opencode-agent Bot changed the title test(core): extend snapshot integration timeout fix(core): reduce snapshot repository setup Jul 21, 2026
@opencode-agent
opencode-agent Bot marked this pull request as draft July 21, 2026 18:47
@opencode-agent
opencode-agent Bot marked this pull request as ready for review July 21, 2026 19:23
@rekram1-node
rekram1-node merged commit 59ad593 into v2 Jul 22, 2026
22 of 24 checks passed
@rekram1-node
rekram1-node deleted the snapshot-timeout branch July 22, 2026 04:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant