-
-
Notifications
You must be signed in to change notification settings - Fork 2k
🐛 bug: harden session middleware lifecycle and error handling #4059
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
gaby
wants to merge
18
commits into
main
Choose a base branch
from
update-session-middleware-to-fail-gracefully
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from 8 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
52d06a3
🐛 bug: balance store session releases on terminal branches
gaby 1d5889f
🐛 bug: clear session middleware locals before pooling
gaby ea9385c
🐛 bug: honor GetByID context in session destroy
gaby fe63faf
🐛 bug: avoid returning init error after body write
gaby bb28e61
🐛 bug: make init-error cleanup assertion deterministic
gaby 8f92fa7
Merge branch 'main' into update-session-middleware-to-fail-gracefully
gaby 36c284f
Refactor session middleware context handling
gaby a5953ea
Fix session middleware return statement
gaby c3be3ba
Initial plan
Copilot a7fdf2c
🐛 bug: validate session IDs, use StoreInContext for cleanup, remove p…
Copilot 93fdf46
Merge pull request #4107 from gofiber/copilot/sub-pr-4059
gaby 097e06f
Merge branch 'main' into update-session-middleware-to-fail-gracefully
gaby c972b14
Merge branch 'main' into update-session-middleware-to-fail-gracefully
gaby 0fbad94
🐛 bug: use context helpers for session lookup and IDs
Copilot a0e4a26
🐛 bug: prefer extracted session ids over cached request values
Copilot 19d91e3
🐛 bug: keep session id caching scoped to the active request
Copilot f857a52
Merge branch 'main' into update-session-middleware-to-fail-gracefully
Copilot eb43a5c
🔒 security: replace panic with graceful config adjustment in session …
Claude File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.