Skip to content

feat: add status page CLI commands and YAML workflow#6

Merged
caballeto merged 3 commits intomainfrom
feat/status-pages
Apr 16, 2026
Merged

feat: add status page CLI commands and YAML workflow#6
caballeto merged 3 commits intomainfrom
feat/status-pages

Conversation

@caballeto
Copy link
Copy Markdown
Contributor

Summary

  • 28 imperative CLI commands for status pages (pages, components, groups, incidents, subscribers, domains)
  • Full YAML declarative workflow: validate, plan, deploy with sub-resource reconciliation
  • Updated OpenAPI spec and regenerated types
  • Fixed pre-existing type errors from stricter API contract

Test plan

  • Run npm run build and npm run lint — 0 errors
  • Run surface integration tests (make test-surface SURFACE=cli)
  • Run parity tests

Made with Cursor

Implements full Status Page support:

- 28 imperative commands (CRUD for pages, components, groups, incidents, subscribers, domains)
- YAML declarative workflow (validate, plan, deploy) with sub-resource reconciliation
- Updated OpenAPI spec and regenerated types
- Fixed pre-existing type errors from stricter API contract

Made-with: Cursor
- Make --body required on incidents create (API requires it)
- Add GROUP component type and --resource-group-id flag
- Add missing flags to components/groups create and update commands
- Remove slug from update flags (immutable after creation)
- Add --enabled flag to status page update
- Fix YAML applyUpdate to use proper UpdateStatusPageRequest shape
- Guard syncSubResources to skip when no sub-resources in YAML
- Send null branding fields in update to preserve server state

Made-with: Cursor
- Add statusPage to ALL_HANDLED_TYPES, metadata, refKey, deletePath tests
- Update allHandlers count from 9 to 10
- Add STATUS_PAGES to CLI_RESOURCE_CONFIGS in parity test
- Fix applier test: isDefault should be null, not undefined

Made-with: Cursor
@caballeto caballeto merged commit 8223aae into main Apr 16, 2026
3 checks passed
@caballeto caballeto deleted the feat/status-pages branch April 16, 2026 11:38
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