Skip to content

Release 0.3.5#1048

Merged
Wirasm merged 7 commits into
mainfrom
dev
Apr 10, 2026
Merged

Release 0.3.5#1048
Wirasm merged 7 commits into
mainfrom
dev

Conversation

@Wirasm

@Wirasm Wirasm commented Apr 10, 2026

Copy link
Copy Markdown
Collaborator

Release 0.3.5

Fixes for archon serve process lifecycle and static file serving.

Fixed

  • archon serve process exits immediately: the CLI called process.exit(0) after startServer() returned, killing the server. Now blocks on SIGINT/SIGTERM so the server stays running (fix(server): strip leading slash in serveStatic for absolute webDistPath #1047)
  • Web dist path existence check: server logs a warning at startup if the web dist directory is missing, instead of silently serving 404s
  • Favicon route: added explicit /favicon.png route for the web UI

Merging this PR releases 0.3.5 to main.

github-actions Bot and others added 7 commits April 10, 2026 13:06
Hono's serveStatic passes c.req.path (e.g. '/assets/foo.js') to path.join
with the root. When root is absolute, path.join treats the leading slash
as an absolute segment and discards root entirely. Add rewriteRequestPath
to strip the leading slash so the full path resolves correctly.
…ess.once

- Remove stripLeadingSlash — Bun's path.join handles leading slashes correctly
- Add existsSync check on webDistPath at startup with log.warn
- Switch process.on to process.once for signal handlers in serve.ts
- Keep favicon.png explicit route (useful addition)
fix(server): strip leading slash in serveStatic for absolute webDistPath
@coderabbitai

coderabbitai Bot commented Apr 10, 2026

Copy link
Copy Markdown

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: 26208a20-2200-442c-83aa-43da017b4d97

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 dev

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.

@Wirasm Wirasm merged commit b099750 into main Apr 10, 2026
4 of 7 checks passed
Tyone88 pushed a commit to Tyone88/Archon that referenced this pull request Apr 16, 2026
joaobmonteiro pushed a commit to joaobmonteiro/Archon that referenced this pull request Apr 26, 2026
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