Skip to content

init: skip dependencies declared in development override#37884

Merged
DanielMSchmidt merged 2 commits intomainfrom
ignore-providers-with-development-overrides-on-init
Nov 12, 2025
Merged

init: skip dependencies declared in development override#37884
DanielMSchmidt merged 2 commits intomainfrom
ignore-providers-with-development-overrides-on-init

Conversation

@DanielMSchmidt
Copy link
Copy Markdown
Contributor

Scratching my own itch here, I found this quite annoying when developing a provider recently. Each time I added another provider to my demo I had to remove my code for the overwritten provider, run init, re-add my code. Quite tedious. With this change init runs successfully with a development override and only installs what is not in the development override.

Fixes #27459

Target Release

1.15.x

Rollback Plan

  • If a change needs to be reverted, we will roll out an update to the code within 7 days.

Changes to Security Controls

Are there any changes to security controls (access controls, encryption, logging) in this pull request? If so, explain.

CHANGELOG entry

  • This change is user-facing and I added a changelog entry.
  • This change is not user-facing.

@DanielMSchmidt DanielMSchmidt requested a review from a team as a code owner November 7, 2025 13:24
Copy link
Copy Markdown
Member

@dbanck dbanck left a comment

Choose a reason for hiding this comment

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

Thanks for looking into that!

I've tried a handful of scenarios with and without dev_overrides and didn't run into any issues.

@DanielMSchmidt DanielMSchmidt force-pushed the ignore-providers-with-development-overrides-on-init branch from 374e657 to 0dd32e0 Compare November 11, 2025 11:45
@DanielMSchmidt DanielMSchmidt force-pushed the ignore-providers-with-development-overrides-on-init branch 2 times, most recently from 3f20c18 to c841b74 Compare November 11, 2025 15:42
@DanielMSchmidt DanielMSchmidt force-pushed the ignore-providers-with-development-overrides-on-init branch from c841b74 to 862b6ba Compare November 11, 2025 15:42
@DanielMSchmidt DanielMSchmidt merged commit 053738f into main Nov 12, 2025
13 checks passed
@DanielMSchmidt DanielMSchmidt deleted the ignore-providers-with-development-overrides-on-init branch November 12, 2025 08:23
@github-actions
Copy link
Copy Markdown
Contributor

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 13, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

init fails for development overrides

2 participants