Skip to content

Feat/revlogs#39

Merged
Shunseii merged 9 commits intofeat/ai-autcompletionfrom
feat/revlogs
Apr 2, 2026
Merged

Feat/revlogs#39
Shunseii merged 9 commits intofeat/ai-autcompletionfrom
feat/revlogs

Conversation

@Shunseii
Copy link
Copy Markdown
Owner

@Shunseii Shunseii commented Apr 2, 2026

No description provided.

Shunseii and others added 8 commits March 28, 2026 00:41
Add revlog recording for flashcard reviews and backlog clearing via
new stats API routes. Fix Eden Treaty input types resolving as `any`
by installing @types/bun in the web app (elysiajs/eden#189) and
pinning elysia to 1.4.27 to deduplicate the package.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Replace raw SQL queries and prepared statements with Drizzle's
query builder for the clearBacklog generator. This gives us proper
type inference on query results (e.g. direction is now correctly
typed without manual casting).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The fuzzy tolerance was calculated from the raw input length, but Orama
applies it against stemmed tokens in the index. Arabic words that stem
shorter (e.g. مهرجان→مهرج) got tolerance=2 on a 4-char stem, matching
nearly everything. Also replaced exact:true with tolerance:0 since
exact:true bypasses stemming on the query and never matched stemmed
index tokens.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
sync-wasm doesn't support ON DELETE CASCADE, so flashcard rows were
orphaned when a dictionary entry was deleted. This caused empty
flashcards to appear in the review queue until the next remote sync.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@Shunseii Shunseii self-assigned this Apr 2, 2026
@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
bahar-marketing 26f749c Commit Preview URL Apr 01 2026, 11:59 PM

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 2, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: e4568c6c-9e35-4a0f-8a70-18e663b1a6bf

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/revlogs

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

- ts-ignore Polar SDK deep import that fails under Bundler moduleResolution
- Add explicit return in userRateLimit middleware to satisfy noImplicitReturns
- Cast response type in http-logger to access status property
- Guard against undefined type in autofill mutation for add/edit routes

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented Apr 2, 2026

Deploying bahar with  Cloudflare Pages  Cloudflare Pages

Latest commit: 2ae52e8
Status: ✅  Deploy successful!
Preview URL: https://f58b8981.bahar-5xu.pages.dev
Branch Preview URL: https://feat-revlogs.bahar-5xu.pages.dev

View logs

@Shunseii Shunseii merged commit 1955a4d into feat/ai-autcompletion Apr 2, 2026
2 checks passed
@Shunseii Shunseii deleted the feat/revlogs branch April 2, 2026 00:49
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