Skip to content
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

Upgrade fosite to the latest commit on their main branch #1804

Merged
merged 3 commits into from
Dec 5, 2023

Conversation

cfryanr
Copy link
Member

@cfryanr cfryanr commented Dec 4, 2023

The most recent release of fosite is now one year old. Update to the head of their main branch by using a pseudo version in our go.mod. If Ory releases a new semver release of fosite in the future, then we can go back to using semver for fosite in our go.mod.

This PR also adds a new config file called hack/update-go-mod/overrides.conf which tells the update-go-mod program to use @master for fosite when updating the project's go.mod. If/when we want to go back to using the regular releases of fosite, we need only submit a new PR to remove that line from overrides.conf.

Release note:

NONE

@cfryanr
Copy link
Member Author

cfryanr commented Dec 4, 2023

Asked if they could do a new release of fosite here: https://github.com/orgs/ory/discussions/83

A small part of the session storage changed type in the latest version
of fosite compared to the old version of fosite that we were using.
Just to be safe, update our session storage version to invalidate
any pre-existing sessions upon upgrade of Pinniped.
Copy link

codecov bot commented Dec 5, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (9d3773e) 79.13% compared to head (7a3efb9) 79.13%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1804   +/-   ##
=======================================
  Coverage   79.13%   79.13%           
=======================================
  Files         172      172           
  Lines       16163    16163           
=======================================
  Hits        12790    12790           
  Misses       3054     3054           
  Partials      319      319           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@benjaminapetersen benjaminapetersen left a comment

Choose a reason for hiding this comment

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

LGTM

@cfryanr cfryanr merged commit 70f2bbf into main Dec 5, 2023
39 checks passed
@cfryanr cfryanr deleted the upgrade_fosite branch December 5, 2023 22:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants