Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove stale extension entries from lockfile if module order changes #19659

Closed
wants to merge 1 commit into from

Conversation

fmeum
Copy link
Collaborator

@fmeum fmeum commented Sep 28, 2023

Previously, extension entries in the lockfile were not removed when only the BFS order of modules using the extension changed. However, this change is visible in the module extension implementation function and must thus be considered when checking for staleness.

@github-actions github-actions bot added awaiting-review PR is awaiting review from an assigned reviewer team-ExternalDeps External dependency handling, remote repositiories, WORKSPACE file. labels Sep 28, 2023
@fmeum
Copy link
Collaborator Author

fmeum commented Sep 28, 2023

Stacked on #19658. Let me know if you would like me to merge the two PRs.

@fmeum
Copy link
Collaborator Author

fmeum commented Sep 28, 2023

@bazel-io flag

@bazel-io bazel-io added the potential release blocker Flagged by community members using "@bazel-io flag". Should be added to a release blocker milestone label Sep 28, 2023
@keertk
Copy link
Member

keertk commented Sep 28, 2023

@bazel-io fork 6.4.0

@bazel-io bazel-io removed the potential release blocker Flagged by community members using "@bazel-io flag". Should be added to a release blocker milestone label Sep 28, 2023
@keertk keertk added awaiting-PR-merge PR has been approved by a reviewer and is ready to be merge internally and removed awaiting-review PR is awaiting review from an assigned reviewer labels Sep 29, 2023
@iancha1992
Copy link
Member

@fmeum @SalmaSamy Should I go ahead and close #19658? They look the same, but this PR has more changes.
cc: @bazelbuild/triage

@fmeum
Copy link
Collaborator Author

fmeum commented Sep 29, 2023

@iancha1992 Could you merge #19658 first and then the current PR? That way we would preserve them as two separate commits, each with its own message.

Previously, extension entries in the lockfile were not removed when only
the BFS order of modules using the extension changed. However, this
change is visible in the module extension implementation function and
must thus be considered when checking for staleness.
@fmeum
Copy link
Collaborator Author

fmeum commented Oct 2, 2023

@SalmaSamy @iancha1992 I resolved the merge conflict in case you haven't already done that on the imported CL.

Copy link
Member

@meteorcloudy meteorcloudy left a comment

Choose a reason for hiding this comment

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

Thanks!

@copybara-service copybara-service bot closed this in aa458e0 Oct 4, 2023
@github-actions github-actions bot removed the awaiting-PR-merge PR has been approved by a reviewer and is ready to be merge internally label Oct 4, 2023
bazel-io pushed a commit to bazel-io/bazel that referenced this pull request Oct 4, 2023
Previously, extension entries in the lockfile were not removed when only the BFS order of modules using the extension changed. However, this change is visible in the module extension implementation function and must thus be considered when checking for staleness.

Closes bazelbuild#19659.

PiperOrigin-RevId: 570720034
Change-Id: I5836b6e1a0172e5d930fcfdacbea53fc090d300d
@fmeum fmeum deleted the track-usage-order branch October 4, 2023 18:04
meteorcloudy pushed a commit that referenced this pull request Oct 4, 2023
…changes (#19730)

Previously, extension entries in the lockfile were not removed when only
the BFS order of modules using the extension changed. However, this
change is visible in the module extension implementation function and
must thus be considered when checking for staleness.

Closes #19659.

Commit
aa458e0

PiperOrigin-RevId: 570720034
Change-Id: I5836b6e1a0172e5d930fcfdacbea53fc090d300d

Co-authored-by: Fabian Meumertzheim <fabian@meumertzhe.im>
@iancha1992
Copy link
Member

The changes in this PR have been included in Bazel 6.4.0 RC2. Please test out the release candidate and report any issues as soon as possible. If you're using Bazelisk, you can point to the latest RC by setting USE_BAZEL_VERSION=last_rc.
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team-ExternalDeps External dependency handling, remote repositiories, WORKSPACE file.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants