Skip to content

test(postgres): check an empty encoding list with an activity waiting - #69

Merged
alob-mtc merged 2 commits into
mainfrom
test/empty-encodings
Sep 29, 2026
Merged

alob-mtc merged 2 commits into
mainfrom
test/empty-encodings

Conversation

@alob-mtc

Copy link
Copy Markdown
Collaborator

Follow-up to CodeRabbit's nitpick on #67.

The check that an empty encoding list claims nothing ran after the only activity had already been claimed, so it would have passed even if DequeueBatchEncoded had wrongly claimed an available activity. It now runs while a superjson-v1 activity is waiting, before the encoded claim takes it. This is a test change only.

Review follow-up to #67: the assertion ran after the only activity was
claimed, so it couldn't catch a claim of an available activity.
@coderabbitai

coderabbitai Bot commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

Next included review available in 51 minutes.

Check out review usage here.

View limit details

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

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

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: 2dd996d1-bc2d-42db-9dd9-8c182da663d2

📥 Commits

Reviewing files that changed from the base of the PR and between 08d282d and 75292ae.

📒 Files selected for processing (1)
  • storage/postgres/integration_test.go

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

Comment @coderabbitai help to get the list of available commands.

@alob-mtc
alob-mtc merged commit 1dd934b into main Sep 29, 2026
3 checks passed
@alob-mtc
alob-mtc deleted the test/empty-encodings branch September 29, 2026 20:24
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