Skip to content

Commit df93f00

Browse files
authored
arch-audit v0.6.x — checkpoint: Batches F→J landed (#136)
[skip ci] Continues from #130 (Batches A→E). Branch stays open for follow-up work. Closes #100, #110, #111, #134. Filed during this push: #135, #137, #138.
2 parents 9462bab + d4d9c5f commit df93f00

82 files changed

Lines changed: 6388 additions & 2905 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci.yml

Lines changed: 35 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,19 +27,46 @@ jobs:
2727

2828
- uses: Swatinem/rust-cache@v2
2929

30-
- uses: taiki-e/install-action@just
31-
3230
# WHY: `just ci` runs `cargo deny check`, `typos`, and
3331
# `cargo nextest run`. All three are external binaries — none ship
3432
# with the Rust toolchain. Using taiki-e/install-action fetches
3533
# prebuilt binaries (seconds) rather than `cargo install` (minutes),
3634
# which matters on the 3-OS matrix. Nextest swap landed in commit
37-
# adopting `cargo nextest run` workspace-wide (closes #121) — the
38-
# SQLite lock-order inversion that `cargo test` reproduces ~20% is
39-
# documented in CLAUDE.md + GH #131.
40-
- uses: taiki-e/install-action@cargo-deny
41-
- uses: taiki-e/install-action@typos
42-
- uses: taiki-e/install-action@cargo-nextest
35+
# adopting `cargo nextest run` workspace-wide (closes #121).
36+
#
37+
# WHY split Windows from Linux/macOS: taiki-e/install-action's
38+
# PowerShell wrapper aborts on windows-latest when the runner image
39+
# leaks BASH_FUNC_* env vars (Shellshock mitigation correctly
40+
# rejects them; their 10-iter retry doesn't catch it; manual reruns
41+
# don't help — see issue #137 for full analysis + reproduction).
42+
# cargo-binstall fetches the same prebuilt release binaries without
43+
# going through bash, sidestepping the env leak entirely.
44+
- name: Install just (Linux/macOS)
45+
if: runner.os != 'Windows'
46+
uses: taiki-e/install-action@just
47+
- name: Install cargo-deny (Linux/macOS)
48+
if: runner.os != 'Windows'
49+
uses: taiki-e/install-action@cargo-deny
50+
- name: Install typos (Linux/macOS)
51+
if: runner.os != 'Windows'
52+
uses: taiki-e/install-action@typos
53+
- name: Install cargo-nextest (Linux/macOS)
54+
if: runner.os != 'Windows'
55+
uses: taiki-e/install-action@cargo-nextest
56+
57+
# WHY cargo-binstall on Windows only — workaround for #137. binstall
58+
# is a prebuilt-binary fetcher; doesn't invoke bash so the windows-
59+
# latest BASH_FUNC_* leak doesn't apply. Self-install is one zip
60+
# extract; per-tool install is ~5s. If the runner image fix lands
61+
# upstream, revert this step + drop the `if: runner.os != 'Windows'`
62+
# gates above and verify 5+ consecutive Windows runs stay green.
63+
- name: Install just/cargo-deny/typos/cargo-nextest (Windows via cargo-binstall — workaround #137)
64+
if: runner.os == 'Windows'
65+
shell: pwsh
66+
run: |
67+
Invoke-WebRequest -Uri "https://github.com/cargo-bins/cargo-binstall/releases/latest/download/cargo-binstall-x86_64-pc-windows-msvc.zip" -OutFile binstall.zip
68+
Expand-Archive binstall.zip -DestinationPath "$env:USERPROFILE\.cargo\bin" -Force
69+
cargo binstall --no-confirm --locked just cargo-deny typos-cli cargo-nextest
4370
4471
- uses: actions/setup-node@v4
4572
with:

Cargo.lock

Lines changed: 41 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ thiserror = "2"
5959
serde = { version = "1", features = ["derive"] }
6060
serde_json = "1"
6161
tracing = "0.1"
62+
tracing-appender = "0.2"
6263
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
6364
tokio = { version = "1", features = ["full"] }
6465
tokio-util = { version = "0.7", features = ["rt"] }
@@ -98,6 +99,7 @@ image = "0.25"
9899
nom-exif = "2.7"
99100
mp4parse = "0.17"
100101
mime_guess = "2"
102+
minijinja = { version = "2", default-features = false, features = ["macros", "loader"] }
101103

102104
[profile.release]
103105
lto = "thin"

apps/desktop/bun.lock

Lines changed: 29 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/desktop/package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"packageManager": "bun@1.3.11",
77
"scripts": {
88
"dev": "vite",
9-
"build": "tsc -b && vite build",
9+
"build": "tsc -b tsconfig.app.json && vite build",
1010
"test": "vitest run",
1111
"lint": "eslint src/ --max-warnings 0",
1212
"preview": "vite preview",
@@ -16,11 +16,14 @@
1616
"node": ">=20.19 <21 || >=22.12"
1717
},
1818
"dependencies": {
19+
"@tanstack/react-query": "^5",
20+
"@tanstack/react-router": "^1",
1921
"@tauri-apps/api": "^2",
2022
"@tauri-apps/plugin-dialog": "^2",
2123
"neverthrow": "^8",
2224
"react": "^19",
23-
"react-dom": "^19"
25+
"react-dom": "^19",
26+
"zustand": "^5"
2427
},
2528
"devDependencies": {
2629
"@evilmartians/lefthook": "^2.1.6",

0 commit comments

Comments
 (0)