-
Notifications
You must be signed in to change notification settings - Fork 142
Design Session Persistence - Part 1 #4158
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
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4158 +/- ##
=======================================
Coverage 86.00% 86.01%
=======================================
Files 131 131
Lines 14111 14111
Branches 35 35
=======================================
+ Hits 12136 12137 +1
+ Misses 1773 1771 -2
- Partials 202 203 +1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
bjee19
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
|
This can be merged into main, doesn't need to be targeting the feature branch necessarily. |
|
The GEP I linked in the comment above should also be deeply read and understood, because it includes a lot more implications about where and how SessionPersistence is applied to a route. The We need to investigate and consider all of these things. |
|
@sjberman I’ve gone through all your comments and recommendations — thank you for the detailed feedback. I agree that aligning with the Gateway API spec is ideal. I’ve also reached out I’ve reached out to @mkingst as well for clarification on the importance of some of these directives, given they’re PLUS features — I’d assume users paying for PLUS would want full capability, or at least this helps incentivize upgrades. Once I have more clarity, I’ll share some concrete suggestions on how we can move forward and we can adjust as needed. Thanks for all the suggestions, it helped me get a broader viewpoint. |
I want to learn to work with feature branches and rebases so this is only for my own need. |
|
@salonichf5 Totally agree that things move slow and sometimes we can't wait. But the benefit of this particular situation is that there is a basic API in place that may cover the use cases we need for now, and allow us to get that solution implemented, while we wait and push forward with more advanced directives for the future. As the saying goes "don't let perfect be the enemy of good". |
Definitely. I am also aiming towards being as Gateway API conformant as possible once I have more answers. I'll update you here when that happens |
207dd4a to
73a5a6d
Compare
73a5a6d to
d24adc9
Compare
|
@sjberman @ciarams87 @bjee19 I have update the goals and non-goals for Session persistence design. Some key changes are:
In parallel, I plan to contribute to help include these three directives (secure, httpOnly, and sameSite) in the official Gateway API sessionPersistence specification. Additionally, I will merge the doc proposal to main and do implementation in feature branch for my own learning. |
d200933 to
84d5897
Compare
Proposed changes
Write a clear and concise description that helps reviewers understand the purpose and impact of your changes. Use the
following format:
Problem: Need to get consensus on goals and non-goals for session persistence.
Solution: Create a proposal doc to outline goals and non goals of the feature
Testing: N/A
Please focus on (optional): If you any specific areas where you would like reviewers to focus their attention or provide
specific feedback, add them here.
Closes #ISSUE
Checklist
Before creating a PR, run through this checklist and mark each as complete.
Release notes
If this PR introduces a change that affects users and needs to be mentioned in the release notes,
please add a brief note that summarizes the change.