Skip to content

Bump @arkstack to 0.20.1 (unique JWTs) - #6

Merged
3m1n3nc3 merged 2 commits into
mainfrom
fix/arkstack-0.20.1
Oct 21, 2026
Merged

3m1n3nc3 merged 2 commits into
mainfrom
fix/arkstack-0.20.1

Conversation

@3m1n3nc3

@3m1n3nc3 3m1n3nc3 commented Oct 21, 2026 •

Copy link
Copy Markdown
Member

Summary

Bumps @arkstack/* to 0.20.1, which gives every JWT a random jti (arkstack-hq/arkstack#18).

Before, two logins by the same user within one second produced identical tokens. The second collided on the unique personal_access_tokens.token column and the login failed with a 500. That is what failed admin-users.test.ts in CI (register, then log in within the same second), and a double-submitted login in production hit the same 500.

Tests

API suite passes locally (260 tests), and admin-users.test.ts passes three runs in a row.

0.20.1 gives every JWT a unique jti. Two logins by the same user within
one second produced identical tokens, which collided on the unique
personal_access_tokens.token column and failed the login with a 500;
this is what made admin-users.test.ts fail in CI.
@3m1n3nc3
3m1n3nc3 merged commit 17b5c65 into main Oct 21, 2026
2 checks passed
@3m1n3nc3
3m1n3nc3 deleted the fix/arkstack-0.20.1 branch October 21, 2026 09:39
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