Skip to content

Preserve cached alignment downloads - #40

Merged
happykhan merged 1 commit into
masterfrom
codex/preserve-cached-alignment-download
Aug 6, 2026
Merged

happykhan merged 1 commit into
masterfrom
codex/preserve-cached-alignment-download

Conversation

@happykhan

Copy link
Copy Markdown
Owner

Summary

  • retain the complete alignment worker response in the in-memory cache, including the raw BLAST output
  • keep Statistics download buttons available when a subsequent run reuses cached results
  • add a browser regression test that confirms fresh and cached downloads are identical

Root cause

The cache stored only the parsed alignment result. On a cache hit, the controller reconstructed the response with an empty raw output string, so the Statistics panel had no downloadable data and hid its Download button.

Validation

  • npm run verify
  • 176 unit tests passed
  • 24 production browser tests passed
  • Vite development-runtime alignment test passed

This PR is ready for review and has not been merged or deployed.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying brigx with  Cloudflare Pages  Cloudflare Pages

Latest commit: 542c774
Status: ✅  Deploy successful!
Preview URL: https://4da03f0e.brigx.pages.dev
Branch Preview URL: https://codex-preserve-cached-alignm.brigx.pages.dev

View logs

@happykhan
happykhan merged commit fcad8b7 into master Aug 6, 2026
3 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