feat(kiloclaw): add lifecycle push notifications#2915
Merged
Conversation
Contributor
Code Review SummaryStatus: No Issues Found | Recommendation: Merge Files Reviewed (1 files)
Reviewed by gpt-5.5-20260423 · 616,645 tokens |
Drive the ready push off the existing low-load checkin signal instead of an alarm-driven gateway probe. Trades ~10s latency for ~2min worst-case (matches the email path) but deletes the probe window, alarm-cadence clamp, duplicate sent-flag, and four scattered dispatch sites. Fold the start-failed push into a single recordStartFailure helper so analytics emit and push dispatch can't drift apart, centralize flag resets via LIFECYCLE_NOTIFICATION_RESET, and move lifecycle-push under durable-objects/kiloclaw-instance/ to fix the layering inversion. Also strip unrelated wrangler types regen drift from worker-configuration.d.ts so only the new NOTIFICATIONS binding shows. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
iscekic
approved these changes
Apr 30, 2026
St0rmz1
added a commit
that referenced
this pull request
Apr 30, 2026
…e-tag Resolves conflict in services/kiloclaw/src/durable-objects/kiloclaw-instance/index.ts: both branches added imports near each other (this branch: syncTrackedImageTagToPostgresHelper from ./postgres; main: lifecycle-push imports from PR #2915). Took both. Test file auto-merged.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Verification
Visual Changes
N/A
Reviewer Notes