Skip to content

Stabilize governance vote timeout receipt test - #56

Merged
sidhujag merged 2 commits into
mainfrom
codex/governance-http-timeout-test
Oct 28, 2026
Merged

sidhujag merged 2 commits into
mainfrom
codex/governance-http-timeout-test

Conversation

@sidhujag

Copy link
Copy Markdown
Member

The existing vote timeout test assumes a local server receives the request before a 30 ms deadline. A delayed event loop can expire that deadline first, yielding an uncertain submission without proving receipt and failing the assertion.

The receipt-specific test now waits for a real HTTP server request before invoking the existing deadline callback, and asserts the request is not retried. A separate real 30 ms HTTP timeout test covers the uncertain outcome when receipt cannot be established. Production code and timeouts are unchanged.

Validation: focused Node 26 Jest suite passed (9 tests). A controlled loopback diagnostic reproduced the old assumption failing under a 60 ms event-loop delay.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-28T00:54:18.494446Z 4053089 PR opened
🔒 Security Review ✅ Completed 2026-10-28T00:54:56.140688Z 4053089 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@sidhujag
sidhujag merged commit 8c6ed24 into main Oct 28, 2026
10 checks passed
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.

1 participant