Repository navigation
build: prepare the 0.1.0 release - #96
Conversation
Set date-released in CITATION.cff to the planned release date and add the curated release notes for 0.1.0 to the docs, which CI's readiness check and the release workflow require once a release is in preparation. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Reviewer's GuideConfigurationRegister the 0.1.0 release notes in the MkDocs navigation so they are published with the documentation.
DocumentationAdd the curated 0.1.0 release notes and update the operator guidance to mention origin validation for token refreshes as well as logout.
Update the citation metadata for the 0.1.0 release.
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## dev #96 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 25 25
Lines 699 699
Branches 196 196
=========================================
Hits 699 699 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Set date-released to 2026-11-19 and reorder the CITATION.cff authors by lines added on dev (without lock files, public/ and src/components/ui/, as in #74). Add everything merged since the first draft to the release notes: TES tasks with the user's token (#90), the WES run details (#100), the minimal dashboard (#108), the Helm chart (#92, #95), the image end-to-end tests (#99), the deployment docs (#101), the Next.js update (#102) and the fixes #109 and #110. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The security recommendations in the deployment guide named only the logout endpoint as checked against APP_ORIGIN; since #119, token refreshes are checked the same way (rejectForeignOrigin). Co-Authored-By: Claude Opus 5.5 <[email protected]>
Linked issuesChecked at commit 9ad4b78 #78 build: prepare the 0.1.0 release · 2 of 5 met · 3 to check by hand
|
There was a problem hiding this comment.
Hey - I've found 2 issues
Prompt for AI Agents
Please address the comments from this code review:
## Individual Comments
### Comment 1
<location path="docs/releases/0.1.0.md" line_range="26" />
<code_context>
+## Security
+
+- Send a Content Security Policy with a new nonce for each request, and the headers `X-Frame-Options`, `X-Content-Type-Options`, `Referrer-Policy` and, in production, `Strict-Transport-Security`; serve the code editor's workers from Krini instead of a CDN (#112, #120)
+- Check the `Origin` of token refreshes against `APP_ORIGIN`, as for logouts; revoke the refresh token at the provider on logout, and keep a refresh in flight from undoing a logout (#106, #111, #119)
+- Keep local environment files and keys out of the image and the build context (#53, #68)
+
</code_context>
<issue_to_address>
**Logout may leave refresh token valid**
When the provider does not advertise a revocation endpoint or its revocation request fails, the logout route skips revocation when the provider does not advertise a revocation endpoint, and logs rather than failing when the revocation request errors. The release note says the refresh token is revoked on logout, but in those cases the token remains usable at the provider after the app reports a successful logout.
Qualify the release note to say revocation is attempted when supported and succeeds, or change logout behavior if revocation is intended to be guaranteed.
</issue_to_address>
### Comment 2
<location path="docs/releases/0.1.0.md" line_range="31" />
<code_context>
+
+## Fixes
+
+- End the session only when the provider rejects the refresh token (RFC 6749), keep it and retry with backoff while the provider is unavailable, refresh in one tab at a time, and no longer send visitors with a stale session cookie to the login page (#111, #119)
+- Keep the user logged in when the provider sends no new ID token on refresh, and reject a refreshed ID token of another user or issuer (#111, #119)
+- Ship the `NOTICE` file in the image, now with the notice of the Ace editor (#112, #120)
</code_context>
<issue_to_address>
**Accepted refresh can end session**
When the provider accepts a refresh but the refreshed ID token fails the session identity checks, a provider can accept the refresh while the returned ID token has a different subject or issuer; the refresh route then returns `session_ended`, and `createTokenRefresher` ends the page session. The release note says sessions end only when the provider rejects the refresh token, so users can be logged out despite provider acceptance.
Qualify the release note to include other terminal session-validation failures, or change the implementation if those cases are not intended to end the session.
</issue_to_address>Sourcery assessment
Approval pending. 2 findings to address first.
Blocking findings: docs/releases/0.1.0.md:26, docs/releases/0.1.0.md:31
Token revocation on logout happens only where the provider offers it, and a refreshed ID token of another user or issuer also ends the session (Sourcery review). Co-Authored-By: Claude Opus 5.5 <[email protected]>
Summary
Release prep for v0.1.0, refreshed again on 2026-11-19 with
dev(a383678) merged in (no rebase), after the fixes of the pre-release review landed:CITATION.cff:date-released: "2026-11-19"(the version is0.1.0, as inpackage.json). Authors ordered by lines added ondev, counted as in chore: add CODEOWNERS, CITATION.cff and NOTICE #74 (git log --no-merges --numstat origin/devwithout lock files,public/andsrc/components/ui/); recounted after the merge, the order is unchanged.docs/releases/0.1.0.md: the curated release notes in the org format (intro; Features, Security, Fixes, Documentation, Maintenance; each bullet with its issue and PR numbers). New in this refresh:Origincheck of token refreshes, token revocation on logout, and a logout no longer undone by a refresh in flight (fix: a refresh in flight can undo the logout #106, fix: harden session refresh and logout #111, fix(auth): harden session refresh and logout #119).sub/isscheck (fix: harden session refresh and logout #111, fix(auth): harden session refresh and logout #119);NOTICEin the image (fix: send security response headers #112, fix: send security response headers #120).offline_accessin.env.example(docs: fix the registry URL example #113, docs: add the API path to the registry URL #114); the session and security header docs (fix: harden session refresh and logout #111, fix: send security response headers #112, fix(auth): harden session refresh and logout #119, fix: send security response headers #120).## Commits(GitHub's generated notes) and the**Full Changelog**line.mkdocs.yml: theReleasessection innav, asdocs/development/releasing.mdasks.deployment/Chart.yamlstays at its placeholders (0.0.0,dev): the release workflow sets the chart version from the tag.Light lane: only metadata and docs change against
dev, no code, CI or settings; I reviewed the diff myself.Unrelated fixes
docs/operator-guide/deployment.md("Security recommendations", Origin validation): names the token refresh endpoint next to the logout, as both are checked againstAPP_ORIGINsince fix(auth): harden session refresh and logout #119 (d1e5683).Verification
uvx cffconvert --validate -i CITATION.cff: valid (schema 1.2.0) at the earlier refresh;CITATION.cffis unchanged since.bun run lint(biome): clean.bunx next typegen && bunx tsc --noEmit: clean.bun run test:coverage: 346 tests passed (19 files), coverage thresholds met (Bun 1.4.4).mkdocs build --strictwithdocs/requirements.txt: passed.publish.py check, pinnedbf3840c): not run locally this time; CI'sRelease readinessjob runs it.dev, whose CI ran them); CI runs Chromium, Firefox and the image.dev(a383678): 0 open alerts; the latest Trivy image and CodeQL analyses have 0 results.CI passed,Release readiness(notes checker),Docs,Scan image,End-to-end tests(Chromium, Firefox, image),Chart install, CodeQL, Codecov, Read the Docs and Vercel.Open questions
None.
Closes #78
🤖 Generated with Claude Code