Skip to content

feat: add --no-wait, status, and poll to enrichment CLI#27

Merged
NormallyGaussian merged 1 commit intomainfrom
feat/enrichment-no-wait-status-poll
Feb 6, 2026
Merged

feat: add --no-wait, status, and poll to enrichment CLI#27
NormallyGaussian merged 1 commit intomainfrom
feat/enrichment-no-wait-status-poll

Conversation

@NormallyGaussian
Copy link
Contributor

@NormallyGaussian NormallyGaussian commented Feb 6, 2026

Summary

  • Add --no-wait flag to enrich run so users can fire-and-forget long-running enrichment jobs
  • Add enrich status <taskgroup_id> command to check task group progress
  • Add enrich poll <taskgroup_id> command to wait for completion and collect results
  • Extract create_task_group(), get_task_group_status(), poll_task_group() as reusable core functions
  • Thread no_wait through runner and all three processors (CSV, DuckDB, BigQuery)

Test plan

  • uv run pytest tests/ -q — 381 tests pass
  • uv run ruff check . && uv run ruff format --check . — clean
  • Manual: parallel-cli enrich run --no-wait --source-type csv ... prints taskgroup_id
  • Manual: parallel-cli enrich status <tgrp_id> shows progress
  • Manual: parallel-cli enrich poll <tgrp_id> --json waits and outputs results

Mirror the research CLI pattern for long-running enrichment jobs.
Users can now fire-and-forget enrichment tasks and check on them later.
@NormallyGaussian NormallyGaussian merged commit ab41d03 into main Feb 6, 2026
4 checks passed
@NormallyGaussian NormallyGaussian deleted the feat/enrichment-no-wait-status-poll branch February 6, 2026 21:08
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