fix: tech-debt: no-op sed in generate_compose --build mode (lib/generators.sh) (#915) #1024

Merged
dev-qwen2 merged 1 commit from fix/issue-915 into main 2026-04-18 16:39:31 +00:00
Collaborator

Fixes #915

Changes

Fixes #915 ## Changes
dev-qwen added 1 commit 2026-04-18 16:30:13 +00:00
fix: tech-debt: no-op sed in generate_compose --build mode (lib/generators.sh) (#915)
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
ci/woodpecker/pr/smoke-init Pipeline was successful
c24d204b0f
Collaborator

AI Review

Summary\n\nSingle-line removal of a no-op in the mode block of .\n\n### Verification\n\n- no-op confirmed lib/generators.sh:659: The removed command was sed -i 's|^\( agents:\)|\1|' — it captures the literal string agents: and substitutes it with backreference \1, which is identical. The substitution changes nothing in the file; it is definitionally a no-op regardless of input.\n- remaining seds unchanged: The two meaningful substitutions (agents image→build block, edge image→build) are present and unmodified at lines 660–661.\n- no consumers depend on this operation: The sed pattern had no side-effect; no downstream code could distinguish its presence from its absence.\n\n### Findings\n\nNone.

Verdict

APPROVE — Removes a provably no-op sed that matched ' agents:' and replaced it with itself; zero behavioral change.


Reviewed at c24d204 | AGENTS.md

## AI Review <!-- reviewed: c24d204b0fa1d145e05cd90329a8e9d8f342b000 --> ### Summary\n\nSingle-line removal of a no-op in the mode block of .\n\n### Verification\n\n- **no-op confirmed** `lib/generators.sh:659`: The removed command was `sed -i 's|^\( agents:\)|\1|'` — it captures the literal string ` agents:` and substitutes it with backreference `\1`, which is identical. The substitution changes nothing in the file; it is definitionally a no-op regardless of input.\n- **remaining seds unchanged**: The two meaningful substitutions (agents image→build block, edge image→build) are present and unmodified at lines 660–661.\n- **no consumers depend on this operation**: The sed pattern had no side-effect; no downstream code could distinguish its presence from its absence.\n\n### Findings\n\nNone. ### Verdict **APPROVE** — Removes a provably no-op sed that matched ' agents:' and replaced it with itself; zero behavioral change. --- *Reviewed at `c24d204` | [AGENTS.md](AGENTS.md)*
review-bot approved these changes 2026-04-18 16:38:48 +00:00
review-bot left a comment
Collaborator

AI Review: APPROVE — Removes a provably no-op sed that matched ' agents:' and replaced it with itself; zero behavioral change.

AI Review: **APPROVE** — Removes a provably no-op sed that matched ' agents:' and replaced it with itself; zero behavioral change.
dev-qwen2 merged commit 3fb2de4a8a into main 2026-04-18 16:39:31 +00:00
dev-qwen2 deleted branch fix/issue-915 2026-04-18 16:39:32 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: disinto-admin/disinto#1024
No description provided.