Skip to content

feat: compile recordings automatically after stop - #88

Merged
abrichr merged 2 commits into
mainfrom
fix/auto-compile-on-record-stop
Jul 28, 2026
Merged

feat: compile recordings automatically after stop#88
abrichr merged 2 commits into
mainfrom
fix/auto-compile-on-record-stop

Conversation

@abrichr

@abrichr abrichr commented Jul 28, 2026

Copy link
Copy Markdown
Member

What changed

  • Compile each completed Flow or native recording automatically.
  • Keep the raw recording when compilation fails.
  • Show compile progress, a clear failure state, and a retry action in Desktop.
  • Open the compiled workflow once, even when both the event and command response arrive.

Why

The normal authoring path stopped after capture and required a separate manual compile action. This change completes the record-to-workflow transition while preserving the retained recording and the existing local privacy boundary.

User impact

After an operator stops a recording, Desktop builds the workflow and opens it automatically. If the build fails, Desktop keeps the recording and offers a retry instead of requiring another demonstration.

Checks

  • uv run python -m pytest -q tests/test_engine/test_dispatch.py — 62 passed
  • npm run test:ui -- src/screens/RecordReview.test.tsx — 1 passed
  • npm run build — passed
  • uv run ruff check engine/dispatch.py tests/test_engine/test_dispatch.py — passed
  • git diff --check origin/main...HEAD — passed

Integration

The change is file-disjoint from Desktop PR #85 and from the loopback authentication lane.

@abrichr
abrichr marked this pull request as ready for review July 28, 2026 05:41
@abrichr
abrichr merged commit e3257f7 into main Jul 28, 2026
15 checks passed
@abrichr
abrichr deleted the fix/auto-compile-on-record-stop branch July 28, 2026 05:41
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