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

frontend: Consolidate remaining registry packages#64156

Merged
eseliger merged 2 commits into
mainfrom
es/07-30-frontendconsolidateremainingregistrypackages
Aug 5, 2024
Merged

frontend: Consolidate remaining registry packages#64156
eseliger merged 2 commits into
mainfrom
es/07-30-frontendconsolidateremainingregistrypackages

Conversation

@eseliger

Copy link
Copy Markdown
Member

This PR simplifies and consolidates the remaining parts of the various registry packages, and moves everything under cmd/frontend/internal for better encapusation.
This also removes the need to _ import packages which feels very brittle.

Test plan: Go compiler doesn't complain about moved code.

@cla-bot cla-bot Bot added the cla-signed label Jul 30, 2024

eseliger commented Jul 30, 2024

Copy link
Copy Markdown
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @eseliger and the rest of your teammates on Graphite Graphite

@eseliger eseliger force-pushed the es/07-30-frontendremoveglobalconfservervariable branch from 715b71f to 07e6005 Compare July 30, 2024 23:37
@eseliger eseliger force-pushed the es/07-30-frontendconsolidateremainingregistrypackages branch from 93f5a2a to 024dedd Compare July 30, 2024 23:38
@eseliger eseliger force-pushed the es/07-30-frontendremoveglobalconfservervariable branch 2 times, most recently from 664ae32 to 1f08b60 Compare July 31, 2024 01:28
@eseliger eseliger force-pushed the es/07-30-frontendconsolidateremainingregistrypackages branch from 024dedd to bcaadb8 Compare July 31, 2024 01:29
@eseliger eseliger force-pushed the es/07-30-frontendremoveglobalconfservervariable branch from 1f08b60 to 1d63d4c Compare July 31, 2024 01:45
@eseliger eseliger force-pushed the es/07-30-frontendconsolidateremainingregistrypackages branch from bcaadb8 to 46cc5ff Compare July 31, 2024 01:45
@eseliger eseliger force-pushed the es/07-30-frontendremoveglobalconfservervariable branch from 1d63d4c to 5ca2c0b Compare July 31, 2024 02:25
@eseliger eseliger force-pushed the es/07-30-frontendconsolidateremainingregistrypackages branch from 46cc5ff to 921d2c9 Compare July 31, 2024 02:25
@eseliger eseliger force-pushed the es/07-30-frontendremoveglobalconfservervariable branch from 5ca2c0b to b9d0696 Compare July 31, 2024 02:35
@eseliger eseliger force-pushed the es/07-30-frontendconsolidateremainingregistrypackages branch from 921d2c9 to c33a1de Compare July 31, 2024 02:35
@eseliger eseliger force-pushed the es/07-30-frontendremoveglobalconfservervariable branch from b9d0696 to 338a8d2 Compare August 4, 2024 15:53
@eseliger eseliger force-pushed the es/07-30-frontendconsolidateremainingregistrypackages branch from c33a1de to fbf1b3a Compare August 4, 2024 15:53
To make things more explicit and remove the global variable, this is now passed down to where it's needed.
It is a bit messy right now, since it's used deep in the serve-handler but that just highlights better where
it's actually used IMO. As a next step, I want to get rid of the requirement to indicate server-restart
required, so we should be able to drop a bunch of the prop drilling here.

Test plan: Still compiles, E2E test works.
This PR simplifies and consolidates the remaining parts of the various registry packages, and moves everything under cmd/frontend/internal for better encapusation.
This also removes the need to _ import packages which feels very brittle.

Test plan: Go compiler doesn't complain about moved code.
@eseliger eseliger force-pushed the es/07-30-frontendremoveglobalconfservervariable branch from 338a8d2 to 4ac2192 Compare August 4, 2024 17:01
@eseliger eseliger force-pushed the es/07-30-frontendconsolidateremainingregistrypackages branch from fbf1b3a to af18139 Compare August 4, 2024 17:01
@eseliger eseliger marked this pull request as ready for review August 5, 2024 10:11
@eseliger eseliger requested a review from a team August 5, 2024 10:11

eseliger commented Aug 5, 2024

Copy link
Copy Markdown
Member Author

Merge activity

  • Aug 5, 10:28 AM EDT: @eseliger started a stack merge that includes this pull request via Graphite.
  • Aug 5, 10:29 AM EDT: @eseliger merged this pull request with Graphite.

@eseliger eseliger changed the base branch from es/07-30-frontendremoveglobalconfservervariable to graphite-base/64156 August 5, 2024 14:28
@eseliger eseliger changed the base branch from graphite-base/64156 to main August 5, 2024 14:28
@eseliger eseliger merged commit d8fb5ae into main Aug 5, 2024
@eseliger eseliger deleted the es/07-30-frontendconsolidateremainingregistrypackages branch August 5, 2024 14:29
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla-signed team/product-platform team/source Tickets under the purview of Source - the one Source to graph it all

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants