Skip to content

agents: add constraint synchronization rule for dependency bumps - #4107

Merged
rickeylev merged 1 commit into
bazel-contrib:mainfrom
rickeylev:agents.lockfile_constraints
Aug 23, 2026
Merged

agents: add constraint synchronization rule for dependency bumps#4107
rickeylev merged 1 commit into
bazel-contrib:mainfrom
rickeylev:agents.lockfile_constraints

Conversation

@rickeylev

Copy link
Copy Markdown
Collaborator

When dependencies are bumped, hardcoded version pins in constraint
files can conflict with newly resolved requirements and cause lockfile
update targets to fail.

To prevent these conflicts, expand the lockfile and dependency agent
rules to trigger on constraint files and instruct agents to update any
conflicting constraint pins and rerun affected update targets during
dependency updates.

When dependencies are bumped, hardcoded version pins in constraint
files can conflict with newly resolved requirements and cause lockfile
update targets to fail.

To prevent these conflicts, expand the lockfile and dependency agent
rules to trigger on constraint files and instruct agents to update any
conflicting constraint pins and rerun affected update targets during
dependency updates.
@rickeylev
rickeylev marked this pull request as ready for review August 23, 2026 22:41
@rickeylev
rickeylev requested a review from aignas as a code owner August 23, 2026 22:41
@rickeylev
rickeylev merged commit 7dc0e64 into bazel-contrib:main Aug 23, 2026
3 of 5 checks passed
@rickeylev
rickeylev deleted the agents.lockfile_constraints branch August 23, 2026 22:42
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