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

Remove broken federation feature#55161

Merged
mrnugget merged 5 commits into
mainfrom
mrn/remove-federation
Jul 20, 2023
Merged

Remove broken federation feature#55161
mrnugget merged 5 commits into
mainfrom
mrn/remove-federation

Conversation

@mrnugget

Copy link
Copy Markdown
Contributor

Only today did I learn about the "Federation" feature: https://docs.sourcegraph.com/admin/federation/public_repositories

It's supposed to redirect users from private instances to sourcegraph.com.

But it has been broken since at least a year: https://github.com/sourcegraph/sourcegraph/issues/38263#issuecomment-1205110145

It's also confusing.

Here's my proposal to remove it.

Test plan

  • N/A

Only today did I learn about the "Federation" feature: https://docs.sourcegraph.com/admin/federation/public_repositories

It's supposed to redirect users from private instances to
sourcegraph.com.

But it has been broken since at least a year: https://github.com/sourcegraph/sourcegraph/issues/38263#issuecomment-1205110145

It's also confusing.

Here's my proposal to remove it.
@mrnugget mrnugget requested review from a team and sqs July 20, 2023 14:30
@cla-bot cla-bot Bot added the cla-signed label Jul 20, 2023
@sourcegraph-bot

sourcegraph-bot commented Jul 20, 2023

Copy link
Copy Markdown
Contributor

Codenotify: Notifying subscribers in CODENOTIFY files for diff b98ca76...74343a6.

Notify File(s)
@sourcegraph/delivery doc/admin/config/site_config.md
doc/admin/federation/index.md
doc/admin/federation/public_repositories.md
doc/admin/index.md

@sashaostrikov sashaostrikov left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The whole feature in under 70 lines? 😁
UN:shipit: (un-ship it)

@eseliger eseliger 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.

changelog plz 😬

Comment thread schema/site.schema.json
@sourcegraph-bot

sourcegraph-bot commented Jul 20, 2023

Copy link
Copy Markdown
Contributor

📖 Storybook live preview

@mrnugget

Copy link
Copy Markdown
Contributor Author

Added changelog and only deprecated the value instead of removing it.

Comment thread schema/site.schema.json
@mrnugget mrnugget enabled auto-merge (squash) July 20, 2023 17:03
@mrnugget mrnugget merged commit 53ef800 into main Jul 20, 2023
@mrnugget mrnugget deleted the mrn/remove-federation branch July 20, 2023 17:30
@mrnugget

Copy link
Copy Markdown
Contributor Author

@sqs I merged this without waiting for approval. I think this feature being broken for over 1 year & no engineer here knowing about the feature at all, plus it just adding just enough complexity to make the code hard to understand is a good reason to remove it.

@mrnugget mrnugget mentioned this pull request Jul 24, 2023
MaedahBatool pushed a commit that referenced this pull request Jul 28, 2023
Only today did I learn about the "Federation" feature:
https://docs.sourcegraph.com/admin/federation/public_repositories

It's supposed to redirect users from private instances to
sourcegraph.com.

But it has been broken since at least a year:
https://github.com/sourcegraph/sourcegraph/issues/38263#issuecomment-1205110145

It's also confusing.

Here's my proposal to remove it.

## Test plan

- N/A
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants