ecosystem_index_update
Trigger an ecosystem index update that runs a scanner and computes a diff. Use dry run to preview changes before persisting them.
Instructions
Trigger ecosystem index update — runs scanner + computes diff.
Maps to POST /api/ecosystem/index_update. Verifies that at least
one enabled DataSource and an active ScanProfile exist, then runs the
full pipeline: gh search → NormalizedSignal → classify active status
→ diff against DB → alert threshold check → (if dry_run=False) persist
index_diff + status_changes. When dry_run=True, no writes touch
ecosystem_repo_profiles / ecosystem_index_diffs /
ecosystem_status_changes (BUG #6/#8 fix verified in
test_dry_run_does_not_write_profile_table).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | When True (default), simulate the scan and return diff preview only. When False, persist profile upserts + index_diff + status_changes. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||