patch
Session Secret Validation
An unusable SESSION_SECRET_KEY stops the server before it touches the database, with a message that says what to do about it
An unusable session secret stops the server at startup
The cookie master key is a 256-bit signing key followed by a 256-bit encryption
key, so SESSION_SECRET_KEY has to be at least 64 bytes. A shorter one used to
panic deep in startup, after the database was open, the migrations had run and
the workers were up, with a message about key length and nothing about the
variable that set it.
- The key is built in
SecurityConfig::from_env, before any I/O, so a bad secret stops the process there - The error names the length it received and the command that produces a valid
one:
openssl rand -hex 32 openssl rand -base64 32gives 44 characters and is refused with that same message, rather than a panicSecurityConfighas a hand-writtenDebugthat redacts the secret, so it cannot reach a log line through the derivedDebugonConfig- A valid secret still builds the same key it always did, so existing sessions survive the upgrade
The docs no longer publish a working key as their example value, and explain that changing the key invalidates every existing session.
Fixes
- Webhook and Slack URLs are parsed with
URLand checked for protocol instead of prefix-matched, sohttps://on its own no longer passes validation and reaches the save - Enter or Space on a waterfall collapse chevron expands the span. The row
handler calls
preventDefault, which is what dispatches a native button's click, so keyboard use selected the row and never expanded it - A span whose reported end precedes the start of the view window, reachable when an SDK's clock runs backwards mid-span, no longer draws a bar with negative width. Both ends are clamped to the track
- The toast progress value is normalized once and used for the bar, for
aria-valuenowand for the caption. A caller reporting 150 drew a full bar and announced "150 %" against a declared maximum of 100 - The data-table column header shows press feedback again. It opens a popup,
and Base UI swallows
:activeon those, so it looked inert until the panel appeared
Improvements
- Biome enforces a cognitive complexity limit across the workspace. The 28 violations it found were cleared by lifting their logic into modules that are tested directly: trace summaries, alert credentials and routing, integration forms, event jump targets, project setup snippets, transaction payloads, waterfall geometry and data-table query parsing
- Vitest resolves the
@/alias, so a unit test whose subject imports a value through it no longer fails as if a package were missing - CI, CodeQL, cargo-deny and CodeRabbit run on pull requests to any base branch.
A
branchesfilter matches the PR's base, so a stacked PR or one onto a long-lived feature branch merged with no checks at all
