Skip to content

Harden node lifecycle and API handling - #78

Open
Rerowros wants to merge 5 commits into
PasarGuard:devfrom
Rerowros:codex/node-runtime-hardening
Open

Harden node lifecycle and API handling#78
Rerowros wants to merge 5 commits into
PasarGuard:devfrom
Rerowros:codex/node-runtime-hardening

Conversation

@Rerowros

@Rerowros Rerowros commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

Summary

  • fail closed when API_KEY is missing, malformed, or the zero UUID
  • make backend stop/replacement serializable and prevent a stale keepalive worker from stopping a replacement backend
  • return real gRPC empty responses and propagate streaming receive failures
  • surface failed Xray runtime user removal instead of falsely confirming revocation
  • set HTTP deadlines/body limits and validate WireGuard ticker intervals

Validation

  • go test ./controller — passed
  • go vet ./...
  • git diff --check

Known test-environment limitation

Existing REST/gRPC integration suites require TLS fixtures absent from this checkout; their packages compile before TestMain exits.

@coderabbitai

coderabbitai Bot commented Aug 9, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 702fd7ec-a7b1-4bcb-93a6-d88bb1bea949

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@Rerowros
Rerowros force-pushed the codex/node-runtime-hardening branch from abbad55 to 3e13919 Compare August 9, 2026 04:45
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