mirror of
https://github.com/codewhale-hq/Codewhale.git
synced 2026-11-07 10:36:05 -10:00
chore(ratchet): acknowledge synchronous blocking-call sites [skip ci]
The early hosted CI run onb175b1f9ed(run 42408093869, job Lint) failed the #6149 blocking-calls ratchet: eight file budgets were exceeded by sites added in821c478eb9,c49fd2c331and91fd65705awithout 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:
1 parent
b175b1f9ed
commit
6e0042e3ac
1 file changed
+16
-2
@@ -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": {
|
||||
|
||||
Reference in new issue
Block a user