code-foundry 1.28.7 → 1.28.9

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.
@@ -319,12 +319,13 @@ jobs:
319
319
  set -euo pipefail
320
320
  state=failure
321
321
  if [ "$JOB_STATUS" = success ]; then state=success; fi
322
- args=(-f "state=$state" -F auto_inactive=false)
323
322
  # Preview environments are persistent per application. Once a new
324
323
  # preview succeeds, retire the previous successful preview record;
325
324
  # failed previews must not take a working preview offline.
325
+ auto_inactive=false
326
326
  if [ "$MODE" = preview ] && [ "$state" = success ]; then
327
- args+=(-F auto_inactive=true)
327
+ auto_inactive=true
328
328
  fi
329
+ args=(-f "state=$state" -F "auto_inactive=$auto_inactive")
329
330
  if [ -n "$DEPLOY_URL" ]; then args+=(-f "environment_url=$DEPLOY_URL"); fi
330
331
  gh api -X POST "repos/$GITHUB_REPOSITORY/deployments/$DEPLOYMENT_ID/statuses" "${args[@]}" --silent
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.28.9](https://github.com/0xPlayerOne/code-foundry/compare/v1.28.8...v1.28.9) (2026-09-11)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **sync:** render the configured Rust shards into every CodeQL lane ([#612](https://github.com/0xPlayerOne/code-foundry/issues/612)) ([4e7eb2f](https://github.com/0xPlayerOne/code-foundry/commit/4e7eb2f03ba34b4fe459e8ce302bcbf3303b26cc))
9
+
10
+ ## [1.28.8](https://github.com/0xPlayerOne/code-foundry/compare/v1.28.7...v1.28.8) (2026-09-11)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * **deploy:** send auto_inactive once when completing a deployment status ([#610](https://github.com/0xPlayerOne/code-foundry/issues/610)) ([9951887](https://github.com/0xPlayerOne/code-foundry/commit/99518875f584e08cbd2b52759f13fc6065bcd1c5))
16
+
3
17
  ## [1.28.7](https://github.com/0xPlayerOne/code-foundry/compare/v1.28.6...v1.28.7) (2026-09-11)
4
18
 
5
19
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "code-foundry",
3
- "version": "1.28.7",
3
+ "version": "1.28.9",
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": {
@@ -733,14 +733,23 @@ function renderWorkflow(content, config, repository, ref, rustCodeql, file, self
733
733
  if (!value) continue
734
734
  rendered = rendered.replace(new RegExp(`^(\\s+${input}:)\\s+.*$`, 'm'), `$1 ${value}`)
735
735
  }
736
- rendered = rendered.replace(/^(\s+rust-shards:)\s+.*$/m, `$1 '${rustCodeql.shards}'`)
737
- rendered = rendered.replace(/^(\s+rust-threads:)\s+.*$/m, `$1 '${rustCodeql.threads}'`)
738
- rendered = rendered.replace(/^(\s+rust-max-parallel:)\s+.*$/m, `$1 ${rustCodeql.maxParallel}`)
736
+ // Every Rust CodeQL lane in the caller must carry the configured shard
737
+ // list. A SARIF category is derived from the shard string, so a caller that
738
+ // renders the configuration into the pull-request lane while a second lane
739
+ // keeps the template literal makes the two lanes report disjoint
740
+ // categories. The default-branch baseline then never matches the pull
741
+ // request, and the code-scanning gate stalls every merge while every
742
+ // required check passes. Shards partition one scan, so the same list is
743
+ // correct in both lanes: `["all"]` stays a single pass, and a real shard
744
+ // list splits the same work in both places.
745
+ rendered = rendered.replace(/^(\s+rust-shards:)\s+.*$/gm, `$1 '${rustCodeql.shards}'`)
746
+ rendered = rendered.replace(/^(\s+rust-threads:)\s+.*$/gm, `$1 '${rustCodeql.threads}'`)
747
+ rendered = rendered.replace(/^(\s+rust-max-parallel:)\s+.*$/gm, `$1 ${rustCodeql.maxParallel}`)
739
748
  }
740
749
  if (workflow === 'codeql') {
741
- rendered = rendered.replace(/^(\s+rust-shards:)\s+.*$/m, `$1 '${rustCodeql.shards}'`)
742
- rendered = rendered.replace(/^(\s+rust-threads:)\s+.*$/m, `$1 '${rustCodeql.threads}'`)
743
- rendered = rendered.replace(/^(\s+rust-max-parallel:)\s+.*$/m, `$1 ${rustCodeql.maxParallel}`)
750
+ rendered = rendered.replace(/^(\s+rust-shards:)\s+.*$/gm, `$1 '${rustCodeql.shards}'`)
751
+ rendered = rendered.replace(/^(\s+rust-threads:)\s+.*$/gm, `$1 '${rustCodeql.threads}'`)
752
+ rendered = rendered.replace(/^(\s+rust-max-parallel:)\s+.*$/gm, `$1 ${rustCodeql.maxParallel}`)
744
753
  }
745
754
  if (workflow === 'opencode-security') {
746
755
  const model = configured(config.opencode_security_model, '').trim()