Skip to content

Update typify, jsonschema and tokio-tungstenite majors; drop unused tower-http - #1195

Merged
yansfil merged 2 commits into
mainfrom
deps/major-bumps
Oct 15, 2026
Merged

yansfil merged 2 commits into
mainfrom
deps/major-bumps

Conversation

@yansfil

@yansfil yansfil commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

Supersedes #455 #456 #457 #458

Summary

오래 열려 있던 Dependabot 메이저 업데이트 4건을 하나로 처리합니다.

  • typify 0.7.0 -> 0.8.0, jsonschema 0.55.1 -> 0.58.1, tokio-tungstenite 0.29.0 -> 0.30.0.
  • tower-http는 올리지 않고 지웠습니다. hided가 처음부터 선언만 하고 코드 어디에서도 쓰지 않았습니다.
  • tower-http가 켜 주던 tokio fs 기능을 실제로 쓰는 hided와 hide-node가 직접 선언합니다.
  • cargo hakari generate와 manage-deps --yes로 workspace-hack을 다시 썼습니다.

Review

  • 판단해 주세요: axum 0.8.9(최신)가 tokio-tungstenite 0.29를 써서, 빌드에 tungstenite 0.29와 0.30이 함께 들어갑니다. axum이 0.30으로 오면 하나로 돌아옵니다. 작은 크레이트 두 개를 한 번 더 컴파일하는 비용과 #455를 닫는 것 중 이쪽을 골랐습니다.
  • 조심해서 볼 파일: herdr-core/Cargo.toml - typify는 Herdr wire 타입 생성기입니다. 생성 코드 비교는 Evidence에 있습니다.
  • 조심해서 볼 파일: workspace-hack/Cargo.toml - tower-http가 빠지면서 tokio fs, tokio-util이 공용 기능 집합에서 빠지고 futures-sink/task가 들어왔습니다.

Evidence

  • 확인한 것: typify 0.7과 0.8이 같은 계약(contracts/herdr-api.schema.json)에서 만든 4개 파일을 doc 주석을 빼고 최상위 항목 단위로 비교했습니다. 아래 세 가지를 맞추면 513개 항목이 모두 같습니다.
    • Option 필드의 #[serde(default)]가 빠짐: serde는 빠진 Option 필드를 원래 None으로 읽으므로 의미가 같습니다.
    • TryFrom<&String> 구현 56개가 빠짐: 쓰는 곳이 없어 컴파일이 그대로 됩니다.
    • 모든 필드가 Default::default()인 수동 Default 21개가 #[derive(Default)]로 바뀜. 기본값 함수를 쓰는 3개(PaneZoomParams, PluginSourceInfo 2개)는 수동 구현 그대로입니다.
  • 확인한 것: macOS에서 verify-cargo.sh nextest -p herdr-core -p hide-ai -p hide-node -p hided 3321개 통과(92 skipped), lint(fmt + clippy -D warnings), hakari, check --workspace --all-targets 통과. main(Bump the cargo-minor-and-patch group across 1 directory with 10 updates #1082 포함)을 merge한 뒤(dab09dc99) 다시 돌린 결과입니다.
  • 확인한 것: scripts/check-herdr-contract.sh --schema-only를 번들 Herdr 0.9.3으로 돌려 pass(protocol 22).
  • 확인하지 못한 것: contract 검사의 서버 단계는 돌리지 않았습니다. 이 pane의 Herdr가 운영자 서버라 테스트가 닿으면 안 됩니다. wire 해석은 herdr-core의 wire::tests가 덮습니다.
  • 확인하지 못한 것: Linux, Windows lane은 이 PR의 CI에 맡깁니다.

…nused tower-http

tower-http was declared by hided since its first commit and never used.
hided and hide-node now declare the tokio fs feature they use, which
had only reached them through tower-http's features.
# Conflicts:
#	Cargo.lock
#	hide-node/Cargo.toml
#	hided/Cargo.toml
@yansfil
yansfil merged commit 7ab39ad into main Oct 15, 2026
21 checks passed
@yansfil
yansfil deleted the deps/major-bumps branch October 15, 2026 18:20
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