Skip to content
This repository was archived by the owner on May 13, 2026. It is now read-only.

ci: remove notify-downstream dispatcher (downstream cascade is cron now) - #680

Merged
shiba4life merged 1 commit into
mainfrom
ci/remove-notify-downstream
May 2, 2026
Merged

ci: remove notify-downstream dispatcher (downstream cascade is cron now)#680
shiba4life merged 1 commit into
mainfrom
ci/remove-notify-downstream

Conversation

@shiba4life

Copy link
Copy Markdown
Collaborator

Why

Both downstream consumers moved off per-merge `repository_dispatch` to a 2-hour cron:

  • EdgeVector/fold_db_node#798 — `bump-schema-service.yml` switched to `schedule: "0 */2 * * *"`.
  • EdgeVector/schema_service (sibling PR) — `bump-fold-db.yml` made the same switch.

The `fold_db-main-bump` dispatch this workflow fires no longer has a listener once schema_service's PR lands. Removing the dead dispatcher.

Why the cascade moved off dispatch

Per-merge bumps were superseding each other in downstream merge queues before they could land, burning a full CI cycle on PRs that never merged. Hourly-ish batching coalesces multiple upstream merges into one bump cycle.

Trade-offs

  • End-to-end cascade lag: ~10-15 min → up to ~4h (2h schema_service hop + 2h fold_db_node hop). Force-flush via:
    • `gh workflow run bump-fold-db.yml -R EdgeVector/schema_service`
    • `gh workflow run bump-schema-service.yml -R EdgeVector/fold_db_node`
  • Order-of-merge with the schema_service PR: both orderings are safe. If this lands first, schema_service stops getting dispatches but its own cron isn't active yet → no bumps until it lands (worst case: ~2h gap, same as the new target). If schema_service lands first, this PR's removal is purely cosmetic by then.

Changes

  • `.github/workflows/notify-downstream.yml`: deleted.
  • `CLAUDE.md` ("Bump cascade (downstream)" section): updated to describe the cron-based cascade, end-to-end lag, and the force-flush commands.

Test plan

  • CI passes (workflow + docs only).
  • After both this PR and the schema_service PR land, confirm fold_db merges no longer fire `Notify downstream of fold_db main bump` runs (Actions tab — workflow no longer present).
  • Confirm a fold_db merge still cascades to fold_db_node within ~4h (via the cron path, not via dispatch).

Both downstream consumers (schema_service, fold_db_node) moved to
2-hour cron-based bump workflows:

- EdgeVector/fold_db_node#798 — fold_db_node's bump-schema-service.yml
  switched from `repository_dispatch` to `schedule: "0 */2 * * *"`.
- EdgeVector/schema_service (sibling PR) — schema_service's
  bump-fold-db.yml made the same switch.

The `fold_db-main-bump` dispatch this workflow fires no longer has
a listener (schema_service no longer subscribes), so the workflow
is dead code. Removing it.

Why the cascade moved off dispatch: per-merge bumps were superseding
each other in downstream merge queues before they could land,
burning CI cycles on PRs that never merged. Hourly-ish batching
coalesces multiple upstream merges into one bump cycle.

Trade-off: end-to-end cascade lag grows from ~10-15 min to up to ~4h
(2h schema_service hop + 2h fold_db_node hop). Force-flush via
`gh workflow run bump-fold-db.yml -R EdgeVector/schema_service` and
`gh workflow run bump-schema-service.yml -R EdgeVector/fold_db_node`.

CLAUDE.md "Bump cascade (downstream)" section updated to match.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@shiba4life
shiba4life enabled auto-merge May 2, 2026 00:11
@shiba4life
shiba4life added this pull request to the merge queue May 2, 2026
Merged via the queue into main with commit 403a593 May 2, 2026
15 of 18 checks passed
@shiba4life
shiba4life deleted the ci/remove-notify-downstream branch May 2, 2026 00:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant