Skip to content

cutelyst: add async-db and fortunes via ASql and Cutelee - #1520

Open
dantti wants to merge 1 commit into
MDA2AV:mainfrom
dantti:cutelyst-async-db-fortunes
Open

dantti wants to merge 1 commit into
MDA2AV:mainfrom
dantti:cutelyst-async-db-fortunes

Conversation

@dantti

@dantti dantti commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add GET /async-db with ASql async Postgres (prepared range query, nested rating, empty fallback).
  • Add GET /fortunes with Cutelee templating: DB rows + runtime row, typed sort, XSS auto-escape.
  • Dockerfile builds/pins Cutelee and ASql; subscribe both profiles in meta.json. Local validate: 61 passed, 0 failed.

Test plan

  • scripts/validate.sh cutelyst (async-db + fortunes + existing H1 profiles)
  • Confirm Cutelee finds /templates/fortunes.html and body size / XSS checks pass
  • Official harness re-bench to publish async-db-* / fortunes-* results

Made with Cursor

Wire thread-local Postgres pools, prepared range queries, and a typed
fortunes sort rendered through a preloaded Cutelee template.

Co-authored-by: Cursor <cursoragent@cursor.com>

This branch has not been deployed

No deployments
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