[PR #869] [MERGED] fix: avoid worker exception, graceful 404 #9733

Closed
opened 2026-02-16 18:14:04 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/anomalyco/opencode/pull/869
Author: @rekram1-node
Created: 7/10/2025
Status: Merged
Merged: 7/11/2025
Merged by: @adamdotdevin

Base: devHead: tweak/graceful-404


📝 Commits (1)

  • 59679a0 tweak: avoid worker exception, graceful 404

📊 Changes

1 file changed (+3 additions, -1 deletions)

View changed files

📝 packages/function/src/api.ts (+3 -1)

📄 Description

  • Added return type annotation to enforce proper returns
  • Not returning a response causes worker to throw an exception

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/anomalyco/opencode/pull/869 **Author:** [@rekram1-node](https://github.com/rekram1-node) **Created:** 7/10/2025 **Status:** ✅ Merged **Merged:** 7/11/2025 **Merged by:** [@adamdotdevin](https://github.com/adamdotdevin) **Base:** `dev` ← **Head:** `tweak/graceful-404` --- ### 📝 Commits (1) - [`59679a0`](https://github.com/anomalyco/opencode/commit/59679a037597a7553b71875fb8c32fb59cdf3b82) tweak: avoid worker exception, graceful 404 ### 📊 Changes **1 file changed** (+3 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `packages/function/src/api.ts` (+3 -1) </details> ### 📄 Description - Added return type annotation to enforce proper returns - Not returning a response causes worker to throw an exception --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 18:14:04 -05:00
yindo closed this issue 2026-02-16 18:14:04 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#9733