Skip to content

run-enrichment: concurrency group per dataset+ref (nemar-cli#755) - #54

Merged
neuromechanist merged 1 commit into
mainfrom
feat/issue-755-enrichment-concurrency
Jun 17, 2026
Merged

neuromechanist merged 1 commit into
mainfrom
feat/issue-755-enrichment-concurrency

Conversation

@neuromechanist

Copy link
Copy Markdown
Member

Summary

Adds a top-level concurrency group to run-enrichment.yml keyed on dataset_id + ref with cancel-in-progress: true, so a newer push/dispatch supersedes an older in-flight enrichment for the same dataset. Latest sources win; fewer concurrent runs racing on the metadata commit and fewer wasted OpenRouter calls. The existing in-flight git pull --rebase + push retry stays as the belt.

Pairs with the backend server-side stale-SHA commit retry in nemarOrg/nemar-cli# (the in-process enrichment path the workflow concurrency can't serialize).

Test plan

  • YAML validated. Group expression falls back across client_payload (repository_dispatch) and inputs (workflow_dispatch).

Serialize enrichment per dataset+ref with cancel-in-progress so a newer push/
dispatch supersedes an older in-flight run -- latest sources win, fewer racing
metadata commits + wasted OpenRouter calls. Pairs with the backend stale-SHA
commit retry in nemarOrg/nemar-cli#755.
@neuromechanist
neuromechanist merged commit 71dabed into main Jun 17, 2026
@neuromechanist
neuromechanist deleted the feat/issue-755-enrichment-concurrency branch June 17, 2026 00:44
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