Skip to content

chore: implement phase 6 - #2784

Draft
Tofel wants to merge 2 commits into
dx-5122-alerts-assertion-p5from
dx-5122-alerts-assertion-p6
Draft

chore: implement phase 6#2784
Tofel wants to merge 2 commits into
dx-5122-alerts-assertion-p5from
dx-5122-alerts-assertion-p6

Conversation

@Tofel

@Tofel Tofel commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Implements Watch() (invariant H2): record the first observation of each non-skipped rule, detach a child that polls, return after the child reports ready on an inherited pipe, write the pidfile only then; a clean stop writes the sentinel, a hard error does not.

Review focus: watch.go parent/child handshake and the pidfile-vs-sentinel semantics.

@github-actions

github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown

📊 API Diff Results

No changes detected for module github.com/smartcontractkit/chainlink-testing-framework/grafana-alertcheck

View full report

@Tofel
Tofel force-pushed the dx-5122-alerts-assertion-p6 branch from c1f0275 to a68bc90 Compare September 1, 2026 11:25
@Tofel
Tofel force-pushed the dx-5122-alerts-assertion-p6 branch from a68bc90 to 2bbb84b Compare September 1, 2026 14:18
@Tofel
Tofel force-pushed the dx-5122-alerts-assertion-p6 branch from 2bbb84b to 4161182 Compare September 1, 2026 14:46
@Tofel
Tofel force-pushed the dx-5122-alerts-assertion-p6 branch from 4161182 to 2b64acf Compare September 1, 2026 15:25
@Tofel
Tofel force-pushed the dx-5122-alerts-assertion-p6 branch 2 times, most recently from 07d2fb9 to c7a6144 Compare September 4, 2026 15:03
Invariant defended: H2. The one question: can watch return success over a
window that nothing is recording?

Watch() records the first observation of each non-skipped rule, then detaches
a child that polls at the cadence in the header. The parent returns only after
the child reports ready on an inherited pipe, and writes the pidfile after
that. A clean stop writes the sentinel; a hard error does not.
@Tofel
Tofel force-pushed the dx-5122-alerts-assertion-p6 branch from c7a6144 to eabba1c Compare September 4, 2026 15:15
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