Skip to content

Conversation

@philipp-spiess
Copy link
Contributor

@philipp-spiess philipp-spiess commented Aug 17, 2022

Part of sourcegraph/sourcegraph#39044
Part of sourcegraph/sourcegraph#39043

While auditing the CLI functionality and requirements for the upcoming extensions deprecation, I noticed two areas that are currently not working well:

  • The sg extensions command doesn't explain the upcoming deprecation yet. I've changed it to show the same text as sourcegraph.com cc @jjinnii @ryankscott @muratsu
  • The sg extensions list command did not forward the GraphQL error probably. This happens because the endpoint does not use the normal GraphQL error pattern for errors. See this for more context.

All other extension endpoints work as expected and I made sure they forward an error message sent on the backend (I'll follow up with the backend changes to gate out the APIs in a separate commit [lol obviously because this is a different repo haha]).

Test plan

Screenshot 2022-08-17 at 11 45 39
Screenshot 2022-08-17 at 12 59 44

EXPERIMENTAL: Extensions are experimental functionality on Sourcegraph and in the 'src' tool.
DEPRECATED: We're in the process of removing Sourcegraph extensions with our September release.
Learn more: https://docs.sourcegraph.com/extensions/deprecation
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Member

Choose a reason for hiding this comment

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

Do you want this to go out in a 3.43.x version?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think we do, since we are also shipping this already on sourcegraph.com but this is a questions for the above people to answer 🙈

Copy link
Member

Choose a reason for hiding this comment

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

Ok, just let me know when you have a decision, since I already cut 3.43.0 for the branch cut this evening, but can cut 3.43.1 right after merge.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah, I see. I don't think it's super urgent to get this out with 3.43 (the more important messaging is going out on the web app anyway), so I don't think we need to cut a minor release for that 🙂

Copy link
Member

@eseliger eseliger left a comment

Choose a reason for hiding this comment

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

LGTM!

EXPERIMENTAL: Extensions are experimental functionality on Sourcegraph and in the 'src' tool.
DEPRECATED: We're in the process of removing Sourcegraph extensions with our September release.
Learn more: https://docs.sourcegraph.com/extensions/deprecation
Copy link
Member

Choose a reason for hiding this comment

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

Do you want this to go out in a 3.43.x version?

@philipp-spiess philipp-spiess merged commit 0164877 into main Aug 17, 2022
@philipp-spiess philipp-spiess deleted the ps/sunset-extensions branch August 17, 2022 13:21
LawnGnome pushed a commit that referenced this pull request Aug 18, 2022
scjohns pushed a commit that referenced this pull request Apr 24, 2023
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.

3 participants