Skip to content

Warn once per deprecated route name and limiter - #19

Merged
imanimanyara merged 2 commits into
mainfrom
fix/warn-once-deprecated-names
Oct 5, 2026
Merged

imanimanyara merged 2 commits into
mainfrom
fix/warn-once-deprecated-names

Conversation

@imanimanyara

Copy link
Copy Markdown
Member

The bare env-kit.* route-name fallback logged a warning on every
resolution, so a page with N links logged N lines per request, and the bare
env-kit limiter logged on every throttled request, which never stops on an
Octane or queue worker. Both now log once per name for the life of the
booted application.

The bare env-kit.* route-name fallback logged a warning on every
resolution, so a page with N links logged N lines per request, and the bare
env-kit limiter logged on every throttled request, which never stops on an
Octane or queue worker. Both now log once per name for the life of the
booted application.
Copilot AI balanced review requested due to automatic review settings October 5, 2026 09:29

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

laranail/env-kit now reads its configuration only at laranail.env-kit.*;
the old bare env-kit.* reads were the defect that left its shipped config
inert. This suite had worked around it by setting the bare keys, so against
a fresh resolve every override (temp .env path, schema, allowlist, hidden
keys, value limit) was ignored and 13 tests ran on defaults. main fails the
same way. No runtime code read the bare keys; tests and one docs line move.
@imanimanyara
imanimanyara merged commit 89f9c29 into main Oct 5, 2026
3 checks passed
@imanimanyara
imanimanyara deleted the fix/warn-once-deprecated-names branch October 5, 2026 09:54
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.

2 participants