Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

[backport 5.2] gitserver: disk-info: make test hit two separate gitserver addresses#57346

Merged
keegancsmith merged 1 commit into
5.2from
backport-gitserver-info-test
Oct 10, 2023
Merged

[backport 5.2] gitserver: disk-info: make test hit two separate gitserver addresses#57346
keegancsmith merged 1 commit into
5.2from
backport-gitserver-info-test

Conversation

@ggilmore

@ggilmore ggilmore commented Oct 4, 2023

Copy link
Copy Markdown
Contributor

Manual backport of #57318 since there were merge conflicts.

Test plan

CI

@ggilmore ggilmore added backport 5.2 backport/bugfix Standard patches to fix bugs backport/improvement Final touching of existing features labels Oct 4, 2023
@cla-bot cla-bot Bot added the cla-signed label Oct 4, 2023
@ggilmore ggilmore requested a review from a team October 4, 2023 17:03
@ggilmore

ggilmore commented Oct 4, 2023

Copy link
Copy Markdown
Contributor Author

@sourcegraph/release-guild please stamp, thanks!

@sourcegraph-bot

sourcegraph-bot commented Oct 4, 2023

Copy link
Copy Markdown
Contributor

Codenotify: Notifying subscribers in CODENOTIFY files for diff 0ad56cc...d637abe.

Notify File(s)
@eseliger internal/gitserver/BUILD.bazel
internal/gitserver/client.go
internal/gitserver/client_test.go

@sourcegraph-bot

sourcegraph-bot commented Oct 4, 2023

Copy link
Copy Markdown
Contributor

📖 Storybook live preview

@keegancsmith keegancsmith left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@ggilmore it isn't clear what this is fixing, from the other description it looks like it is part of fixing a test? But I assume there is something changelog worthy here for 5.2.1?

Does Erik's race condition fix also need to go in? Is that why you needed to do a manual backport?

Will merge now, but please follow-up with the above.

@keegancsmith keegancsmith enabled auto-merge (squash) October 5, 2023 06:19
@ggilmore ggilmore force-pushed the backport-gitserver-info-test branch from f0bf61e to d637abe Compare October 10, 2023 15:03
@keegancsmith keegancsmith merged commit 461cf0e into 5.2 Oct 10, 2023
@keegancsmith keegancsmith deleted the backport-gitserver-info-test branch October 10, 2023 15:18
@sourcegraph-release-bot

Copy link
Copy Markdown
Collaborator

The backport to 5.2 failed at https://github.com/sourcegraph/sourcegraph/actions/runs/6471373170:

The process '/usr/bin/git' failed with exit code 1

To backport manually, run these commands in your terminal:

# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-5.2 5.2
# Navigate to the new working tree
cd .worktrees/backport-5.2
# Create a new branch
git switch --create backport-57346-to-5.2
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 461cf0ee60fbd521343acfefb516297a5dcdca19
# Push it to GitHub
git push --set-upstream origin backport-57346-to-5.2
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-5.2

If you encouter conflict, first resolve the conflict and stage all files, then run the commands below:

git cherry-pick --continue
# Push it to GitHub
git push --set-upstream origin backport-57346-to-5.2
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-5.2
  • Follow above instructions to backport the commit.
  • Create a pull request where the base branch is 5.2 and the compare/head branch is backport-57346-to-5.2., click here to create the pull request.
  • Make sure to tag @sourcegraph/release-guild in the pull request description.
  • Once the backport pull request is created, kindly remove the release-blocker from this pull request.

@ggilmore

Copy link
Copy Markdown
Contributor Author

Does Erik's race condition fix also need to go in? Is that why you needed to do a manual backport?

Yes, this is dependent on Erik's race condition fix. This was already backported here: https://github.com/sourcegraph/sourcegraph/pull/57415

However, the need to manually backport was due to a conflict in one of the bazel BUILD files (changing imports), it wasn't due to Erik's change.

I assume there is something changelog worthy here for 5.2.1?

https://github.com/sourcegraph/sourcegraph/pull/57515

@varungandhi-src varungandhi-src mentioned this pull request Jan 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

backport/bugfix Standard patches to fix bugs backport/improvement Final touching of existing features backport 5.2 backports cla-signed failed-backport-to-5.2 release-blocker Prevents us from releasing: https://about.sourcegraph.com/handbook/engineering/releases

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants