code-foundry 1.44.0 → 1.44.2
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/CONTRIBUTING.md +1 -1
- package/.github/workflows/ci.yml +4 -1
- package/.github/workflows/codeql.yml +4 -1
- package/.github/workflows/consumer-qualification.yml +4 -0
- package/.github/workflows/draft-control_self-ci.yml +4 -0
- package/.github/workflows/eval.yml +4 -1
- package/.github/workflows/opencode-security_self-ci.yml +5 -0
- package/.github/workflows/release-pr.yml +3 -1
- package/.github/workflows/security.yml +4 -1
- package/.github/workflows/test.yml +4 -1
- package/.github/workflows/validation_self-ci.yml +4 -1
- package/AGENTS.md +2 -1
- package/CHANGELOG.md +18 -1634
- package/docs/PERFORMANCE.md +28 -18
- package/docs/qualified-publication.md +3 -1
- package/package.json +1 -1
package/docs/PERFORMANCE.md
CHANGED
|
@@ -6,27 +6,37 @@ budget is exceeded. Reports are generated-run evidence and are ignored by Git.
|
|
|
6
6
|
|
|
7
7
|
## Enforced budgets
|
|
8
8
|
|
|
9
|
-
| Metric
|
|
10
|
-
|
|
|
11
|
-
| CLI help startup p95
|
|
12
|
-
| Runtime mode startup p95
|
|
13
|
-
| Focused runtime tests
|
|
14
|
-
| Format, lint, type-check, and build
|
|
15
|
-
| Runtime dependencies
|
|
16
|
-
| Development dependencies
|
|
17
|
-
| Packed artifact
|
|
18
|
-
| Unpacked artifact
|
|
19
|
-
| Packed files
|
|
9
|
+
| Metric | Budget | Why it is bounded |
|
|
10
|
+
| ------------------------------------- | -------: | ---------------------------------------------------- |
|
|
11
|
+
| CLI help startup p95 | 250 ms | Detect eager imports and startup regressions |
|
|
12
|
+
| Runtime mode startup p95 | 750 ms | Detect baseline runtime initialization regressions |
|
|
13
|
+
| Focused runtime tests | 10 s | Keep the representative runtime contract inexpensive |
|
|
14
|
+
| Format, lint, type-check, and build | 15 s | Bound the local CI feedback loop |
|
|
15
|
+
| Runtime dependencies | 0 | Keep the installed CLI dependency-free |
|
|
16
|
+
| Development dependencies | 4 | Prevent unreviewed toolchain growth |
|
|
17
|
+
| Packed artifact (without changelog) | 296 kB | Bound registry transfer and install cost |
|
|
18
|
+
| Unpacked artifact (without changelog) | 1,136 kB | Bound installed footprint |
|
|
19
|
+
| Packed files (without changelog) | 120 | Detect accidental release contents |
|
|
20
20
|
|
|
21
21
|
The source-of-truth budgets live in `scripts/performance-check.mjs`. When those
|
|
22
22
|
limits change, update this table and include before/after measurements in the
|
|
23
|
-
same change.
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
23
|
+
same change. Latency budgets are evaluated against the fastest of the timed
|
|
24
|
+
samples so a single load spike on a shared runner cannot fail the gate.
|
|
25
|
+
|
|
26
|
+
The artifact budgets measure the package **without `CHANGELOG.md`**. Release
|
|
27
|
+
Please prepends every release to the repository changelog, so a budget that
|
|
28
|
+
included it eroded on every release and repeatedly failed release pull requests.
|
|
29
|
+
The check packs a staging copy without the changelog and reports the repository
|
|
30
|
+
changelog size and its packaged (trimmed) size as informational metrics. At
|
|
31
|
+
v1.44.0 the measured artifact was 280,902 packed bytes, 1,070,333 unpacked bytes,
|
|
32
|
+
and 118 files, leaving roughly 5% packed and 6% unpacked headroom for source
|
|
33
|
+
growth.
|
|
34
|
+
|
|
35
|
+
The published package ships a changelog trimmed to the 20 most recent releases
|
|
36
|
+
with a link to the full history on GitHub. `scripts/package-changelog.mjs`
|
|
37
|
+
rewrites only the ephemeral checkout in the qualification pack job, immediately
|
|
38
|
+
before the lifecycle-free `npm pack --ignore-scripts`; the repository keeps the
|
|
39
|
+
complete `CHANGELOG.md` that Release Please maintains.
|
|
30
40
|
|
|
31
41
|
The performance workflow disables build-cache reads and writes for this task.
|
|
32
42
|
Timing comparisons therefore do not depend on a warm protected-branch cache, and
|
|
@@ -51,7 +51,9 @@ identity checks.
|
|
|
51
51
|
|
|
52
52
|
The producer must:
|
|
53
53
|
|
|
54
|
-
- pack the candidate with lifecycle scripts disabled
|
|
54
|
+
- pack the candidate with lifecycle scripts disabled, after trimming the
|
|
55
|
+
checkout's `CHANGELOG.md` to recent releases with
|
|
56
|
+
`scripts/package-changelog.mjs`;
|
|
55
57
|
- create or reuse a draft release for the exact package version;
|
|
56
58
|
- attach the package archive before the release is published;
|
|
57
59
|
- keep the tag at the qualified source commit;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "code-foundry",
|
|
3
|
-
"version": "1.44.
|
|
3
|
+
"version": "1.44.2",
|
|
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": {
|