Daemon/plugin exit hardening: deferred review items from v0.32.2 #305
Labels
No labels
code-review
correctness
dos
performance
security
severity/high
severity/low
severity/medium
tech-debt
Kind/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
h-dv/code-index#305
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
These were found by the independent review of the v0.32.2 daemon-robustness lane. The lane was stopped before it fixed them, and none of them blocked the release.
OpenProcess/WaitForSingleObjecterror is treated as "parent gone". OnlyERROR_INVALID_PARAMETERmeans gone. Other errors, such as access denied, should keep the worker alive and log the error.daemon.exit, not exit 0 or 1.docs/needs one line ondaemon.exitand onCODE_INDEX_TOOL_CALL_BUDGET_SECS.BEGIN(DEFERRED) sites that later write. They can still failSQLITE_BUSYon the lock upgrade without the new backoff.tracingfields.Each fix needs a test whose mutation has actually been run.