Skip to content

fix: compose prerequisite tasks in router and dashboard - #5

Merged
jimsynz merged 1 commit into
mainfrom
fix/compose-core-in-subtasks
Mar 23, 2026
Merged

jimsynz merged 1 commit into
mainfrom
fix/compose-core-in-subtasks

Conversation

@jimsynz

@jimsynz jimsynz commented Mar 23, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • phx.install.router now composes phx.install.core so the application module and supervision tree are set up when run standalone
  • phx.install.dashboard now composes phx.install.endpoint and phx.install.live so all prerequisite infrastructure is in place when run standalone
  • Updated router tests to reflect that the Phoenix extension (registered by core) places controllers under controllers/

Closes #4

Test plan

  • All 155 tests pass
  • Verify mix phx.install.router standalone creates application.ex with supervision children
  • Verify mix phx.install.dashboard standalone creates full Phoenix + LiveView infrastructure

Router now composes `phx.install.core` and dashboard composes
`phx.install.endpoint` and `phx.install.live` so that running these
tasks standalone sets up the application module and supervision tree.

Closes #4
@jimsynz
jimsynz merged commit d8c0f4b into main Mar 23, 2026
2 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.

Phoenix related children not added to Application Supervisor

1 participant