fix(server): bound OpenCode version probes #8750
Mergedyashranaway(GitHub profile, opens in a new tab)merged 2 commits into
main fromrefs/pull/8750/headmerged by juliusmarminge View on GitHubgithub-actions[bot](GitHub profile, opens in a new tab) added labelsvouch:trusted
github-actions[bot](GitHub profile, opens in a new tab) added labelssize:S
- apps/server/src/provider/Layers/OpenCodeProvider.ts lines 406 to 410Resolvedby macroscopeapp[bot](GitHub profile, opens in a new tab)@@ -399,3 +400,12 @@399400 Effect.mapError(400401 (cause) => new OpenCodeProbeError({ cause, detail: openCodeRuntimeErrorDetail(cause) }),401402 ),403+ Effect.timeoutOrElse({404+ duration: OPENCODE_VERSION_PROBE_TIMEOUT,405+ orElse: () =>406+ Effect.fail(407+ new OpenCodeProbeError({408+ cause: new Error("OpenCode CLI version probe timed out."),409+ detail: "OpenCode CLI version probe timed out after 4 seconds.",410+ }),411+ ),
macroscopeapp[bot](GitHub profile, opens in a new tab) approved these changes
juliusmarminge merged this4116db9
juliusmarminge closed this
Sign in to join this conversation.
Important
Review skipped#
Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
.coderabbit.yamlfile in this repository. To trigger a single review, invoke the@coderabbitai reviewcommand.⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro Plus
Run ID:
ef32cbcf-dc0f-4ccd-81e3-cbc48580186eYou can disable this status message by setting the
reviews.review_statustofalsein the CodeRabbit configuration file.Use the checkbox below for a quick retry:
Warning
Your free Security trial is over. An organization admin can activate Security or dismiss this notice.
Comment `@coderabbitai help` to get the list of available commands.