Skip to content

feat(executor): make opencode request timeout configurable#2411

Open
myagizmaktav wants to merge 2 commits intoqf-studio:mainfrom
myagizmaktav:feat/configurable-execution-timeout
Open

feat(executor): make opencode request timeout configurable#2411
myagizmaktav wants to merge 2 commits intoqf-studio:mainfrom
myagizmaktav:feat/configurable-execution-timeout

Conversation

@myagizmaktav
Copy link
Copy Markdown

Summary

  • add executor.opencode.request_timeout so OpenCode HTTP request lifetime is configurable
  • keep backward compatibility by defaulting to 10m when unset or invalid
  • cover timeout parsing and backend client wiring with focused tests

Example

executor:
  opencode:
    request_timeout: 20m

Verification

  • go test ./internal/executor -run 'TestOpenCodeConfig|TestOpenCodeConfigEffectiveRequestTimeout|TestNewOpenCodeBackend' -count=1 -v
  • make build

Closes #2410

* fix(executor): support modern opencode message schema

* fix(health): detect configured opencode command

* test(executor): assert opencode payload structure
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.

Make OpenCode HTTP request timeout configurable

1 participant