Skip to content

Commit db8faea

Browse files
fix(config): require TOML parser in default and HTTP builds (#265)
The configuration scanner unconditionally uses `toml_edit`, but Cargo.toml marks it optional. The manifest also regressed to version 0.23 while Cargo.lock retains the reviewed 0.25 update from #256. Downstream bridge builds fail with E0433; locked Verify jobs refuse the mismatched graph. Make the parser required, restore the reviewed 0.25 constraint already recorded in Cargo.lock, and add an independent HTTP-only Verify matrix entry matching consumers. Preserve the default and HTTP+SARIF cases. Validation: changed TOML/YAML parsed locally; dependency/default/HTTP declarations checked. Initial CI correctly rejected the manifest/lock mismatch, which the latest commit addresses. No Rust toolchain exists locally, so compilation, tests and lint must be established by the latest CI run before merge. Evidence: https://github.com/hyperpolymath/hypatia/actions/runs/42110426887/job/127536204396 Related: hyperpolymath/hypatia#1009
1 parent d4cef9d commit db8faea

3 files changed

Lines changed: 10 additions & 1 deletion

File tree

‎.github/workflows/verify.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,8 @@ jobs:
113113
include:
114114
- features: '' # default: offline, zero-network build
115115
cache-suffix: default
116+
- features: http # exact feature set used by bridge-gate consumers
117+
cache-suffix: http
116118
- features: http,sarif # Patch Bridge + SARIF
117119
# A cache key may not contain a comma (Swatinem/rust-cache rejects
118120
# it at startup of the step), so the matrix carries its own label.

‎.machine_readable/6a2/STATE.a2ml‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,3 +108,9 @@ layer-1-0-closure = "stripIsIdentityOnStrippedBody — closes slash-slash induct
108108
layer-1-0-block-strings = "Stripping_Block.idr + Stripping_Strings.idr + Stripping_Composition.idr + Stripping_PositionPreservation.idr (PROOF-PROGRAMME row 1 remaining)"
109109
hypatia-rule-wiring = "Hypatia ingestion of test_context / ffi_kind / jit_context metadata; ContextSuppressed bucket distinct from RuleSuppressed"
110110
gitbot-panicbot-wiring = "gitbot-fleet panicbot translator: surface test_context + suppression-reason in fleet-side reports"
111+
112+
[repair-2026-11-06-toml-dependency]
113+
change = "toml_edit is required by unconditional assail configuration analysis; remove optional=true"
114+
regression = "Verify matrix adds exact http-only downstream feature combination alongside default and http,sarif"
115+
validation = "TOML/YAML structure and dependency declarations checked locally; Rust toolchain unavailable; compilation and full suite await CI"
116+
status = "candidate; not a verified estate resolution"

‎Cargo.toml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ hex = "0.4"
4545
getrandom = "0.4"
4646
walkdir = "2.5"
4747
same-file = "1.0" # assail: refuse a KYAML copy that aliases the sealed JSON report
48-
toml_edit = { version = "0.23", default-features = false, features = ["parse"], optional = true }
48+
# Configuration analysis always parses TOML, including offline/default builds.
49+
toml_edit = { version = "0.25", default-features = false, features = ["parse"] }
4950
dirs = "7.0"
5051
ed25519-dalek = { version = "3.0", optional = true }
5152
ureq = { version = "3.3", optional = true }

0 commit comments

Comments
 (0)