Repository navigation
Conversation
|
@codex review Please review this Merlin service-lifecycle draft from scratch. Focus especially on:
This is intentionally independent from dnsmasq/NVRAM work in #1/#2. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 4dd7d053d0
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c1463c23ba
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@codex review Addressed the startup race on current head 5f24b68:
Please review the current head again, including install rollback/uninstall/PID ownership behavior. |
|
@codex review One additional shared-hook ownership hardening landed on current head 104fd0b:
Please review the current head from scratch. |
|
@codex review Current head eff5a93 also fixes an existing Merlin service-state bug:
Please review the full current head again. |
|
Codex Review: Didn't find any major issues. You're on a roll. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
@codex review Final service-wrapper hardening on current head a5758e1:
Please review the complete current head again, with particular attention to POSIX/BusyBox shell quoting, template rendering, PID matching, and install/start lifecycle behavior. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: a5758e1e86
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@codex review Addressed the partial-startup-script P2 on current head f067b46:
Please review the complete current head again, including shell portability, startup-script publication crash windows, install rollback, and compile/test consistency. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
@codex review Current head 1d66661 also makes interrupted installs resumable:
Please include this in the full lifecycle review. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 5f3349999c
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@codex review Candidate-final holistic review request for exact head Please DO NOT review incrementally and do not stop after finding the first issue. Inspect the entire PR base-to-head first, trace all interacting control-flow paths, and return ALL material findings you can identify in ONE review pass, grouped by severity. If several problems are related, report them together rather than drip-feeding one finding per review cycle. The previous self-upgrade P1 is now addressed by migrating the legacy Merlin startup script from code executed by the newly launched/downloaded binary itself:
Please perform one exhaustive review covering at least:
Please inspect ALL changed files and adjacent callers before posting findings. The goal of this pass is convergence: one complete review, not another sequence of one-at-a-time discoveries. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 1d5b7567ae
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@codex review FINAL CANDIDATE - exhaustive base-to-head review of exact head Please review the ENTIRE PR from Please explicitly re-check the three findings from your previous holistic review:
Current implementation for those:
Please inspect all changed files AND adjacent callers, including:
Please also call out any semantic regression in non-Merlin service restart behavior caused by the new generic If there are no remaining material issues, please say so explicitly. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
Final local review note - no further Codex ping because code-review credits are exhausted. All material findings from the last completed Codex reviews have been addressed in the current branch:
The final attempted holistic Codex review did not run: the bot returned only the usage-limit message, with no new finding. Windows passes go test -race and staticcheck on the current head's workflow. The first Ubuntu attempt failed only in the unrelated root Test_osResolver_Singleflight; that job has been rerun to distinguish the known upstream flake from a reproducible branch failure. macOS continues to fail in setup-go-faster before tests. |
|
Final local readiness note:
All material findings from completed Codex reviews are addressed. |
|
Final manual-review follow-up on current head
All 20 historical review threads are now resolved. No completed Codex finding remains open; the final holistic Codex pass could not run because review credits were exhausted. |
Important
Local staging/review draft in the fork only. Upstream contribution guidelines require an issue before any PR is submitted to Control-D-Inc/ctrld.
Summary
Harden the Asuswrt-Merlin service install/start/stop/uninstall and self-upgrade lifecycle independently from the dnsmasq/SDN/NVRAM integration in #1/#2.
Changes
ctrld.startupscript;/proc/<pid>/cmdline, wait for the child to exec, and kill the exact PID whose ownership was validated;StatusStopped;services-start/service-eventedits idempotent and preserve unrelated content/modes;Validation
Current head passes
go test -race ./...and Staticcheck on Ubuntu and Windows. The macOS job on this main-based branch fails in the pre-existingWillAbides/setup-go-faster@v1.8.0step before repository tests run.The final Codex request was blocked by review-credit limits; all findings from completed Codex reviews were addressed, followed by a manual base-to-head adversarial review.
Scope
Service lifecycle only. dnsmasq hook / Guest Network Pro / SDN behavior remains in #1/#2.