code-foundry 1.44.4 → 1.44.6
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.
- package/.github/workflows/release.yml +22 -4
- package/CHANGELOG.md +15 -15
- package/package.json +1 -1
- package/src/lib/profile.mjs +4 -1
|
@@ -187,17 +187,35 @@ jobs:
|
|
|
187
187
|
# with HTTP 403 even on REST, so the configured automation token is
|
|
188
188
|
# validated against the current repository before any write. gh api
|
|
189
189
|
# authenticates through the GH_TOKEN environment variable and never
|
|
190
|
-
# prints the token; the
|
|
191
|
-
#
|
|
192
|
-
#
|
|
190
|
+
# prints the token; the response body is discarded and only the exit
|
|
191
|
+
# status selects the credential for the rest of the job.
|
|
192
|
+
#
|
|
193
|
+
# Reading the repository does not imply the write this workflow
|
|
194
|
+
# needs: fine-grained tokens can pass the read probe and even create
|
|
195
|
+
# draft releases while the git-refs endpoint still rejects them, and
|
|
196
|
+
# release-please creates the release tag through that endpoint when
|
|
197
|
+
# the manifest config enables force-tag-creation. Probe the write
|
|
198
|
+
# directly with a throwaway tag on the current commit; delete it on
|
|
199
|
+
# success so the probe leaves no trace. Any failure falls back to
|
|
200
|
+
# the short-lived workflow token, whose integration role creates
|
|
201
|
+
# refs without this limitation.
|
|
202
|
+
write_ok=false
|
|
193
203
|
if [ "$HAS_AUTOMATION_TOKEN" = true ] && gh api "repos/${GITHUB_REPOSITORY}" --jq '.full_name' >/dev/null 2>&1; then
|
|
204
|
+
probe_ref="refs/tags/token-write-probe-${GITHUB_RUN_ID}-${GITHUB_RUN_ATTEMPT}"
|
|
205
|
+
if gh api -X POST "repos/${GITHUB_REPOSITORY}/git/refs" \
|
|
206
|
+
-f "ref=$probe_ref" -f "sha=${GITHUB_SHA}" >/dev/null 2>&1; then
|
|
207
|
+
gh api -X DELETE "repos/${GITHUB_REPOSITORY}/git/refs/tags/token-write-probe-${GITHUB_RUN_ID}-${GITHUB_RUN_ATTEMPT}" >/dev/null 2>&1 || true
|
|
208
|
+
write_ok=true
|
|
209
|
+
fi
|
|
210
|
+
fi
|
|
211
|
+
if [ "$write_ok" = true ]; then
|
|
194
212
|
echo "auto_merge=true" >> "$GITHUB_OUTPUT"
|
|
195
213
|
echo "token_source=configured" >> "$GITHUB_OUTPUT"
|
|
196
214
|
else
|
|
197
215
|
echo "auto_merge=false" >> "$GITHUB_OUTPUT"
|
|
198
216
|
echo "token_source=fallback" >> "$GITHUB_OUTPUT"
|
|
199
217
|
if [ "$HAS_AUTOMATION_TOKEN" = true ]; then
|
|
200
|
-
echo "::warning title=Release token fallback::The configured CODE_FOUNDRY_TOKEN was rejected by GitHub; failing over to the short-lived workflow token. The version pull request will be left for manual merge."
|
|
218
|
+
echo "::warning title=Release token fallback::The configured CODE_FOUNDRY_TOKEN was rejected by GitHub for the tag-creation write release-please needs; failing over to the short-lived workflow token. The version pull request will be left for manual merge."
|
|
201
219
|
fi
|
|
202
220
|
fi
|
|
203
221
|
- name: Release Please (automation token)
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.44.6](https://github.com/0xPlayerOne/code-foundry/compare/v1.44.5...v1.44.6) (2026-10-05)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **config:** pin the lint-bearing CI lane to a standard runner by default ([#718](https://github.com/0xPlayerOne/code-foundry/issues/718)) ([fc0ed14](https://github.com/0xPlayerOne/code-foundry/commit/fc0ed14434151fb11eef7c0d4c324c7a370d5058))
|
|
9
|
+
|
|
10
|
+
## [1.44.5](https://github.com/0xPlayerOne/code-foundry/compare/v1.44.4...v1.44.5) (2026-10-05)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* **release:** probe the tag-creation write before trusting the automation token ([#716](https://github.com/0xPlayerOne/code-foundry/issues/716)) ([fabaddc](https://github.com/0xPlayerOne/code-foundry/commit/fabaddcb05d5dc701248b693f91be6ee433f8d39))
|
|
16
|
+
|
|
3
17
|
## [1.44.4](https://github.com/0xPlayerOne/code-foundry/compare/v1.44.3...v1.44.4) (2026-10-03)
|
|
4
18
|
|
|
5
19
|
|
|
@@ -136,23 +150,9 @@
|
|
|
136
150
|
|
|
137
151
|
* perf-budget-best-of-n ([#674](https://github.com/0xPlayerOne/code-foundry/issues/674)) ([c377ede](https://github.com/0xPlayerOne/code-foundry/commit/c377ede617d89fb0606413ab7b5d478330c49e93))
|
|
138
152
|
|
|
139
|
-
## [1.37.2](https://github.com/0xPlayerOne/code-foundry/compare/v1.37.1...v1.37.2) (2026-09-30)
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
### Bug Fixes
|
|
143
|
-
|
|
144
|
-
* **cloudflare:** surface the cf deploy error instead of discarding it ([66de0d1](https://github.com/0xPlayerOne/code-foundry/commit/66de0d1e8238315dbd910abbd907e921cbc6764f))
|
|
145
|
-
|
|
146
|
-
## [1.37.1](https://github.com/0xPlayerOne/code-foundry/compare/v1.37.0...v1.37.1) (2026-09-30)
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
### Bug Fixes
|
|
150
|
-
|
|
151
|
-
* **cloudflare:** build the production Build Output before the prebuilt deploy ([5f2f83c](https://github.com/0xPlayerOne/code-foundry/commit/5f2f83c6d6135c403b520f83469c0c5ca350cdba))
|
|
152
|
-
|
|
153
153
|
<!-- code-foundry: packaged changelog -->
|
|
154
154
|
|
|
155
155
|
---
|
|
156
156
|
|
|
157
|
-
This packaged changelog lists the 20 most recent releases;
|
|
157
|
+
This packaged changelog lists the 20 most recent releases; 226 older releases are omitted to keep the package small.
|
|
158
158
|
See the [full changelog](https://github.com/0xPlayerOne/code-foundry/blob/main/CHANGELOG.md) for the complete history.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "code-foundry",
|
|
3
|
-
"version": "1.44.
|
|
3
|
+
"version": "1.44.6",
|
|
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": {
|
package/src/lib/profile.mjs
CHANGED
|
@@ -126,7 +126,10 @@ export function recommendRunners(root) {
|
|
|
126
126
|
hasBrowserProject(root)
|
|
127
127
|
return {
|
|
128
128
|
runner: heavy ? 'ubuntu-latest' : 'ubuntu-slim',
|
|
129
|
-
|
|
129
|
+
// The CI lane carries the lint step: oxlint's allocator pool reserves
|
|
130
|
+
// 4 GiB of virtual address space per worker and aborts on ubuntu-slim,
|
|
131
|
+
// so the lint-bearing lane always pins a standard runner.
|
|
132
|
+
ci_runner: 'ubuntu-latest',
|
|
130
133
|
test_runner: heavy ? 'ubuntu-latest' : 'ubuntu-slim',
|
|
131
134
|
unit_runner: heavy ? 'ubuntu-latest' : 'ubuntu-slim',
|
|
132
135
|
performance_runner: 'ubuntu-latest',
|