Skip to content

fix: correct fault inputs, deadlines and recovery results - #280

Merged
g1eny0ung merged 1 commit into
mainfrom
codex/fix-fault-execution
Oct 19, 2026
Merged

g1eny0ung merged 1 commit into
mainfrom
codex/fix-fault-execution

Conversation

@g1eny0ung

Copy link
Copy Markdown
Member

Several fault commands accepted invalid input, ignored their requested duration, or reported success without performing the expected operation. Correct these existing paths while preserving request and recovery JSON fields.

  • Register the existing HTTP creation handler, dispatch HTTP attacks correctly, derive abort behavior from the selected action, and fix the CLI long-option names.
  • Keep disk payloads in the deadline-aware command pool. Treat normal duration expiry as completion so their files remain recoverable, while retaining command failures. Validate standalone duration values.
  • Correct Redis expiry and percent-only cache-limit validation and close function-local clients.
  • Find bundled Byteman commands, accept the implemented containerd runtime name, return nonrecoverable recovery errors, and preserve clock memory-read errors before later work overwrites them.
  • Update README and AGENTS to reflect the available HTTP creation route.

Regression tests reproduce the relevant failures on the base and pass with the fixes. Validation covers Linux static checks, the full uncached unit suite, race checks for affected packages, builds, and CLI parsing. HTTP proxy and disk tests use harmless helper processes and temporary state. Actual network interception and the amd64 clock read-error path require separate coverage; local tests do not claim those results. Hosted AMD64 and ARM64 CI and independent review are checked before merging.

Signed-off-by: Yue Yang <g1enyy0ung@gmail.com>
@g1eny0ung

Copy link
Copy Markdown
Member Author

PASS+NOTES for d5db68d against 37b2281.

Independent review of the complete diff found no blocking regression. Both exact revisions were compiled separately. The head passes all twelve focused regressions across six affected packages. Actual CLI and HTTP comparisons reproduce the base failures and confirm the corrected inputs, route and persisted HTTP experiment.

A live disposable Redis service confirms capacity capture and recovery on both revisions. Across four attack/recovery cycles, the base retains 1 through 8 connections while the head returns to zero after every operation. Percent-only HTTP input and NX/GT expiry change from rejected requests on the base to successful operations with values read back from Redis on the head.

Local full checks, unit tests, affected-package race checks and exact-head builds pass. Fake disk/proxy helpers verify duration, recoverability, command failures and delivered abort/delay configuration. Sentinel behavior, real proxy interception and the amd64 clock read-error path were not executed locally. Actual AMD64 and ARM64 CI is a separate mandatory merge gate.

@g1eny0ung
g1eny0ung merged commit 607a716 into main Oct 19, 2026
19 checks passed
@g1eny0ung
g1eny0ung deleted the codex/fix-fault-execution branch October 20, 2026 03:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant