Skip to content

ci: add Docker build and run tests for Node and Bun#100

Merged
rsbh merged 15 commits into
mainfrom
ci/docker-build-test
May 22, 2026
Merged

ci: add Docker build and run tests for Node and Bun#100
rsbh merged 15 commits into
mainfrom
ci/docker-build-test

Conversation

@rsbh
Copy link
Copy Markdown
Member

@rsbh rsbh commented May 22, 2026

Summary

  • Add Dockerfile.bun and Dockerfile.node for runtime-specific builds
  • Both use basic example to build and serve chronicle
  • CI matrix runs Docker build + health check on both runtimes

CI checks

  • Docker build succeeds
  • Server starts and responds on port 3000
  • Root redirects (307)
  • /docs renders with id="root"
  • /api/search returns results

Test plan

  • CI passes for bun runtime
  • CI passes for node runtime

Generated with Claude Code

Build and health-check chronicle with basic example on both runtimes.
Verifies server starts, pages render, and search API responds.

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

vercel Bot commented May 22, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
chronicle Ready Ready Preview, Comment May 22, 2026 4:43am

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 22, 2026

Review Change Stack

Warning

Rate limit exceeded

@rsbh has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 4 minutes and 41 seconds before requesting another review.

You’ve run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: e8961773-bbbf-4117-9ccd-6cdc25ac8cfb

📥 Commits

Reviewing files that changed from the base of the PR and between a38e999 and 5550704.

⛔ Files ignored due to path filters (1)
  • examples/basic/content/docs/test-image.png is excluded by !**/*.png
📒 Files selected for processing (5)
  • .github/workflows/docker-smoke-test.yaml
  • docker-tests/Dockerfile.bun
  • docker-tests/Dockerfile.node
  • docker-tests/smoke-test.mjs
  • packages/chronicle/src/server/vite-config.ts
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch ci/docker-build-test

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.

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>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Add test PNG to basic example and verify /api/image endpoint in CI.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
rsbh and others added 3 commits May 22, 2026 09:38
8 assertions: index, page API, search API, search query,
image resize, image 400, image invalid width, image 404.

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>
rsbh and others added 2 commits May 22, 2026 09:40
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Pack CLI as tarball, init project in runner, install locally.
Tested on both Node and Bun — all 8 smoke tests pass.

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>
@rsbh rsbh merged commit d7bc089 into main May 22, 2026
6 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.

2 participants