Skip to content

chore: bump go-flashduty to v0.6.0 and regenerate CLI commands - #124

Merged
ysyneu merged 2 commits into
mainfrom
chore/bump-go-flashduty-v0.6.0
Jul 28, 2026
Merged

chore: bump go-flashduty to v0.6.0 and regenerate CLI commands#124
ysyneu merged 2 commits into
mainfrom
chore/bump-go-flashduty-v0.6.0

Conversation

@ysyneu

@ysyneu ysyneu commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Bumps github.com/flashcatcloud/go-flashduty v0.5.13 → v0.6.0 and regenerates the CLI's generated command layer (internal/cmd/cligen) and skill reference cards (internal/cmd/skilldoc gen) against it.
  • Picks up four spec corrections from the SDK bump:
    • automation rule create: --timezone help text — falls back to the server default, not UTC, when omitted
    • channel create: group.time_window help text — minutes, not seconds
    • datasource info: help text no longer claims credential fields come back masked
    • status-page update/delete gain real flags. Both previously took no request fields at all (an upstream spec bug — EmptyRequest), even though they always accepted real fields server-side. status-page update now exposes --page-id (required) plus all the page's editable fields (name, url-name, custom-domain, page-title, logo, dark-logo, logo-url, favicon, page-header, page-footer, date-view, display-uptime-mode, custom_links/subscription via --data, contact-info, template-preference); status-page delete exposes --page-id (required). This is a breaking change to the generated Go API (StatusPagesService.Update/.Delete now take a request param) but a pure improvement for CLI users — verified --help output on both.
  • Second commit: adds a Gotcha to skills/flashduty/reference/monit.md noting that datasource-info (and create/update responses) return credentials exactly as configured, with no masking — treat the output as sensitive.

Test plan

  • go build ./...
  • go test -race ./... — all packages pass
  • go run ./internal/cmd/skilldoc check — cards OK
  • make fmt / make lint — 0 issues, no additional diff
  • ./bin/flashduty status-page update --help and ... delete --help — confirmed real flags render correctly
  • Diff reviewed — only the four affected zz_generated_*.go files, safari.md/status-page.md generated fences, and the one hand-written monit.md Gotcha line changed

ysyneu added 2 commits July 28, 2026 07:29
Picks up four spec fixes from the SDK: automation timezone fallback
(server default, not UTC), channel-create group.time_window units
(minutes, not seconds), datasource-info's credential description, and
real request schemas for status-page update/delete.

The last one is a breaking change downstream: status-page update and
delete previously took no request fields at all (an EmptyRequest spec
bug), so `status-page update`/`delete` gain real flags — page_id plus,
for update, all the page's editable fields (name, url_name,
custom_domain, page_title, logo, dark_logo, logo_url, favicon,
page_header, page_footer, date_view, display_uptime_mode,
custom_links, contact_info, subscription, template_preference).

Regenerated via `go run ./internal/cmd/cligen` (Cobra commands) and
`go run ./internal/cmd/skilldoc gen` (skill reference cards).
datasource-info (and the create/update responses) now describe the
payload as returned exactly as configured, with no masking. Add a
Gotcha so the agent treats that output as sensitive rather than
dumping it into logs or forwarding it to another tool.
@ysyneu
ysyneu merged commit b17ec8f into main Jul 28, 2026
12 checks passed
@ysyneu
ysyneu deleted the chore/bump-go-flashduty-v0.6.0 branch July 28, 2026 14:33
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