Repository navigation
fix: explain a missing Responses API proxy instead of polling for ENOENT - #189
Open
burgulvedant wants to merge 1 commit into
Open
burgulvedant wants to merge 1 commit into
burgulvedant wants to merge 1 commit into
Conversation
When the proxy was never started (for example openai-api-key is empty because the secret is not set), read-server-info retried the missing file for about ten seconds and then reported a generic failure. Fail immediately on ENOENT with a message that names the openai-api-key input. Other read errors still use the existing retry loop. Rebuilt dist/main.js.
|
All contributors have signed the CLA ✍️ ✅ |
Author
|
I have read the CLA Document and I hereby sign the CLA |
Author
|
For context on #70: #71 fixes it in action.yml by changing when the Read server info step runs. This PR keeps those conditions as they are and only changes what happens when the server info file does not exist, so a job that reuses a proxy started by an earlier codex-action step behaves as before. It also has tests and a rebuilt dist/main.js. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #70
Why
If the Responses API proxy was never started, for example because openai-api-key is empty or the secret is not set, the "Read server info" step polled the missing file for about ten seconds and then failed with a confusing ENOENT error.
What changed
Test plan