@rightkit/release 0.6.56 → 0.6.57

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.
Binary file
package/local-publish.mjs CHANGED
@@ -485,7 +485,11 @@ export function localTestPlan({ kind, unit, dir, config, manifest, batch = false
485
485
  // Consumer rows (separate Cargo workspaces) gate only this crate: they come from this crate's own entry.
486
486
  const consumers = consumerRows(unit, entry);
487
487
  for (const row of consumers) steps.push(...consumerRowInvocations(row));
488
- return { id: `rust:${unit}`, featureLabels: featureSets.map((features) => features.join(" ") || "default"), consumerRows: consumers, steps };
488
+ // A crate scoped away from this host (platforms) plans no set here: the receipt names that instead of an empty list, which the gate refuses as
489
+ // "features". A crate that runs on the host and still plans no set keeps the empty list and the refusal (a config error, not a scope).
490
+ const featureLabels = featureSets.map((features) => features.join(" ") || "default");
491
+ if (featureLabels.length === 0 && !crateRunsOn(entry, platform)) featureLabels.push(`not built on ${platform} (ci/gate.config.json platforms)`);
492
+ return { id: `rust:${unit}`, featureLabels, consumerRows: consumers, steps };
489
493
  }
490
494
 
491
495
  /** Publisher compile-stage obligations. Caller supplies authenticated source policy and execution environment. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rightkit/release",
3
- "version": "0.6.56",
3
+ "version": "0.6.57",
4
4
  "description": "Portable release CLI/SDK with fail-closed public GitHub Releases and private R2 + RightApps distribution.",
5
5
  "license": "MIT OR Apache-2.0",
6
6
  "type": "module",
@@ -50,7 +50,7 @@
50
50
  "@rightkit/qa": "0.7.0",
51
51
  "@rightkit/qa-chrome": "0.1.12",
52
52
  "@rightkit/react-shell": "0.7.4",
53
- "@rightkit/release": "0.6.56",
53
+ "@rightkit/release": "0.6.57",
54
54
  "@rightkit/send-ui": "0.1.0",
55
55
  "@rightkit/settings-ui": "0.7.2",
56
56
  "@rightkit/social-ui": "0.1.0",