Skip to content

chore: remove every reference to the absent dsm-gen crate - #886

Merged
cryptskii merged 1 commit into
mainfrom
chore/remove-dsm-gen-references
Sep 14, 2026
Merged

cryptskii merged 1 commit into
mainfrom
chore/remove-dsm-gen-references

Conversation

@cryptskii

@cryptskii cryptskii commented Sep 14, 2026

Copy link
Copy Markdown
Collaborator

What

dsm-gen does not exist in the tree (no directory, no workspace member, no Cargo.toml naming it), yet five places referenced it:

  • QUICKSTART.md — a ## dsm-gen section with three cargo run -p dsm-gen commands and a dead dsm-gen/README.md link: removed.
  • CONTRIBUTING.md — the "read dsm-gen/README.md first" bullet and the "validate and regenerate through dsm-gen" block: removed.
  • deny.toml — six skips justified "retained by dsm-gen and tonic-build": the skips stay (tonic-build 0.13 in dsm_sdk still pulls the prost 0.13 codegen branch); only the reason text changes, so the skip set is byte-for-byte the same set.
  • dsm_storage_node/Dockerfile.cloud — a fn main(){} stub and a synthesized dsm-gen/Cargo.toml "so the resolver doesn't fail": the workspace member list has never contained dsm-gen, so the resolver never asked; removed.
  • DevSoFiLaunchScreen.tsx — copy said the launch blob comes from "dsm-gen compile"; it now describes the blob's actual 3-byte header and points at sofi_routes.rs. Paste-launch stays.

Owner ruling 2026-09-14: remove the references; do not restore a crate to satisfy dead links.

Verification

  • grep -rn "dsm-gen\|dsm_gen" (excluding DSM_GENESIS names) → zero hits.
  • Frontend npm run type-check → 0 errors.
  • cargo deny check bans is not a CI gate (no workflow invokes cargo-deny) and fails identically on the untouched origin/main tree and on this branch (same count of error[wildcard] lines, from dsm/dsm_sdk wildcard dependencies unrelated to these skips). This change is comment-only in deny.toml.
  • Dockerfile.cloud is used by dsm_storage_node/deploy/push_and_start.sh (owner-run), not by CI (CI builds ci/docker/StorageNode.Dockerfile); the next deploy exercises it. No Rust code changed, so make lint is unaffected.

CI note (2026-09-14)

Rust gates → Security audit is red on this PR for a reason unrelated to it. RUSTSEC-2026-0285 (rustls 0.23.42) was published today, and cargo audit fails on main's lock too. The fix is #887, which bumps rustls to 0.23.45 in every live lockfile. Once #887 merges, this branch gets a rebase onto main and the audit step goes green. Every other job on this PR passed or is still running on its own merits.

`dsm-gen` is not in the tree and not a workspace member, yet QUICKSTART and
CONTRIBUTING told contributors to run it (dead commands, a dead README link),
deny.toml justified six skips by it, the storage-node Dockerfile stubbed a
crate the resolver never asks for, and the Dev SoFi launch screen named it as
the source of launch blobs.

Docs: the dsm-gen section and the regenerate-through-dsm-gen block are gone.
deny.toml: the six prost-0.13 codegen skips stay (tonic-build 0.13 in
dsm_sdk still needs them); only their reasons change, so the skip set is
unchanged. Dockerfile.cloud: the dsm-gen stub and its synthesized Cargo.toml
are deleted; the workspace member list never contained it. DevSoFiLaunch:
the copy describes the blob's actual header.

cargo-deny is not wired into CI and fails identically on main before and
after this change (wildcard-dependency errors unrelated to the skips); the
frontend type-check is clean.
@cryptskii
cryptskii merged commit f61424a into main Sep 14, 2026
22 of 23 checks passed
cryptskii added a commit that referenced this pull request Sep 14, 2026
…887)

RUSTSEC-2026-0285 (published 2026-09-14, severity 5.3): rustls accepted TLS
1.3 handshake messages across encryption-level boundaries; fixed in 0.23.45.
CI's Security audit (Rust gates) fails on it, first seen on #886.

Four lockfiles resolve rustls, and all four are live:
- Cargo.lock (repo root): the CI audit and workspace build.
- dsm_client/deterministic_state_machine/Cargo.lock: that directory is its
  own workspace root; `make android-libs` and the test board build from it.
- crates/dsm-android-anchor/Cargo.lock: the shipped Android cdylib
  (build.gradle.kts), which links dsm_sdk statically.
- crates/dsm-anchor-hw-verifier/Cargo.lock.

Each was updated with `cargo update -p rustls@<old> --precise 0.23.45` and
each diff is the same four packages: rustls, rustls-webpki 0.103.15,
aws-lc-rs 1.18.1, aws-lc-sys 0.45.0.
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