Skip to content

ci: make main CI green (fmt, ts-behavior invocation, quinn advisory)#16

Merged
sepahead merged 1 commit into
mainfrom
ci/green-fmt-deny-tsbehavior
Jun 29, 2026
Merged

ci: make main CI green (fmt, ts-behavior invocation, quinn advisory)#16
sepahead merged 1 commit into
mainfrom
ci/green-fmt-deny-tsbehavior

Conversation

@sepahead

Copy link
Copy Markdown
Owner

Closes the three red jobs on main CI. All three fixes are non-behavioral — no protocol/wire or runtime-logic changes.

Red job Cause Fix
fmt + clippy + test Format check failed on 4 pre-existing unformatted files cargo fmt --all (toolchain 1.88.0) — whitespace/method-chain wrapping only
ts dist up-to-date CI runs bun run check:behavior from repo root, but the script lived only in ncp-ts/package.jsonScript not found Add check:behavior to root package.json (alongside the other root-relative ncp-ts/scripts/*.mjs scripts). The check itself already passes (18 vectors match).
cargo-deny advisories FAILEDquinn-proto 0.11.14 memory-exhaustion advisory (transitive via zenoh → quinn) cargo update -p quinn-proto → 0.11.15 (Cargo.lock only)

Verified locally (toolchain 1.88.0)

  • cargo fmt --all --check — clean
  • cargo clippy --all-targets --all-features -- -D warnings — clean
  • bun run check:behavior18 vectors match
  • cargo deny check advisoriesadvisories ok
  • ncp-ts/dist — unchanged (no drift)

Scope / safety

No changes to proto/ncp.proto, the JSON wire, schemas, or any decision logic. The fmt diff is whitespace; the package.json change adds one script; the Cargo.lock change is a patch-level transitive bump to a security-fixed version. Nothing here touches downstream consumers' wire contract (still v0.5.2).

Three non-behavioral fixes that close the three red CI jobs. No protocol/wire
or runtime-logic changes.

1. fmt + clippy + test (was: Format check failed): run rustfmt (toolchain
   1.88.0) over four pre-existing unformatted files — bus.rs, transport.rs,
   ncp-zenoh/src/lib.rs, ncp-zenoh/tests/safety_governor_over_wire.rs. Whitespace
   only (method-chain wrapping). clippy -D warnings already clean.

2. ts dist up-to-date (was: 'TS behavioral conformance' failed): CI runs
   'bun run check:behavior' from the repo root, but that script lived only in
   ncp-ts/package.json, so bun reported 'Script not found'. The check itself
   passes (18 vectors match). Add check:behavior to the root package.json, next
   to the other root-relative ncp-ts/scripts/*.mjs scripts (sync/build/regen).

3. cargo-deny (was: advisories FAILED): bump quinn-proto 0.11.14 -> 0.11.15
   (Cargo.lock only) to clear the memory-exhaustion advisory pulled in
   transitively via zenoh -> quinn. 'cargo deny check advisories' now ok.

Verified locally (toolchain 1.88.0): cargo fmt --all --check clean; cargo clippy
--all-targets --all-features -D warnings clean; bun run check:behavior ok;
cargo deny check advisories ok; ncp-ts/dist unchanged.
@sepahead sepahead merged commit 0d45b57 into main Jun 29, 2026
12 checks passed
@sepahead sepahead deleted the ci/green-fmt-deny-tsbehavior branch June 29, 2026 10:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant