Skip to content

fix: pin monitor YAML snapshot to known update fields - #111

Open
caballeto wants to merge 1 commit into
mainfrom
fix/monitor-snapshot-additive-fields
Open

fix: pin monitor YAML snapshot to known update fields#111
caballeto wants to merge 1 commit into
mainfrom
fix/monitor-snapshot-additive-fields

Conversation

@caballeto

Copy link
Copy Markdown
Member

Summary

  • MonitorSnapshot was Required<UpdateMonitorRequest>. After mono #1040 the spec grew capturePolicy, fastRetryMaxAttempts, package, and status, and Spec Evolution Harness regen fails handlers.ts.
  • Snapshot type now Picks the YAML-managed keys so additive optional update fields do not break constructors.

Test plan

  • npm run typecheck
  • Spec Evolution Harness CLI cases after this lands on main (mono clones CLI main)

Made with Cursor

Required<UpdateMonitorRequest> breaks CLI typecheck after spec regen adds optional keys. Pick the YAML-managed fields so additive DTO properties stay non-events.

Co-authored-by: Cursor <cursoragent@cursor.com>
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