Skip to content

fix(opencode): revert from the first removed assistant message - #9924

Merged
maria-rcks merged 3 commits into
pingdotgg:mainfrom
maria-rcks:fix/issue-2789-opencode-revert
Sep 5, 2026
Merged

maria-rcks merged 3 commits into
pingdotgg:mainfrom
maria-rcks:fix/issue-2789-opencode-revert

fix(opencode): return the actual native rollback snapshot

0c7358f
Select commit
Loading
Failed to load commit list.
MacroscopeApp / Macroscope - Effect Service Conventions succeeded Sep 5, 2026 in 1m 56s

All clear

All clear

Details

Note

Your check run agent prompt is: .macroscope/check-run-agents/effect-service-conventions.md
More information about how Check Run Agents work can be found in our Help Center.


🔍 Agent activity — 2 tool calls

1. browse_code — apps/server/src/provider/Layers/OpenCodeAdapter.ts

2. browse_code — apps/server/src/provider/Layers/OpenCodeAdapter.ts

💭 I'm checking the changed lines for readThread and rollbackThread to see if they follow existing conventions like the error mapper and adapter shape interface, both of which predate this PR, and now I'm looking at how they use runOpenCodeSdk. The error mapping pattern matches existing code, no lint suppressions or new error types are introduced, and tests were updated appropriately using test layers for the external service. Since the diff only touches these two files with no service convention violations, I'm confident the review outcome is "All clear" and will finalize that as the summary.


Agent Credits: 19 credits

Token usage: 4 uncached input · 18,754 cache-read input · 22,726 cache-write input · 1,078 output
Agent Credits may also include non-token charges from external tools such as web research.