Skip to content

Add environment-scoped child sessions#1117

Merged
ezekg merged 5 commits into
masterfrom
fix/environment-sessions
May 5, 2026
Merged

Add environment-scoped child sessions#1117
ezekg merged 5 commits into
masterfrom
fix/environment-sessions

Conversation

@ezekg
Copy link
Copy Markdown
Member

@ezekg ezekg commented May 1, 2026

Related to keygen-sh/keygen-portal#181. Switching environments was broken in Portal because the environment session would overwrite the session for the nil environment, which broke switching back to nil. This separates the sessions.

@ezekg ezekg force-pushed the fix/environment-sessions branch 9 times, most recently from c288749 to d7c1fd2 Compare May 1, 2026 22:06
Comment thread app/models/concerns/environmental.rb Outdated
@ezekg ezekg force-pushed the fix/environment-sessions branch 5 times, most recently from 9cfccd9 to d2b745a Compare May 2, 2026 03:47
@ezekg ezekg marked this pull request as ready for review May 2, 2026 04:04
Comment thread app/controllers/api/v1/tokens_controller.rb Outdated
Comment thread app/models/token.rb Outdated
@ezekg ezekg force-pushed the fix/environment-sessions branch 2 times, most recently from db743b2 to fa3169e Compare May 4, 2026 21:48
Comment thread app/models/session.rb Outdated
@ezekg ezekg force-pushed the fix/environment-sessions branch from 4507786 to d2f9c00 Compare May 5, 2026 02:53
@ezekg ezekg force-pushed the fix/environment-sessions branch from d2f9c00 to 28e5922 Compare May 5, 2026 02:58
@ezekg ezekg merged commit 2a23e05 into master May 5, 2026
26 checks passed
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.

1 participant