Skip to content

Bump typify from 0.7.0 to 0.8.0 - #456

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/typify-0.8.0
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/typify-0.8.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

Bumps typify from 0.7.0 to 0.8.0.

Changelog

Sourced from typify's changelog.

== 0.8.0 (released 2026-09-09)

oxidecomputer/typify@v0.7.0\...v0.8.0[Full list of commits]

  • Remove the original JSON Schema from generated type docs (#1066)
  • Require Option fields marked as required to be present when deserializing (#1071)
  • Small output changes such as item reordering (#1071)
  • Derive Default for structs when all field defaults are the type's intrinsic default (#1035)
  • Report malformed schema JSON as a compile error instead of panicking (#1030)
  • Report an error instead of panicking on invalid map types; re-export MapType from the typify crate (#1031)
  • Fix panic with internally tagged enums whose name comes from a schema title (#1020)
  • Count code points, not bytes, in string length validation during schema processing (#1038)
  • Remove remaining non-idiomatic TryFrom<&String> trait impls (#1040)
  • Fix invalid Rust emitted for default values on types with flattened properties (#1039)
Commits
  • 03e51a2 release typify 0.8.0
  • 40e1645 prepare for 0.8.0 release
  • 07f3223 Fix integer underflow in all_mutually_exclusive for empty subschemas (#1028)
  • 4bb8440 Fix invalid Rust emitted for defaults on types with flattened properties (#1039)
  • 448fa20 extend dependabot config for github actions (#939)
  • 30b08a3 small output changes (mostly cosmetic) (#1071)
  • c009548 build(deps): bump log from 0.4.33 to 0.4.34 (#1069)
  • 795b27c build(deps): bump regress from 0.11.1 to 0.12.0 (#1068)
  • beeb226 build(deps): bump syn from 3.0.3 to 3.0.4 (#1070)
  • 7208c41 build(deps): bump expectorate from 1.2.0 to 1.3.0 (#1067)
  • Additional commits viewable in compare view

@dependabot
dependabot Bot requested a review from yansfil as a code owner October 5, 2026 03:01
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Oct 5, 2026
@dependabot
dependabot Bot force-pushed the dependabot/cargo/typify-0.8.0 branch from 29400de to b5b271d Compare October 5, 2026 04:28
yansfil added a commit that referenced this pull request Oct 5, 2026
## Summary

`desktop e2e` (macOS) is the longest job of a verify run and the last to
finish in 16 of the last 25 successful runs, so it sets the time
`verify` takes (job median 13.8 minutes).
Its `Remote mailbox over private SSH` step took 2.1 minutes of that
(median 126 s: about 57 s compiling the workspace again under the test's
feature set, about 53 s for the one test).
The macOS `@platform` web e2e job also holds a macOS runner, builds
hided and fetches the pinned Herdr, and finishes earlier (median 9.0
minutes).
This moves the lane there: `web-e2e.yml` takes a `remote-mailbox` input,
which builds the CLI (`verify-cargo.sh cli`, every binary the lane
starts) instead of `build -p hided` and runs the same nextest command
after the suite; `pr.yml` sets it for the macOS lane and drops the step
from `desktop e2e`.
The OS contract's macOS leg stays in `desktop e2e`.

## Review

- **판단해 주세요**: the lane now runs when `web-e2e-platform` is planned
instead of `desktop-e2e`. On the last 80 merged pull requests that is 62
runs instead of 59 (table below); `ci-plan.py` gets a comment that a
narrower `web-e2e-platform` rule would drop the lane.
- **판단해 주세요**: the mailbox test resolves dependency features differently
from the CLI build, so about 48 dependencies build a second variant that
the macOS web e2e cache (saved from `build -p hided`) does not hold:
about 25 s per run on this pull request's run. rust-cache saves only
when its key changes, and the key hashes `Cargo.toml` and `Cargo.lock`,
so main's first run after the next manifest change saves both builds;
until then the 25 s stays.
- **조심해서 볼 파일**: `.github/workflows/web-e2e.yml`, the reusable lane
nightly and the Linux and Windows lanes also call; with the input unset
(its default) their steps and cache keys are unchanged.

## Evidence

- **확인한 것 (plan)**: `ci-plan.py` (main, after #490) over the file lists
of the last 80 merged pull requests (#371-#492):

| | before (in `desktop-e2e`) | after (in `web-e2e-platform`) |
| --- | --- | --- |
| pull requests running the mailbox lane | 59 | 62 |
| lose it | | #462, #466, #487: only `desktop/` files, which the lane
does not read |
| gain it | | #381, #383, #429, #444, #447, #488: `web/e2e` specs tagged
`@platform` |

- **확인한 것 (catches)**: of 232 failed `pr.yml` runs since 2026-09-05, the
mailbox step failed in 2 (#409 `prd/hcoord-retire`, #456 cargo `typify`
bump); both plan every lane, so both still run it.
- **확인한 것 (before)**: medians of the last 22 successful verify runs:
`desktop e2e` 13.8 min, its mailbox step 126 s; `web e2e macos` 9.0 min
(build 88 s, End-to-end 382 s).
- **확인한 것 (after)**: this pull request's verify run
[37288613490](https://github.com/modakbul-gongbang/hide/actions/runs/37288613490)
(first commit; the second only removed a cache `key` line rust-cache
ignores next to `shared-key`):

| | before (median, n=22) | after (this run) |
| --- | --- | --- |
| `desktop e2e` | 13.8 min, mailbox step 126 s | 12.2 min, no mailbox
step (its suite step took 518 s against a 494 s median) |
| `web e2e macos` | 9.0 min | 11.3 min: CLI build 91 s (was `build -p
hided` 88 s), suite 383 s, mailbox step 128 s (compile 82 s of which
about 25 s dependency variants, test 43 s) |
| macOS job-minutes for the two | 22.8 | 23.5 |

Second run, on the squashed commit,
[37290394720](https://github.com/modakbul-gongbang/hide/actions/runs/37290394720):
`desktop e2e` 12.0 min, `web e2e macos` 12.6 min (CLI build 99 s, suite
386 s, mailbox step 170 s), `verify` 13.4 min.
The two macOS jobs now end within a minute of each other (12.0-12.6
against 13.8 and 9.0), so the macOS ceiling of a run drops by about 1.5
minutes, and by about 25 s more once the cache holds the dependency
variants.
- **확인한 것**: `python3 -m unittest discover -s scripts/tests` passes (125
tests); both workflow files parse.
- **확인하지 못한 것**: the warm steady state of the macOS web e2e job is seen
only after main's first run saves the new cache; the first pull-request
runs after merge are that measurement.
@dependabot
dependabot Bot force-pushed the dependabot/cargo/typify-0.8.0 branch 3 times, most recently from 55f3ce5 to 519e1ac Compare October 8, 2026 10:21
Bumps [typify](https://github.com/oxidecomputer/typify) from 0.7.0 to 0.8.0.
- [Changelog](https://github.com/oxidecomputer/typify/blob/main/CHANGELOG.adoc)
- [Commits](oxidecomputer/typify@v0.7.0...v0.8.0)

---
updated-dependencies:
- dependency-name: typify
  dependency-version: 0.8.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot
dependabot Bot force-pushed the dependabot/cargo/typify-0.8.0 branch from 519e1ac to e283d63 Compare October 9, 2026 13:05
yansfil added a commit that referenced this pull request Oct 15, 2026
…ower-http (#1195)

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(#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에 맡깁니다.
@yansfil

yansfil commented Oct 15, 2026

Copy link
Copy Markdown
Contributor

Superseded by #1195, which landed typify 0.8, jsonschema 0.58 and tokio-tungstenite 0.30 together and removed tower-http, which hided declared but never used.

@yansfil yansfil closed this Oct 15, 2026
@dependabot @github

dependabot Bot commented on behalf of github Oct 15, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/cargo/typify-0.8.0 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

dependencies Pull requests that update a dependency file rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant