Repository navigation
Conversation
|
@codex review Please focus especially on:
This is intentionally the first, narrow layer of a broader Merlin integration cleanup. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 9a2cf7483e
ℹ️ 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 all four findings from the previous review:
Please re-review the current head, especially migration byte preservation and atomic-write/error paths. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 3b0389a096
ℹ️ 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 One more pass please. The two new findings are now addressed:
Please review current head 7dddf37, especially marker lifecycle if another addon edits a ctrld-created hook while ctrld is running. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 7dddf37115
ℹ️ 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 stale ownership-marker finding by removing deletion ownership entirely: cleanup now only removes ctrld's managed block and never deletes the shared hook path, even if the remaining file is just a shell stub. This deliberately favors preserving user/addon state over reclaiming a few bytes. Please review current head df2be2d, with focus on whether any remaining path can delete or reorder unrelated hook content. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: df2be2d67e
ℹ️ 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 both findings from the previous pass:
Also fixed the old legacy fixture so it actually uses the legacy ctrld header. Please review current head d2e7540. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: d2e7540898
ℹ️ 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 latest three findings:
Please review current head fcae247, including compile/test consistency after the merlinPostConfBlock signature change. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: fcae2470c1
ℹ️ 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 all findings from the previous pass:
Please review current head c77595c, especially the whole-Setup rollback path and whether moving SetKV before dnsmasq regeneration creates any remaining ordering/recovery issue. |
There was a problem hiding this comment.
💡 Codex Review
ctrld/internal/router/merlin/merlin.go
Lines 407 to 409 in c77595c
When an SDN runtime config exists during Setup but is removed or renamed before Cleanup—for example, because that guest network is deleted—AdditionalConfigFiles no longer returns it, so the matching ctrld-modified /jffs/configs/<basename> file is never removed. If that SDN is later recreated after ctrld has stopped, the stale persistent configuration can still direct it to ctrld. Persist or otherwise enumerate the destination paths actually installed rather than deriving cleanup solely from the current /tmp/etc files.
ℹ️ 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 Current head c77595c now addresses the previous review by:
Please review the current head from scratch, especially transaction boundaries, rollback safety, pre-existing /jffs/configs/dnsmasq*.conf handling, symlink races, and test portability. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c77595c6b0
ℹ️ 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 The PR has now been deliberately narrowed back to one concern: safe coexistence in the shared main Asuswrt-Merlin Current head 390142b:
Please review this current narrow head from scratch and ignore findings tied to the older lifecycle/SDN version of the branch. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 390142b363
ℹ️ 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 remaining P2 on current head 57f4a5d:
Please review the current narrow head again. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 57f4a5d00d
ℹ️ 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 Fixed the subshell regression on current head 4de5592:
Please review the current narrow head again. |
|
Codex Review: Didn't find any major issues. Breezy! 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". |
|
Final local validation note (no further Codex review requested due review-credit limit):
No implementation finding remains open from the Codex review history. |
|
Final local readiness note:
No material Codex finding remains unaddressed. |
|
Superseded by the maintained v1.x port in #6, now merged into |
Important
Local staging/review draft in the fork only. Per upstream contribution guidelines, an upstream issue must be filed before any PR is submitted to Control-D-Inc/ctrld. This draft will not be submitted upstream until that issue exists.
Summary
Make ctrld coexist safely with an existing Asuswrt-Merlin main
dnsmasq.postconfhook without changing the existing dnsmasq snapshot/NVRAM lifecycle.Changes
# BEGIN ctrld/# END ctrldmarkers# GENERATED BY ctrld - EOFformat used by ctrld <= 1.5.7exit 0so later user/addon hook logic still executesIntentionally out of scope
This PR does not change the existing full
/jffs/configs/dnsmasq*.confsnapshot behavior and does not add Guest Network Pro / SDN support. Those broader Merlin 3006 changes are staged separately in #2.Context: Control-D-Inc#229.