Skip to content

Refactor Astro runtime loading and Hono mode options#15

Draft
aminevg wants to merge 1 commit intomainfrom
t3code/architecture-codebase-review
Draft

Refactor Astro runtime loading and Hono mode options#15
aminevg wants to merge 1 commit intomainfrom
t3code/architecture-codebase-review

Conversation

@aminevg
Copy link
Contributor

@aminevg aminevg commented Mar 22, 2026

Summary

  • Refactors Astro manifest and page-module loading into dedicated core helpers.
  • Updates dev rendering to source route assets from Astro route metadata and handle dev asset URL prefixing.
  • Simplifies integration setup by removing the old renderer/script discovery helpers.
  • Adds explicit Hono mode and root options, with stop() support on middleware.
  • Expands tests to cover explicit production mode behavior and updated fixture wiring.

Testing

  • pnpm build
  • pnpm run typecheck
  • pnpm run ci:biome
  • pnpm test

- Move Astro manifest and route asset loading into shared core helpers
- Add explicit Hono `mode` and `root` options with dev middleware cleanup
- Update fixtures and tests for the new runtime wiring
@aminevg aminevg marked this pull request as draft March 22, 2026 14:36
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