code-foundry 1.9.11 → 1.9.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -87,15 +87,25 @@ jobs:
|
|
|
87
87
|
env:
|
|
88
88
|
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
|
89
89
|
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
|
|
90
|
+
BUILD_SCRIPT: ${{ inputs.build-script }}
|
|
90
91
|
WRANGLER_VERSION: ${{ inputs.wrangler-version }}
|
|
91
92
|
MODE: ${{ inputs.mode }}
|
|
92
93
|
run: |
|
|
93
94
|
set -euo pipefail
|
|
94
|
-
|
|
95
|
+
# Bun callers install workspace dependencies with Bun. Keep that
|
|
96
|
+
# package-manager context for Wrangler's OpenNext auto-delegation;
|
|
97
|
+
# Wrangler otherwise selects npm/npx and cannot resolve the local
|
|
98
|
+
# opennextjs-cloudflare binary from a Bun workspace.
|
|
99
|
+
if [ -n "$BUILD_SCRIPT" ]; then
|
|
100
|
+
wrangler=(bunx --bun "wrangler@$WRANGLER_VERSION")
|
|
101
|
+
else
|
|
102
|
+
wrangler=(npx -y "wrangler@$WRANGLER_VERSION")
|
|
103
|
+
fi
|
|
104
|
+
"${wrangler[@]}" --version
|
|
95
105
|
if [ "$MODE" = "production" ]; then
|
|
96
|
-
|
|
106
|
+
"${wrangler[@]}" deploy 2>&1 | tee deploy-output.txt
|
|
97
107
|
elif [ "$MODE" = "preview" ]; then
|
|
98
|
-
|
|
108
|
+
"${wrangler[@]}" versions upload --message "preview ${GITHUB_SHA::7}" 2>&1 | tee deploy-output.txt
|
|
99
109
|
else
|
|
100
110
|
echo "Unsupported mode: $MODE (use preview or production)" >&2
|
|
101
111
|
exit 1
|
|
@@ -80,7 +80,7 @@ permissions:
|
|
|
80
80
|
jobs:
|
|
81
81
|
ci:
|
|
82
82
|
name: CI
|
|
83
|
-
if: vars.CI_BILLING_PAUSED != 'true' && (inputs.mode == 'fast' || inputs.mode == 'audit')
|
|
83
|
+
if: vars.CI_BILLING_PAUSED != 'true' && (inputs.mode == 'fast' || inputs.mode == 'audit' || inputs.mode == 'release')
|
|
84
84
|
uses: ./.github/workflows/ci.yml
|
|
85
85
|
with:
|
|
86
86
|
runtime-repository: ${{ inputs.runtime-repository }}
|
|
@@ -92,7 +92,7 @@ jobs:
|
|
|
92
92
|
|
|
93
93
|
test:
|
|
94
94
|
name: Test
|
|
95
|
-
if: vars.CI_BILLING_PAUSED != 'true' && (inputs.mode == 'fast' || inputs.mode == 'audit')
|
|
95
|
+
if: vars.CI_BILLING_PAUSED != 'true' && (inputs.mode == 'fast' || inputs.mode == 'audit' || inputs.mode == 'release')
|
|
96
96
|
uses: ./.github/workflows/test.yml
|
|
97
97
|
with:
|
|
98
98
|
runtime-repository: ${{ inputs.runtime-repository }}
|
|
@@ -106,7 +106,7 @@ jobs:
|
|
|
106
106
|
|
|
107
107
|
security:
|
|
108
108
|
name: Security
|
|
109
|
-
if: vars.CI_BILLING_PAUSED != 'true' && inputs.mode == 'audit'
|
|
109
|
+
if: vars.CI_BILLING_PAUSED != 'true' && (inputs.mode == 'audit' || inputs.mode == 'release')
|
|
110
110
|
uses: ./.github/workflows/security.yml
|
|
111
111
|
with:
|
|
112
112
|
runtime-repository: ${{ inputs.runtime-repository }}
|
|
@@ -115,8 +115,8 @@ jobs:
|
|
|
115
115
|
|
|
116
116
|
# Aggregate check: "Validation / Gate" (caller job name + this job name).
|
|
117
117
|
# Always evaluates; only jobs required for the mode must have succeeded.
|
|
118
|
-
# The release tier runs
|
|
119
|
-
#
|
|
118
|
+
# The release tier runs the available CI/test/security suite. Its generated
|
|
119
|
+
# release diff policy executes as a conditional step below, so no separate
|
|
120
120
|
# release-policy job renders skipped checks on ordinary pull requests.
|
|
121
121
|
gate:
|
|
122
122
|
name: Gate
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.9.13](https://github.com/0xPlayerOne/code-foundry/compare/v1.9.12...v1.9.13) (2026-09-08)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **cloudflare:** preserve Bun package manager for OpenNext deploys ([#529](https://github.com/0xPlayerOne/code-foundry/issues/529)) ([2f1bc00](https://github.com/0xPlayerOne/code-foundry/commit/2f1bc000ea28e207e4f12cc7abb5c330cb8448b9))
|
|
9
|
+
|
|
10
|
+
## [1.9.12](https://github.com/0xPlayerOne/code-foundry/compare/v1.9.11...v1.9.12) (2026-09-08)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* **validation:** run available suites for no-CodeQL releases ([805c470](https://github.com/0xPlayerOne/code-foundry/commit/805c470f188ccfe7410bc9b2f02022d50c68f321))
|
|
16
|
+
|
|
3
17
|
## [1.9.11](https://github.com/0xPlayerOne/code-foundry/compare/v1.9.10...v1.9.11) (2026-09-08)
|
|
4
18
|
|
|
5
19
|
|
package/docs/CONFIGURATION.md
CHANGED
|
@@ -183,4 +183,6 @@ GitHub deployment plus status with the workers.dev URL, and respects
|
|
|
183
183
|
`CLOUDFLARE_ACCOUNT_ID` secrets in the consumer repository. Bun consumers may
|
|
184
184
|
also pass `build-script`, `install-working-directory`, and `bun-version`; the
|
|
185
185
|
runtime installs the frozen lockfile and builds the Worker before invoking
|
|
186
|
-
Wrangler.
|
|
186
|
+
Wrangler. Bun-backed callers invoke Wrangler through `bunx` so OpenNext's
|
|
187
|
+
production delegation resolves the workspace-local `opennextjs-cloudflare`
|
|
188
|
+
binary; callers without `build-script` retain the npm/npx path.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "code-foundry",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.13",
|
|
4
4
|
"description": "A fast, language-aware repository factory for agent-ready workflows, testing, security, and release automation.",
|
|
5
5
|
"homepage": "https://github.com/0xPlayerOne/code-foundry#readme",
|
|
6
6
|
"bugs": {
|