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.
@@ -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 | Budget | Why it is bounded |
10
- | ----------------------------------- | -------: | ---------------------------------------------------- |
11
- | CLI help startup p95 | 250 ms | Detect eager imports and startup regressions |
12
- | Runtime mode startup p95 | 250 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 | 260 kB | Bound registry transfer and install cost |
18
- | Unpacked artifact | 1,000 kB | Bound installed footprint |
19
- | Packed files | 115 | Detect accidental release contents |
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. The Cloudflare delivery and qualified-publication changes in this release
24
- moved the measured artifact from 990,481 to 994,555 unpacked bytes (257,384 to
25
- 258,647 packed bytes, with 112 files in both measurements). Draft protection
26
- configuration, reusable-workflow inputs, documentation, and regression tests
27
- increased the measured artifact to 998,348 unpacked bytes (259,532 packed bytes,
28
- with 112 files). The unpacked budget is therefore 1,000 kB; the packed and
29
- file-count budgets remain unchanged.
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.0",
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": {