chore(ratchet): acknowledge synchronous blocking-call sites [skip ci]

The early hosted CI run on b175b1f9ed (run 42408093869, job Lint) failed
the #6149 blocking-calls ratchet: eight file budgets were exceeded by
sites added in 821c478eb9, c49fd2c331 and 91fd65705a without updating
the budget. Each site was checked for an inline async caller:

- runtime_api/jobs.rs: resolve_job_cwd / canonical_job_path are sync
  helpers whose only callers run inside spawn_blocking (jobs.rs 665, 711)
  or tests.
- runtime_api/plugins.rs: ui_root_matches / prepare_plugin_ui run inside
  the spawn_blocking blocks at 1279 and 1327.
- paths/lib.rs and paths/daemon_socket.rs: root-owned symlink ancestor
  resolution for the daemon socket path, synchronous startup code.
- plugins/marketplace/document.rs and plugins/registry.rs: synchronous
  library code in the reviewed-plugin registry and marketplace reader.

Only those eight entries are raised, using counts from a clean export of
origin/main, so uncommitted work in the shared checkout cannot skew them.
Optional tightenings (subagent/mod.rs, file_frecency.rs,
private_directory.rs) are left for the owners' next --update.

Verified: check-blocking-calls-budget.py exits 0 against a git archive
of origin/main with this budget.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
CodeWhale BotandClaude Opus 5.5 committed 2026-11-07 12:15:34 -08:00
1 parent b175b1f9ed
commit 6e0042e3ac
1 file changed
+16 -2
+16 -2
View File
@@ -27,6 +27,12 @@
"crates/app-server/src/runtime_api/git.rs": {
"std_fs": 6
},
"crates/app-server/src/runtime_api/jobs.rs": {
"std_fs": 3
},
"crates/app-server/src/runtime_api/plugins.rs": {
"std_fs": 2
},
"crates/app-server/src/runtime_api/workspace.rs": {
"path_canonicalize": 4,
"std_fs": 3
@@ -295,6 +301,13 @@
"crates/net/src/import_claude.rs": {
"std_fs": 2
},
"crates/paths/src/daemon_socket.rs": {
"std_fs": 1
},
"crates/paths/src/lib.rs": {
"path_canonicalize": 1,
"std_fs": 1
},
"crates/plugins/src/builtin.rs": {
"thread_sleep": 1
},
@@ -317,13 +330,14 @@
"path_canonicalize": 2
},
"crates/plugins/src/marketplace/document.rs": {
"std_fs": 1
"std_fs": 2
},
"crates/plugins/src/marketplace/store.rs": {
"std_fs": 1
},
"crates/plugins/src/registry.rs": {
"path_canonicalize": 6,
"path_canonicalize": 7,
"std_fs": 1,
"thread_sleep": 1
},
"crates/plugins/src/runtime.rs": {