Skip to content

Do not merge: experiment — enable sharedNestedComponentsJan2026 to test Schemas-pattern name recovery#181

Open
Aaron ("AJ") Steers (aaronsteers) wants to merge 1 commit into
mainfrom
devin/1782189546-experiment-sharedNestedComponents
Open

Do not merge: experiment — enable sharedNestedComponentsJan2026 to test Schemas-pattern name recovery#181
Aaron ("AJ") Steers (aaronsteers) wants to merge 1 commit into
mainfrom
devin/1782189546-experiment-sharedNestedComponents

Conversation

@aaronsteers

Copy link
Copy Markdown
Member

Summary

Research PR to measure the naming impact of enabling fixes.sharedNestedComponentsJan2026: true.

v0.53.0 → v1.0.0 lost 481 class names with the Schemas naming pattern (e.g. DestinationAstraSchemasEmbeddingMode). This flag "fixes component naming when the same schema is referenced in multiple places within nested structures, ensuring consistent naming based on the original component definition." Testing whether it recovers any of those names or changes the naming pattern closer to v0.53.0.

Companion to PR #180 (closed — nameResolutionFeb2025 revert hurt compat).

Link to Devin session: https://app.devin.ai/sessions/854c664803f3400387fdaa02e123b888
Requested by: Aaron ("AJ") Steers (@aaronsteers)

…ern name recovery

Co-Authored-By: AJ Steers <aj@airbyte.io>
@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, CI, and merge conflict monitoring

@octavia-bot

octavia-bot Bot commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Generate SDK Job Info

Running Speakeasy SDK generation.

Job started... Check job output.
SDK generation completed successfully.

@devin-ai-integration

Copy link
Copy Markdown
Contributor

Closing — sharedNestedComponentsJan2026 had zero impact on generated model names. The regenerated code was identical to main.

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 1 potential issue.

Open in Devin Review

Comment thread gen.yaml
securityFeb2025: false
sharedErrorComponentsApr2025: false
sharedNestedComponentsJan2026: false
sharedNestedComponentsJan2026: true

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚩 Enabling sharedNestedComponentsJan2026 will change generated SDK output

Toggling sharedNestedComponentsJan2026 from false to true at gen.yaml:15 will alter the Speakeasy code generation output the next time the SDK is regenerated. This flag likely changes how nested components are shared/deduplicated in the generated models. The PR only changes the config — it does not include the corresponding regenerated SDK code. This is expected per the repo's workflow (config changes are committed first, then /generate is run on the PR or regeneration is triggered via CI), but the reviewer should ensure regeneration is triggered before merge so the generated code under src/airbyte_api/ reflects this flag change and passes the zero-diff drift check.

Open in Devin Review

Was this helpful? React with 👍 or 👎 to provide feedback.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Not fixing. This is an experiment/research PR (note the "Do not merge" title). Generation was already triggered and completed — the result showed zero impact on generated code. The zero-diff check failure is expected since this PR intentionally changes gen config. Keeping open per maintainer request as evidence of what this flag does.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR enables the Speakeasy generation fix flag fixes.sharedNestedComponentsJan2026 to evaluate whether it recovers previously-lost Schemas-pattern model/class names and improves naming consistency after the v0.53.0 → v1.0.0 upgrade.

Changes:

  • Flip sharedNestedComponentsJan2026 from false to true in gen.yaml generation fix flags.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread gen.yaml
securityFeb2025: false
sharedErrorComponentsApr2025: false
sharedNestedComponentsJan2026: false
sharedNestedComponentsJan2026: true

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Not fixing. Same as above — this is a "Do not merge" research PR. Generation was already triggered and completed; the flag produced zero diff in generated code. The drift failure is expected and intentional.

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.

2 participants