Skip to content

Fix post-process dashboard and launch naming issues#102

Merged
moodmosaic merged 4 commits into
masterfrom
release/0.20.16
May 26, 2026
Merged

Fix post-process dashboard and launch naming issues#102
moodmosaic merged 4 commits into
masterfrom
release/0.20.16

Conversation

@moodmosaic
Copy link
Copy Markdown
Member

Summary

  • Sanitize Docker/project identifiers derived from repo basenames so uppercase paths work.
  • Show configured post-processing in the dashboard before the PP container starts.
  • Add a dedicated post-process log shortcut and require confirmation before starting post-process.
  • Clarify that launch.sh wait waits for already-started agents and does not launch them.

Changes

  • lib/project.sh, launch.sh, dashboard.sh, harvest.sh, costs.sh, progress.sh, tests/test.sh: share a Docker-safe internal project id while preserving raw repo names for display/run context.
  • dashboard.sh, tests/test_dashboard.sh: render pending PP rows, add p for post-process logs, and use confirmed P for starting/replacing post-process.
  • README.md, USAGE.md, launch.sh, tests/test_launch.sh: document the start then wait flow and manual post-process/harvest behavior.
  • CHANGELOG.md: add unreleased entries for the fixes.

Test plan

  • ./tests/test_dashboard.sh
  • ./tests/test_launch.sh
  • ./tests/test.sh --all

launch.sh used the raw repository basename for Docker image
and container names, which fails when the checkout path contains
uppercase characters because Docker repository names must be
lowercase.

Add a shared project-id helper and use it across launch,
dashboard, harvest, progress, costs, and test helpers. The raw
repository basename stays in user-facing run context and dashboard
titles.

Tests cover uppercase and separator-heavy project names in
test_launch.sh.
The dashboard only rendered PP after the post-process container
existed, so a configured post_process block looked absent during
the main agent run.

Render a synthetic PP configured row from the swarmfile before the
container starts, while preserving the existing Docker-derived row
once the container exists. Include the post-process driver in
multi-driver column detection.

Tests cover pending row defaults, driver and tag inheritance, and
post-process driver splits in test_dashboard.sh.
The dashboard showed a PP row once post-processing existed, but
there was no shortcut to follow its logs. The previous p/P binding
also started post-processing immediately, which made accidental
keypresses risky.

Split the controls so lowercase p tails an existing PP container
and never starts work. Uppercase P starts or replaces
post-processing only after confirmation.

Tests pin the separate p and P case arms and assert that the
lowercase path cannot call launch.sh post-process.
The docs described launch.sh wait as blocking, harvesting, and
post-processing without saying that numbered agents must already
have been started. That made wait look like an end-to-end launch
command.

Update command help, README, and USAGE to show the normal start
then wait sequence. Also document that harvest.sh only merges
local agent work, while post-process runs triage and then harvests.

Tests assert the revised launch.sh help text in test_launch.sh.
@moodmosaic moodmosaic merged commit 8507a8a into master May 26, 2026
5 checks passed
@moodmosaic moodmosaic deleted the release/0.20.16 branch May 26, 2026 15:34
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