Skip to content

feat(ci): add IR version consistency validation and fix mismatches#11650

Merged
fern-support merged 2 commits intomainfrom
devin/1769027684-validate-ir-version-consistency
Jan 22, 2026
Merged

feat(ci): add IR version consistency validation and fix mismatches#11650
fern-support merged 2 commits intomainfrom
devin/1769027684-validate-ir-version-consistency

Conversation

@jsklan
Copy link
Copy Markdown
Contributor

@jsklan jsklan commented Jan 21, 2026

Description

Adds CI validation to ensure irVersion consistency between seed.yml and versions.yml files, and fixes all existing mismatches found in the codebase.

The original validation script from Devin was simplified from 131 to 61 lines, removing verbose formatting and following the project's patterns of keeping validation logic simple and focused.

Changes Made

  • Validation Script: Added scripts/validate-ir-version-consistency.sh with simplified logic for checking irVersion consistency
  • CI Integration: Added GitHub Actions workflow that runs validation on relevant file changes
  • Deprecated Generator Exclusion: Script skips ruby v1 generators (ruby-model, ruby-sdk) as they are deprecated
  • Seed Configuration Fixes: Updated 5 seed.yml files where version was lower than latest release:
    • fastapi: 60 → 61
    • go-fiber: 58 → 60
    • pydantic-v2: 60 → 62
    • pydantic: 60 → 62
    • rust-sdk: 61 → 62
  • Generator Releases: Published new patch versions for generators where seed was ahead:
    • go-sdk v1.22.9 with irVersion 61 (to support Generation Metadata feature)
    • rust-model v0.1.2 with irVersion 61

Testing

  • Manual testing completed - script correctly identifies and resolves all mismatches
  • Validation now passes with all IR versions consistent across the codebase
  • Script handles edge cases (missing files, deprecated generators)

…sions.yml

Co-Authored-By: judah@buildwithfern.com <jsklan.development@gmail.com>
@devin-ai-integration
Copy link
Copy Markdown
Contributor

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

@github-actions
Copy link
Copy Markdown
Contributor

🌱 Seed Test Selector

Select languages to run seed tests for:

  • Python
  • TypeScript
  • Java
  • Go
  • Ruby
  • C#
  • PHP
  • Swift
  • Rust
  • OpenAPI
  • Postman

How to use: Click the ⋯ menu above → "Edit" → check the boxes you want → click "Update comment". Tests will run automatically and snapshots will be committed to this PR.

@devin-ai-integration devin-ai-integration bot changed the title feat: add CI check for irVersion consistency between seed.yml and versions.yml feat(ci): add check for irVersion consistency between seed.yml and versions.yml Jan 21, 2026
- Add validate-ir-version-consistency.sh script to check seed.yml vs versions.yml
- Skip deprecated ruby v1 generators (ruby-model, ruby-sdk) in validation
- Fix seed.yml files where version was lower than latest release:
  * fastapi: 60 → 61
  * go-fiber: 58 → 60
  * pydantic-v2: 60 → 62
  * pydantic: 60 → 62
  * rust-sdk: 61 → 62
- Publish new releases to fix version mismatches:
  * go-sdk v1.22.9 with irVersion 61
  * rust-model v0.1.2 with irVersion 61
- Add GitHub Actions workflow to run validation in CI

Co-Authored-By: Claude Sonnet 4 <noreply@anthropic.com>
@fern-support fern-support changed the title feat(ci): add check for irVersion consistency between seed.yml and versions.yml feat(ci): add IR version consistency validation and fix mismatches Jan 21, 2026
@fern-support fern-support merged commit 190fb92 into main Jan 22, 2026
159 checks passed
@fern-support fern-support deleted the devin/1769027684-validate-ir-version-consistency branch January 22, 2026 21:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants