code-foundry 1.52.1 → 1.52.3
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.
|
@@ -275,23 +275,26 @@ jobs:
|
|
|
275
275
|
|
|
276
276
|
const sleep = (seconds) =>
|
|
277
277
|
execFileSync('sleep', [String(seconds)]);
|
|
278
|
-
//
|
|
279
|
-
//
|
|
280
|
-
//
|
|
278
|
+
// gh reports a process exit code, not an HTTP status, in error.status.
|
|
279
|
+
// Retry only recognized transient read failures; a failed write may
|
|
280
|
+
// already have taken effect and must not be repeated blindly.
|
|
281
281
|
const gh = (args, options = {}) => {
|
|
282
|
-
|
|
282
|
+
const isRead = args.includes('GET');
|
|
283
|
+
for (let attempt = 0; attempt < 3; attempt += 1) {
|
|
283
284
|
try {
|
|
284
|
-
if (wait) sleep(wait);
|
|
285
285
|
return execFileSync('gh', args, {
|
|
286
286
|
...options,
|
|
287
287
|
encoding: 'utf8',
|
|
288
288
|
maxBuffer: 32 * 1024 * 1024,
|
|
289
289
|
});
|
|
290
290
|
} catch (error) {
|
|
291
|
-
const
|
|
292
|
-
const
|
|
293
|
-
|
|
294
|
-
|
|
291
|
+
const detail = String(error.stderr ?? error.message ?? '');
|
|
292
|
+
const secondary = /secondary rate limit|HTTP 429/i.test(detail);
|
|
293
|
+
const unavailable = /HTTP 50[0234]\b/i.test(detail);
|
|
294
|
+
if (!isRead || attempt === 2 || (!secondary && !unavailable)) throw error;
|
|
295
|
+
const wait = secondary ? [60, 120][attempt] : [10, 30][attempt];
|
|
296
|
+
console.log(`Transient GitHub read failure; retrying in ${wait}s`);
|
|
297
|
+
sleep(wait);
|
|
295
298
|
}
|
|
296
299
|
}
|
|
297
300
|
throw new Error('unreachable');
|
|
@@ -85,6 +85,7 @@ jobs:
|
|
|
85
85
|
uses: ./.github/workflows/validation.yml
|
|
86
86
|
with:
|
|
87
87
|
mode: ${{ needs.mode.outputs.mode }}
|
|
88
|
+
release-qualification-receipts: ${{ github.repository == '0xPlayerOne/code-foundry' }}
|
|
88
89
|
runtime-repository: 0xPlayerOne/code-foundry
|
|
89
90
|
# Source PRs validate their proposed runtime commit. A Release Please PR
|
|
90
91
|
# uses its main base, keeping version-only metadata out of the runtime
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.52.3](https://github.com/0xPlayerOne/code-foundry/compare/v1.52.2...v1.52.3) (2026-10-30)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* opt Code Foundry into source qualification receipts ([#805](https://github.com/0xPlayerOne/code-foundry/issues/805)) ([c7f7011](https://github.com/0xPlayerOne/code-foundry/commit/c7f70117b7d9d687d1116766114ba39028a4dc40))
|
|
9
|
+
|
|
10
|
+
## [1.52.2](https://github.com/0xPlayerOne/code-foundry/compare/v1.52.1...v1.52.2) (2026-10-30)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* retry transient release fallback reads safely ([#800](https://github.com/0xPlayerOne/code-foundry/issues/800)) ([c91e23b](https://github.com/0xPlayerOne/code-foundry/commit/c91e23bfaea9f107c8af9fa9bdf391308fa5ebf2))
|
|
16
|
+
|
|
3
17
|
## [1.52.1](https://github.com/0xPlayerOne/code-foundry/compare/v1.52.0...v1.52.1) (2026-10-30)
|
|
4
18
|
|
|
5
19
|
|
|
@@ -131,23 +145,9 @@
|
|
|
131
145
|
|
|
132
146
|
* **bun:** align Bun runtime pins to 1.4.3 ([#767](https://github.com/0xPlayerOne/code-foundry/issues/767)) ([402343f](https://github.com/0xPlayerOne/code-foundry/commit/402343fed2b41be3b2a55ddbc56d2256cc511b1a))
|
|
133
147
|
|
|
134
|
-
## [1.48.1](https://github.com/0xPlayerOne/code-foundry/compare/v1.48.0...v1.48.1) (2026-10-16)
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
### Bug Fixes
|
|
138
|
-
|
|
139
|
-
* vite-plus-cache-post-job-save ([#765](https://github.com/0xPlayerOne/code-foundry/issues/765)) ([3f82e85](https://github.com/0xPlayerOne/code-foundry/commit/3f82e850f5c09af6cea4de6f1a791d098bbd2f6e))
|
|
140
|
-
|
|
141
|
-
## [1.48.0](https://github.com/0xPlayerOne/code-foundry/compare/v1.47.5...v1.48.0) (2026-10-16)
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
### Features
|
|
145
|
-
|
|
146
|
-
* add opt-in Vite+ task runner support ([#763](https://github.com/0xPlayerOne/code-foundry/issues/763)) ([f7970cd](https://github.com/0xPlayerOne/code-foundry/commit/f7970cdf1c1880aaee159d2de79ba043f93711a7))
|
|
147
|
-
|
|
148
148
|
<!-- code-foundry: packaged changelog -->
|
|
149
149
|
|
|
150
150
|
---
|
|
151
151
|
|
|
152
|
-
This packaged changelog lists the 20 most recent releases;
|
|
152
|
+
This packaged changelog lists the 20 most recent releases; 269 older releases are omitted to keep the package small.
|
|
153
153
|
See the [full changelog](https://github.com/0xPlayerOne/code-foundry/blob/main/CHANGELOG.md) for the complete history.
|
package/docs/PERFORMANCE.md
CHANGED
|
@@ -31,14 +31,7 @@ changelog size and its packaged (trimmed) size as informational metrics. At
|
|
|
31
31
|
v1.44.0 the measured artifact was 280,902 packed bytes, 1,070,333 unpacked bytes,
|
|
32
32
|
and 118 files.
|
|
33
33
|
|
|
34
|
-
|
|
35
|
-
1,200,759 unpacked bytes, and 120 files. Release caller publication overrides
|
|
36
|
-
measure 316,295 packed bytes, 1,222,905 unpacked bytes, and 120 files: an
|
|
37
|
-
increase of 442 packed bytes and 22,146 unpacked bytes. The packed limit was
|
|
38
|
-
raised to 317,000 bytes for the optional build environment input in the
|
|
39
|
-
Cloudflare reusable workflow, which ships in the npm package. This leaves 235
|
|
40
|
-
bytes above the measured 316,765-byte artifact. The unpacked and file-count
|
|
41
|
-
limits remain 1,225,000 bytes and 120 files.
|
|
34
|
+
v1.52.1 main no-changelog: 316,788 packed, 1,224,968 unpacked, 120 files. Branch checker: 316,744 packed, 1,224,894 unpacked, 120 files. v1.52.0 published (trimmed changelog): 316,867 packed, 1,225,194 unpacked. Limits: 317,000 packed, 1,225,000 unpacked, 120 files.
|
|
42
35
|
|
|
43
36
|
The published package ships a changelog trimmed to the 20 most recent releases
|
|
44
37
|
with a link to the full history on GitHub. `scripts/package-changelog.mjs`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "code-foundry",
|
|
3
|
-
"version": "1.52.
|
|
3
|
+
"version": "1.52.3",
|
|
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/commands/sync.mjs
CHANGED
|
@@ -1354,12 +1354,9 @@ function renderWorkflow(content, config, repository, ref, rustCodeql, file, self
|
|
|
1354
1354
|
workflow === 'validation' &&
|
|
1355
1355
|
configured(config.release_qualification_receipts, 'false') === 'true'
|
|
1356
1356
|
) {
|
|
1357
|
-
const qualified = rendered.replace(
|
|
1358
|
-
/^(\s+mode:)\s+(\$\{\{\s*needs\.mode\.outputs\.mode\s*\}\})\s*$/m,
|
|
1359
|
-
'$1 $2\n release-qualification-receipts: true'
|
|
1360
|
-
)
|
|
1357
|
+
const qualified = rendered.replace(/^(\s+release-qualification-receipts:).+$/m, '$1 true')
|
|
1361
1358
|
if (qualified === rendered) {
|
|
1362
|
-
throw new Error('Validation caller
|
|
1359
|
+
throw new Error('Validation caller is missing receipt input.')
|
|
1363
1360
|
}
|
|
1364
1361
|
rendered = qualified
|
|
1365
1362
|
}
|