Skip to content

adapter: tolerate short initial receive in FIFO redrive test - #1421

Merged
bootjp merged 1 commit into
mainfrom
feature/sqs-fifo-redrive-ci
Nov 11, 2026
Merged

bootjp merged 1 commit into
mainfrom
feature/sqs-fifo-redrive-ci

Conversation

@bootjp

@bootjp bootjp commented Nov 11, 2026

Copy link
Copy Markdown
Owner

Change

Retry the test setup receive until the poison message is delivered or a bounded deadline expires. A single scanAndDeliverOnce call may return empty when its 100ms partition-scan budget elapses under CI load; the redrive race assertions remain unchanged.

Risk

Test-only change. A persistent receive failure still fails after five seconds.

Verification

  • go test -race ./adapter -run ^TestSQSFIFODelayFencesStaleRedrive$ -count=50 -timeout=5m
  • Reproduces the failure context from main job 130486381974; PR CI pending.

Author: bootjp

Signed-off-by: bootjp <contact@bootjp.me>
@coderabbitai

coderabbitai Bot commented Nov 11, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 35 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 0a85392f-4813-41ac-8a78-4701e9f57d2c
Commits

Reviewing files that changed from the base of the PR and between da8a2db and 6174366.

Files selected for processing: 1

  • adapter/sqs_fifo_delay_redrive_test.go
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@bootjp

bootjp commented Nov 11, 2026

Copy link
Copy Markdown
Owner Author

@codex review

Please review latest pushed HEAD 6174366. This is a test-only fix for the short first FIFO receive seen in main CI job 130486381974. The redrive concurrency assertions are unchanged; the initial setup receive is retried within five seconds. Target test passed with -race -count=50.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-11T11:49:49.496115Z 6174366 Manual request
🔒 Security Review ✅ Completed 2026-11-11T11:50:32.550407Z 6174366 Manual request
ℹ️ 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.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Keep them coming!

Reviewed commit: 6174366d34

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@chatgpt-codex-connector

Copy link
Copy Markdown

🛡️ Codex Security Review · Automatically triggered

Security review completed. No security issues were found in this pull request.

Reviewed commit: 6174366d34

View security finding report

Only the user who started this review can view the report in Codex.

ℹ️ About Codex security reviews in GitHub

This is an experimental Codex feature. Security reviews are triggered when:

  • You comment "@codex security review"
  • A regular code review gets triggered (for example, "@codex review" or when a PR is opened), and you’re opted in so security review runs alongside code review

Once complete, Codex will leave suggestions, or a comment if no findings are found.

@bootjp
bootjp merged commit 0bc71b7 into main Nov 11, 2026
18 checks passed
@bootjp
bootjp deleted the feature/sqs-fifo-redrive-ci branch November 11, 2026 11:58
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