Skip to content

Conversation

@gschier
Copy link
Member

@gschier gschier commented Dec 22, 2025

Cookies received from Set-Cookie headers were stored in the in-memory
CookieStore but never saved back to the database. Each subsequent request
would reload cookies from the database, losing any cookies received from
previous responses.

This fix extracts cookies from the in-memory store after each request
completes and persists them back to the cookie jar in the database.

Cookies received from Set-Cookie headers were stored in the in-memory
CookieStore but never saved back to the database. Each subsequent request
would reload cookies from the database, losing any cookies received from
previous responses.

This fix extracts cookies from the in-memory store after each request
completes and persists them back to the cookie jar in the database.
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes a critical bug where cookies received from HTTP responses were not being persisted to the database. Cookies were stored in the in-memory CookieStore during requests but were lost when subsequent requests reloaded cookies from the database.

Key changes:

  • Added cookie persistence logic after HTTP request completion
  • Cookies are now extracted from the in-memory store and saved back to the database after each request

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@gschier gschier merged commit 5f8902e into main Dec 22, 2025
10 checks passed
@gschier gschier deleted the claude/debug-yaak-cookies-IGMdj branch December 22, 2025 18:58
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.

3 participants