Skip to content

fix(api): the wrong-secret case of the registry token test is always wrong - #538

Merged
samuelmbabhazi merged 1 commit into
mainfrom
fix/registry-token-test-flake
Nov 27, 2026
Merged

samuelmbabhazi merged 1 commit into
mainfrom
fix/registry-token-test-flake

Conversation

@samuelmbabhazi

Copy link
Copy Markdown
Collaborator

The registry token test (#529) builds a wrong secret by replacing the last character of a real one with A. When the secret already ended with A, one time in 64, nothing changed and the case answered 200. #536's integration run hit it.

The last character is now always replaced by a different one (B if it was A). The test passed three times in a row locally (PostgreSQL). Test only, no change to the code.

…wrong

It replaced the secret's last character with A, which left the secret unchanged one time in 64 and made the case answer 200 (seen on #536's CI). The last character is now always another one.

Signed-off-by: samuel mbabhazi <[email protected]>
@coderabbitai

coderabbitai Bot commented Nov 27, 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 15 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

Commits

Reviewing files that changed from the base of the PR and between 51ee778 and 27aff89.

Files selected for processing: 1

  • apps/api/src/modules/registries/registry-tokens-http.integration.spec.ts
  • 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

@samuelmbabhazi
samuelmbabhazi merged commit 8da06ea into main Nov 27, 2026
27 checks passed
@samuelmbabhazi
samuelmbabhazi deleted the fix/registry-token-test-flake branch November 27, 2026 12:09
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