feat(core/api): add bunfig.toml detection and bun package manager fallback prelude - #314
Open
farrasrayhand wants to merge 19 commits into
Open
feat(core/api): add bunfig.toml detection and bun package manager fallback prelude#314farrasrayhand wants to merge 19 commits into
farrasrayhand wants to merge 19 commits into
Conversation
…nal helpers, webhook SSRF validation
…ve test dependency issues
…id YAML parse error
…regex doesn't support nested braces
…r compat) GNU tar does not support --no-absolute-names; it strips absolute paths by default. The pre-extraction assertTarEntriesSafe already validates all entry paths for traversal attacks.
…blicWebhookUrl - Replace assertPublicWebhookUrl call with assertPublicUrlLiteral from ssrf-guard - Delete redundant webhook-url.ts and its test - Add 22 ssrf-guard tests covering isPrivateIp, isBlockedHostname, assertPublicHostLiteral, assertPublicUrlLiteral
…eFetch already handles SSRF internally
…l, build, and start commands
farrasrayhand
force-pushed
the
feat/bun-package-manager-optimization
branch
from
July 30, 2026 03:26
d12c737 to
6631a70
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Enhances Bun package manager support across Openship by adding
bunfig.tomlauto-detection instack-detector.tsand apackageManagerEnsureCommandprelude to ensure Bun is available during bare-metal or Node.js image deployments.Motivation
Bun projects using
bunfig.toml(without checking inbun.lockb) or deployed on bare-metal Node.js build steps needed explicit detection and fallback installation so build steps execute reliably and fast.Related issue
None
Changes
bunfig.tomltodetectPackageManagerfile matching rules.bunfig.tomldetects asbun.packageManagerEnsureCommandto output a(command -v bun || npm i -g bun)prelude for Bun package manager targets.Verification
Verified via unit tests in
apps/apiandpackages/core:Checklist
bun run test,bun run --cwd <workspace> lint, andbun formatall pass locally