Skip to content

Deepen run transition metrics#64

Merged
darthfork merged 1 commit into
mainfrom
deepen-run-transitions
May 21, 2026
Merged

Deepen run transition metrics#64
darthfork merged 1 commit into
mainfrom
deepen-run-transitions

Conversation

@darthfork
Copy link
Copy Markdown
Owner

@darthfork darthfork commented May 21, 2026

Summary

  • add a run-transition Module that owns stored run lifecycle transitions, stale/duplicate rejection, gauge deltas, and duration observation
  • keep workflow/job payload handlers as event-specific adapters that pass normalized facts into the transition Module
  • deepen integration coverage for Candidate 1 by asserting delivery-store failures return 500 and do not enqueue/process events
  • deepen integration coverage for Candidate 2 by driving queued -> in_progress -> completed workflow_run events through /webhook and verifying balanced gauges plus duration metrics

TDD notes

  • RED: added interface-level runTransitionProcessor tests first; they failed on the missing Module Interface
  • GREEN: introduced the Module and wired workflow/job metric updates through it
  • REFACTOR: moved run transition types/recording out of github.go and removed shallow helper orchestration

@darthfork darthfork merged commit 90beac3 into main May 21, 2026
3 checks passed
@darthfork darthfork deleted the deepen-run-transitions branch May 21, 2026 22:34
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