Repository navigation
Refresh Stock Reservation example: Hono, Bun.SQL and ClickHouse Managed Postgres - #505
Merged
Merged
Conversation
Restructure the README as a reference: Stack table, a standalone "Connect Bun.SQL to ClickHouse Managed Postgres" section, the standard clickhousectl provisioning steps, Try it, Test, agent prompt and Limits. Behaviour is unchanged. - Rename SQL files to sql/01_roles, 02_grants, 03_seed, 99_cleanup and the password variables to MIGRATOR_PASSWORD / APP_PASSWORD - Move the Bun CA bundle note into src/database.ts - Fold tests/README.md into the README Test section and remove the example's AGENTS.md - `bun run test` now typechecks before the unit tests - Fix the duplicated applications row in the root README Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
lio-p
self-requested a review
October 23, 2026 14:28
lio-p
approved these changes
Oct 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refreshes
applications/stock-reservation(Hono, Bun 1.4.2 and Bun.SQL on ClickHouse Managed Postgres) to the standard example shape. App behaviour, dependency versions and the lockfile are unchanged.README: cut from 512 to about 260 lines. It now has:
clickhousectlprovisioning, schema and run stepsEnvironment-specific setup instructions are removed.
Other changes:
sql/01_roles.sql,02_grants.sql,03_seed.sqland99_cleanup.sql. The password variables are nowMIGRATOR_PASSWORDandAPP_PASSWORD.sql/migrations/001_initial.sqlandsrc/database.tskeep their paths.src/database.ts.tests/README.mdis folded into the README's Test section, and the example'sAGENTS.mdis removed.bun run testnow runs the typecheck before the unit tests. CI is unchanged apart from a comment.applicationsrow is merged into one.Verified against ClickHouse Managed Postgres 18.6:
Walkthrough article: https://clickhouse.com/resources/engineering/build-stock-reservation-api-hono-bun-postgres
🤖 Generated with Claude Code