Skip to content

fix: resolve custom bundle paths in dev - #6990

Open
omercnet wants to merge 1 commit into
anomalyco:devfrom
omercnet:fix/6253-bundle-dev
Open

fix: resolve custom bundle paths in dev#6990
omercnet wants to merge 1 commit into
anomalyco:devfrom
omercnet:fix/6253-bundle-dev

Conversation

@omercnet

Copy link
Copy Markdown

Related Issues

Fixes #6253

In a Nutshell

  • Resolve custom bundles from the project root
  • Cover relative and absolute bundle paths

Description

Custom bundle paths remained relative during dev builds, while the Node runtime used the same path as both its working directory and part of the handler path. Resolve relative bundles against the SST config directory so dev handler loading matches deploy behavior, while preserving absolute bundle paths.

Must

  • Tests
  • Documentation (not applicable)

Verification

  • go test ./pkg/runtime
  • bun run test:cli
  • bun run build:platform
  • bun run build:cli

@omercnet

Copy link
Copy Markdown
Author

CI is blocked pending maintainer approval of the fork workflow run: https://github.com/anomalyco/sst/actions/runs/33208975206

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.

bundle option breaks handler resolution in dev mode

1 participant