Make the session secret optional: use auth.secret, then nonempty AUTH_SECRET, otherwise generate a fresh cryptographic key at auth startup. Sessions work normally within that instance; supply a stable key to keep sessions across restarts.
Keep configuration loading deterministic, reject invalid supplied keys, and preserve existing cookie, origin, CSRF, and session policies. Remove the required-secret default from the example and generated schema.
Checks
Code, readability, and test reviews clear. Passed 118 focused tests, relevant builds, types, lint, generated-schema validation, Changeset validation, and whitespace checks.
## Changes
Make the session secret optional: use `auth.secret`, then nonempty `AUTH_SECRET`, otherwise generate a fresh cryptographic key at auth startup. Sessions work normally within that instance; supply a stable key to keep sessions across restarts.
Keep configuration loading deterministic, reject invalid supplied keys, and preserve existing cookie, origin, CSRF, and session policies. Remove the required-secret default from the example and generated schema.
## Checks
Code, readability, and test reviews clear. Passed 118 focused tests, relevant builds, types, lint, generated-schema validation, Changeset validation, and whitespace checks.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Changes
Make the session secret optional: use
auth.secret, then nonemptyAUTH_SECRET, otherwise generate a fresh cryptographic key at auth startup. Sessions work normally within that instance; supply a stable key to keep sessions across restarts.Keep configuration loading deterministic, reject invalid supplied keys, and preserve existing cookie, origin, CSRF, and session policies. Remove the required-secret default from the example and generated schema.
Checks
Code, readability, and test reviews clear. Passed 118 focused tests, relevant builds, types, lint, generated-schema validation, Changeset validation, and whitespace checks.