Skip to content

Commit d718bbc

Browse files
committed
fix dependenncy.yaml; minor tidy
1 parent 6e4c003 commit d718bbc

9 files changed

Lines changed: 58 additions & 66 deletions

File tree

.editorconfig

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,6 @@ max_line_length = unset
8080
[generated/zig-rest/**]
8181
max_line_length = unset
8282

83-
# config/upstream-cache/data.toml stores per-asset metadata including the canonical
84-
# download URL (`https://github.com/edge-toolkit/core/releases/download/<tag>/<long-asset-name>`)
85-
# and the upstream project URL. Both routinely exceed 120 chars and can't be
86-
# meaningfully line-wrapped in TOML (a string value can't span lines without
87-
# multi-line-string syntax that would change the parsed value). Loosen to 200.
8883
[config/upstream-cache/data.toml]
8984
max_line_length = 200
9085

.github/actions/install-mise/action.yaml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,16 @@ runs:
1919
shell: bash --noprofile --norc -euo pipefail {0}
2020
run: git rev-parse --is-inside-work-tree >/dev/null
2121

22-
- name: Install mise (and any extra tools)
22+
- name: Install mise
2323
uses: taiki-e/install-action@v2
2424
with:
25-
tool: |
26-
cargo-binstall
27-
mise@2026.6.5
28-
${{ inputs.install-action-tools }}
25+
tool: cargo-binstall,mise@2026.6.5
26+
27+
- name: Install extra tools via install-action
28+
if: inputs.install-action-tools != ''
29+
uses: taiki-e/install-action@v2
30+
with:
31+
tool: ${{ inputs.install-action-tools }}
2932

3033
# taiki-e/install-action's mise manifest stages only `mise.exe`; mise's
3134
# per-tool `.cmd` "file" shims under `%LOCALAPPDATA%\mise\shims` aren't

.github/workflows/docker-linux.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ jobs:
3131
matrix:
3232
base:
3333
- amazonlinux:2023
34+
- azurelinux v3.0
3435
- debian:bookworm
3536
- debian:trixie
3637
- fedora:42
37-
- mcr.microsoft.com/azurelinux/base/core:3.0
3838
- opensuse/leap:15.6
3939
- ubuntu:22.04
4040
- ubuntu:24.04
@@ -76,7 +76,7 @@ jobs:
7676

7777
- name: Build stage test
7878
env:
79-
BASE_IMAGE: ${{ matrix.base }}
79+
BASE_IMAGE: ${{ matrix.base == 'azurelinux v3.0' && 'mcr.microsoft.com/azurelinux/base/core:3.0' || matrix.base }}
8080
DOCKER_BUILDKIT: "1"
8181
GITHUB_TOKEN: ${{ github.token }}
8282
run: |
@@ -95,7 +95,7 @@ jobs:
9595
# disk -- a top-level cp would have left subdir Dockerfiles unfindable.
9696
- name: Build stage check
9797
env:
98-
BASE_IMAGE: ${{ matrix.base }}
98+
BASE_IMAGE: ${{ matrix.base == 'azurelinux v3.0' && 'mcr.microsoft.com/azurelinux/base/core:3.0' || matrix.base }}
9999
CTX: target/check-ctx
100100
DOCKER_BUILDKIT: "1"
101101
TAG: et-check

.mise/config.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1053,7 +1053,7 @@ run = """
10531053
for crate in et-cli et-int-gen et-onnx; do
10541054
dir="utilities/${crate#et-}"
10551055
echo "[gen-help-all] $crate -> $dir/HELP.md"
1056-
cargo run --features markdown-help -q -p "$crate" -- --markdown-help > "$dir/HELP.md"
1056+
cargo run --features markdown-help -q -p "$crate" -- --markdown-help | dprint fmt --stdin "$dir/HELP.md" > "$dir/HELP.md"
10571057
done
10581058
"""
10591059
shell = "bash -euo pipefail -c"

CLAUDE.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -597,6 +597,25 @@ mirror — at that point, the recur recipe is preserved in git history
597597
and the right thing is to reintroduce it **at one specific call site
598598
only**, not as a repo-wide var-prefix.
599599

600+
### Cargo HTTP/2 framing layer failures
601+
602+
One transient class that hits the `cargo fetch` path specifically:
603+
libcurl's `[16] Error in the HTTP2 framing layer` during a
604+
`crates.io` download. Captured example:
605+
`https://github.com/edge-toolkit/core/actions/runs/27900771461/job/82560594632`
606+
on commit `6e4c0030a830e4f8e6b15381cb5c2fbf481af704`
607+
`asyncapi-rust-codegen` download bailed with `curl failed`
608+
`[16] Error in the HTTP2 framing layer`.
609+
610+
`CARGO_NET_RETRY` does **not** cover this — the framing error
611+
surfaces from inside libcurl as a generic `curl failed`, and cargo's
612+
retry classifier doesn't recognise it as transient. The targeted fix
613+
is `CARGO_HTTP_MULTIPLEXING=false`, which disables HTTP/2 multiplexing
614+
in cargo's libcurl and falls back to HTTP/1.1 connections (immune to
615+
the framing-stream desync at the cost of slightly fewer multiplexed
616+
requests). Set it at the workflow `env:` (or `.mise/config.toml`'s
617+
`[env]`) so every cargo invocation in CI + local picks it up.
618+
600619
[recur]: https://github.com/dbohdan/recur
601620

602621
## taiki-e/install-action's resolution chain

config/dprint.jsonc

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,7 @@
3030
"memberExpression.linePerExpression": true,
3131
},
3232
"yaml": {},
33-
// utilities/*/HELP.md is generated by `mise run gen-help-all` (clap-markdown);
34-
// dprint would dedent the 4-space-indented HTML inside the footer's
35-
// `<small><i>` block, which clap-markdown re-emits on every regen, so the
36-
// formatter and the generator would fight forever. Leave generated.
37-
"excludes": ["**/node_modules", "**/*-lock.json", "data/", "utilities/*/HELP.md"],
33+
"excludes": ["**/node_modules", "**/*-lock.json", "data/"],
3834
"plugins": [
3935
"https://github.com/speakeasy-api/dprint-plugin-java/releases/latest/download/dprint_plugin_java.wasm",
4036
"https://plugins.dprint.dev/g-plane/malva-v0.15.2.wasm",

utilities/cli/HELP.md

Lines changed: 14 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,20 @@ This document contains the help content for the `et-cli` command-line program.
44

55
**Command Overview:**
66

7-
* [`et-cli`](#et-cli)
8-
* [`et-cli generate-deployment`](#et-cli-generate-deployment)
9-
* [`et-cli regen-verification`](#et-cli-regen-verification)
10-
* [`et-cli module-package-json`](#et-cli-module-package-json)
7+
- [`et-cli`](#et-cli)
8+
- [`et-cli generate-deployment`](#et-cli-generate-deployment)
9+
- [`et-cli regen-verification`](#et-cli-regen-verification)
10+
- [`et-cli module-package-json`](#et-cli-module-package-json)
1111

1212
## `et-cli`
1313

1414
**Usage:** `et-cli [COMMAND]`
1515

1616
###### **Subcommands:**
1717

18-
* `generate-deployment` — Generate deployment config from a cluster input YAML
19-
* `regen-verification` — Regenerate verification outputs using verification input/output naming conventions
20-
* `module-package-json` — Generate pkg/package.json from module metadata
21-
22-
18+
- `generate-deployment` — Generate deployment config from a cluster input YAML
19+
- `regen-verification` — Regenerate verification outputs using verification input/output naming conventions
20+
- `module-package-json` — Generate pkg/package.json from module metadata
2321

2422
## `et-cli generate-deployment`
2523

@@ -29,17 +27,14 @@ Generate deployment config from a cluster input YAML
2927

3028
###### **Options:**
3129

32-
* `--input-file <INPUT_FILE>`
33-
* `--output-dir <OUTPUT_DIR>`
34-
* `--output-type <OUTPUT_TYPE>`
30+
- `--input-file <INPUT_FILE>`
31+
- `--output-dir <OUTPUT_DIR>`
32+
- `--output-type <OUTPUT_TYPE>`
3533

3634
Default value: `mise`
3735

3836
Possible values: `mise`, `docker-compose`
3937

40-
41-
42-
4338
## `et-cli regen-verification`
4439

4540
Regenerate verification outputs using verification input/output naming conventions
@@ -48,12 +43,10 @@ Regenerate verification outputs using verification input/output naming conventio
4843

4944
###### **Options:**
5045

51-
* `--verification-root <VERIFICATION_ROOT>`
46+
- `--verification-root <VERIFICATION_ROOT>`
5247

5348
Default value: `verification`
5449

55-
56-
5750
## `et-cli module-package-json`
5851

5952
Generate pkg/package.json from module metadata
@@ -62,16 +55,13 @@ Generate pkg/package.json from module metadata
6255

6356
###### **Options:**
6457

65-
* `--module-dir <MODULE_DIR>`
58+
- `--module-dir <MODULE_DIR>`
6659

6760
Default value: `.`
6861

69-
70-
7162
<hr/>
7263

7364
<small><i>
74-
This document was generated automatically by
75-
<a href="https://crates.io/crates/clap-markdown"><code>clap-markdown</code></a>.
65+
This document was generated automatically by
66+
<a href="https://crates.io/crates/clap-markdown"><code>clap-markdown</code></a>.
7667
</i></small>
77-

utilities/int-gen/HELP.md

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ This document contains the help content for the `et-int-gen` command-line progra
44

55
**Command Overview:**
66

7-
* [`et-int-gen`](#et-int-gen)
8-
* [`et-int-gen generate`](#et-int-gen-generate)
9-
* [`et-int-gen fetch-deps`](#et-int-gen-fetch-deps)
7+
- [`et-int-gen`](#et-int-gen)
8+
- [`et-int-gen generate`](#et-int-gen-generate)
9+
- [`et-int-gen fetch-deps`](#et-int-gen-fetch-deps)
1010

1111
## `et-int-gen`
1212

@@ -16,10 +16,8 @@ Generate checked-in artifacts under generated/ from in-repo Rust sources of trut
1616

1717
###### **Subcommands:**
1818

19-
* `generate` — Emit the generated artifacts for one target (default: all)
20-
* `fetch-deps` — Fetch upstream WASI WIT packages into generated/specs/wit/ at pinned versions
21-
22-
19+
- `generate` — Emit the generated artifacts for one target (default: all)
20+
- `fetch-deps` — Fetch upstream WASI WIT packages into generated/specs/wit/ at pinned versions
2321

2422
## `et-int-gen generate`
2523

@@ -29,7 +27,7 @@ Emit the generated artifacts for one target (default: all)
2927

3028
###### **Arguments:**
3129

32-
* `<TARGET>` — Which artifacts to emit; defaults to `all`
30+
- `<TARGET>` — Which artifacts to emit; defaults to `all`
3331

3432
Default value: `all`
3533

@@ -43,21 +41,15 @@ Emit the generated artifacts for one target (default: all)
4341
- `all`:
4442
Core + Rust + Zig
4543

46-
47-
48-
4944
## `et-int-gen fetch-deps`
5045

5146
Fetch upstream WASI WIT packages into generated/specs/wit/ at pinned versions
5247

5348
**Usage:** `et-int-gen fetch-deps`
5449

55-
56-
5750
<hr/>
5851

5952
<small><i>
60-
This document was generated automatically by
61-
<a href="https://crates.io/crates/clap-markdown"><code>clap-markdown</code></a>.
53+
This document was generated automatically by
54+
<a href="https://crates.io/crates/clap-markdown"><code>clap-markdown</code></a>.
6255
</i></small>
63-

utilities/onnx/HELP.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This document contains the help content for the `et-onnx` command-line program.
44

55
**Command Overview:**
66

7-
* [`et-onnx`](#et-onnx)
7+
- [`et-onnx`](#et-onnx)
88

99
## `et-onnx`
1010

@@ -14,14 +14,11 @@ CLI to investigate ONNX models
1414

1515
###### **Options:**
1616

17-
* `-f`, `--filename <FILENAME>` — Path to the ONNX model file
18-
19-
17+
- `-f`, `--filename <FILENAME>` — Path to the ONNX model file
2018

2119
<hr/>
2220

2321
<small><i>
24-
This document was generated automatically by
25-
<a href="https://crates.io/crates/clap-markdown"><code>clap-markdown</code></a>.
22+
This document was generated automatically by
23+
<a href="https://crates.io/crates/clap-markdown"><code>clap-markdown</code></a>.
2624
</i></small>
27-

0 commit comments

Comments
 (0)