Skip to content

feat(batch): keep cookies between steps - #160

Merged
yusukebe merged 1 commit into
nextfrom
feat/batch-cookies
Oct 11, 2026
Merged

yusukebe merged 1 commit into
nextfrom
feat/batch-cookies

Conversation

@yusukebe

Copy link
Copy Markdown
Member

Batch now keeps the cookies a response sets and sends them on the next steps, like a browser. So "log in, then post" works in one batch. Before, an agent could not check a login flow with batch: in a trial, the grading agent forged a session cookie from the secret in .dev.vars instead. A cookie header in a step wins, and Max-Age=0 removes a cookie.

The author should do the following, if applicable

  • Add tests
  • Run tests
  • pnpm run format:fix && pnpm run lint:fix to format the code
  • Add TSDoc/JSDoc to document the code

@yusukebe
yusukebe merged commit 72c1293 into next Oct 11, 2026
4 checks passed
@yusukebe
yusukebe deleted the feat/batch-cookies branch October 11, 2026 01:29
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