Skip to content

fix(bff): upgrade backendkit to v1.27.0 (logout tombstone in MemoryStore) - #68

Merged
ovander merged 1 commit into
mainfrom
chore/backendkit-1.27.0
Oct 11, 2026
Merged

ovander merged 1 commit into
mainfrom
chore/backendkit-1.27.0

Conversation

@ovander

@ovander ovander commented Oct 11, 2026

Copy link
Copy Markdown
Owner

What and why

The admin BFF keeps its sessions in backendkit's bff.MemoryStore. Until backendkit v1.26.1, a request in flight during a sign-out could re-insert the session the logout had just revoked. Two writes did that: the gateway touching the session on a proxied call, and a token refresh writing rotated tokens back. backendkit v1.26.1 makes MemoryStore.Delete keep a one-hour tombstone that Put respects (ovander/backendkit#121), as the Postgres store always has.

  • bff/go.mod: backendkit v1.25.0 → v1.27.0, from the published tag.
  • Nothing else in v1.26.0–v1.27.0 reaches this BFF: scopes in jwtauth, conformance and ServiceTokenWithScopes are unused here.
  • bff/README.md names v1.27.0.

How it was tested

  • npm run lint:check: not run, no SPA change
  • npx vue-tsc -b && npm run build: not run, no SPA change
  • npm run coverage: not run, no SPA change
  • npx playwright test: not run, no SPA change
  • ./scripts/npm-audit-gate.sh: not run, no SPA change
  • cd bff && go vet ./... && go test -race ./... && golangci-lint run ./... (0 issues)
  • No token reaches the browser, no new XSS sink, CSP unchanged
  • A line is added under ## [Unreleased] in CHANGELOG.md

The race itself is covered by backendkit's tests, including a concurrent one under -race.

Deploy notes

  • New or changed BFF environment variable: none.
  • Caddy or CSP change: none.
  • Order with the Socrate server: none.

🤖 Generated with Claude Code

https://claude.ai/code/session_01GKRxaeYxyDhmt42cehLsGA


Generated by Claude Code

…ore)

backendkit v1.26.1 makes MemoryStore keep a logout tombstone, so a
request in flight during a sign-out (the Gateway's touch or a token
refresh writing the session back) can no longer re-insert a session the
logout revoked. The admin BFF keeps its sessions in MemoryStore. Nothing
else in v1.26.0..v1.27.0 reaches it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GKRxaeYxyDhmt42cehLsGA
@ovander
ovander merged commit aff7f2b into main Oct 11, 2026
6 checks passed
ovander pushed a commit that referenced this pull request Oct 11, 2026
Moves [Unreleased] under [1.7.1] - 2026-10-11 (#68 backendkit v1.27.0, #67 docs) in Changed-then-Fixed order, updates the compare links, package.json and lockfile versions, and the push.sh examples.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GKRxaeYxyDhmt42cehLsGA
@ovander ovander mentioned this pull request Oct 11, 2026
1 task done
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.

2 participants