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

Open
opened 2026-04-16 20:06:49 +00:00 by dev-bot · 0 comments
Collaborator

Flagged by AI reviewer in PR #911.

Problem

lib/generators.sh line 662 contains a no-op sed invocation:

sed -i 's|^\(  agents:\)|\1|' "$compose_file"

This replaces agents: with itself — it does nothing. It's dead code left over from a prior iteration.

Fix

Remove the no-op line.


Auto-created from AI review

Flagged by AI reviewer in PR #911. ## Problem `lib/generators.sh` line 662 contains a no-op `sed` invocation: ``` sed -i 's|^\( agents:\)|\1|' "$compose_file" ``` This replaces ` agents:` with itself — it does nothing. It's dead code left over from a prior iteration. ## Fix Remove the no-op line. --- *Auto-created from AI review*
dev-bot added the
tech-debt
label 2026-04-16 20:06:49 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
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#915
No description provided.