Skip to content

Conversation

@jdalton
Copy link
Contributor

@jdalton jdalton commented Jan 26, 2026

Summary

Updated the generate.yml workflow documentation to explicitly mention that strict types are being generated.

Changes

  • Added comment to "Generate SDK" step clarifying it generates both types/api.d.ts and src/types-strict.ts
  • Updated PR description template to include strict types regeneration in the list of automatic updates

Context

The pnpm run generate-sdk command already generates strict types via scripts/generate-sdk.mjs (step 3), but this wasn't documented in:

  1. The workflow step comments
  2. The automated PR description template

This change makes it clear to reviewers that both type files are being regenerated when the OpenAPI definition changes.

Test plan

  • Verified the workflow file syntax is correct
  • Confirmed that generate-sdk.mjs does call generateStrictTypes() (line 236)
  • Pre-commit hooks passed (lint + tests)

@jdalton jdalton added documentation Improvements or additions to documentation and removed documentation Improvements or additions to documentation labels Jan 26, 2026
@jdalton jdalton changed the title docs(ci): clarify strict types generation in workflow generate strict types generation in workflow Jan 26, 2026
Update generate.yml workflow documentation to explicitly mention that
strict types (src/types-strict.ts) are generated alongside standard
types (types/api.d.ts) when the OpenAPI definition is synced.

The generation was already happening via generate-sdk.mjs, but wasn't
documented in the workflow comments or PR description template.
@jdalton jdalton force-pushed the docs/clarify-strict-types-generation branch from a9f47cb to 492db14 Compare January 26, 2026 23:05
@jdalton jdalton changed the title generate strict types generation in workflow ci: clarify strict types generation in workflow Jan 26, 2026
@jdalton jdalton enabled auto-merge (squash) January 26, 2026 23:09
@jdalton jdalton merged commit bdb5cc2 into main Jan 26, 2026
8 checks passed
@jdalton jdalton deleted the docs/clarify-strict-types-generation branch January 26, 2026 23:16
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.

3 participants