fix(router): sync admin whitelist cache via RPC #85
No reviewers
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_router!85
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "development_fix_router_access_cli_sync"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
The
hero_router accessCLI subcommands wroteADMIN_SECRETSto disk via hero_proc but never told the running router to refresh its in-memory whitelist cache, so changes only took effect after a restart. Routing the CLI through the existingrouter.access.*RPCs overrpc.sockkeeps the cache and on-disk state in sync.Related Issue
N/A (uncovered while testing the access CLI end-to-end).
Changes
access list/add/remove/clearthroughrouter.access.*RPC.encode_job_name/decode_job_name/shell_suffix.Test Results
cargo test -p hero_router --lib— 98 passed.6b60b39f7954738558dafix(router): sync admin whitelist via RPC + post-merge polishto fix(router): sync admin whitelist cache via RPC