Skip to content

chore: sync spec + regen for incident num + channel team/creator names#11

Merged
ysyneu merged 1 commit into
mainfrom
chore/enrich-1674-spec
Jun 16, 2026
Merged

chore: sync spec + regen for incident num + channel team/creator names#11
ysyneu merged 1 commit into
mainfrom
chore/enrich-1674-spec

Conversation

@ysyneu

@ysyneu ysyneu commented Jun 16, 2026

Copy link
Copy Markdown
Collaborator

Second link in the docs → SDK → CLI chain for fc-event#1674. Depends on flashduty-docs#89.

Changes

  • IncidentInfoRequest.Numincident/info short-id (num) lookup.
  • ChannelItem.TeamName / ChannelItem.CreatorNamechannel/list enrichment.

Produced by make sync-spec (vendored openapi/{en,zh}.json from the docs spec) + make generate. Diff is exactly the 3 fields in models_gen.go (+6) plus the vendored spec sync — no churn in services_gen.go or other models.

Verification

go vet clean; root unit tests pass (including roundtrip_gen_test schema round-trip).

Chain (merge in order)

  1. flashduty-docs#89 → docs main
  2. this PR → go-flashduty main — then tag/release so the CLI can pin it
  3. flashduty-cli → feat/ai-sre (pins this commit, regenerates the --num flag + channel fields)

Sync the vendored OpenAPI from flashduty-docs (fc-event#1674 enrichment) and
regenerate the typed model layer:

- IncidentInfoRequest.Num — incident/info short-id (num) lookup.
- ChannelItem.TeamName / ChannelItem.CreatorName — channel/list enrichment.

Vendored openapi/{en,zh}.json synced from flashduty-docs; models_gen.go
regenerated via `make generate`. go vet + unit tests (incl. roundtrip) pass.
@ysyneu ysyneu merged commit 54d4fc1 into main Jun 16, 2026
4 checks passed
@ysyneu ysyneu deleted the chore/enrich-1674-spec branch June 16, 2026 05:18
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