Skip to content

feat: surface extra mise.toml packages in build output#546

Open
constantinexanthos wants to merge 1 commit intorailwayapp:mainfrom
constantinexanthos:feat/surface-user-mise-packages
Open

feat: surface extra mise.toml packages in build output#546
constantinexanthos wants to merge 1 commit intorailwayapp:mainfrom
constantinexanthos:feat/surface-user-mise-packages

Conversation

@constantinexanthos
Copy link
Copy Markdown

Closes #419

Problem

When users define additional packages in their mise.toml (e.g. redis, terraform), those packages are installed during the build but never shown in the output. The install step only lists packages that Railpack's providers auto-detected, leaving users with no visibility into what else is being installed.

Solution

After collecting provider-detected packages, the build step now reads the user's mise config files, parses the [tools] section, and appends any extra package names (not already tracked by providers) to the install step's display name.

Before: install mise packages: bun, node
After: install mise packages: bun, node, go, python

Changes

  • core/generate/mise_step_builder.go: Parse user mise.toml files for extra tool names and include them in build output
  • Updated mise-config snapshot to reflect the new output

Testing

  • All 110 snapshot tests pass
  • Tested with a sample project containing extra mise.toml packages

Resolves railwayapp#419. When users define additional packages in their mise.toml
(beyond what Railpack providers auto-detect), those package names now
appear in the install step output. This gives users visibility into
all packages being installed during the build.
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.

List extra packages from mise.toml in output

1 participant