bazelbuild / bazelbuild/bazel

https://cs.bazel.build search results redirect to GitHub

Open
#18,925 4 comments 0 reactions 0 assignees View on GitHub
P2 team-OSS type: bug
Dominant language
Java
Stars
25.8k
Forks
4.6k
Avg merge
2d 20h
Merged PRs (30d)
72

Description

### Description of the bug:

Code search results on https://cs.bazel.build used to link to a Google Code Search view with clickable references, git blame etc. Now, they just redirect to GitHub Code Search.

### What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.

1. Go to https://cs.bazel.build
2. Search for `Label.java`.
3. Click on the BUILD file result.
4. Observe that you are taken to GitHub, with apparently no way of opening the regular Google Code Search view.

### Which operating system are you running Bazel on?

n/a

### What is the output of `bazel info release`?

n/a

### If `bazel info release` returns `development version` or `(@non-git)`, tell us how you built Bazel.

_No response_

### What's the output of `git remote get-url origin; git rev-parse master; git rev-parse HEAD` ?

_No response_

### Is this a regression? If yes, please try to identify the Bazel commit where the bug was introduced.

Yes, this worked until at least 2023-07-11.

### Have you found anything relevant by searching the web?

_No response_

### Any other information, logs, or outputs that you want to share?

_No response_

Contributor guide

Open the contributing guide

Research direction

Start at https://cs.bazel.build and reproduce the Label.java search, then click the BUILD file result to confirm the redirect to GitHub Code Search. Investigate the service or configuration responsible for that result link; done means results open the regular Google Code Search view with clickable references and git blame as described.

Written by the indexing model from the issue text.

Assessment

Tech stack
github
Domain
search
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.