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

frontend: Remove global conf server variable#64155

Merged
eseliger merged 1 commit into
mainfrom
es/07-30-frontendremoveglobalconfservervariable
Aug 5, 2024
Merged

frontend: Remove global conf server variable#64155
eseliger merged 1 commit into
mainfrom
es/07-30-frontendremoveglobalconfservervariable

Conversation

@eseliger

Copy link
Copy Markdown
Member

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.

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-25-choremoveinternalsuspiciousnamestocmdfrontendinternal branch from 94bc2eb to 1ee0818 Compare July 30, 2024 23:36
@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-25-choremoveinternalsuspiciousnamestocmdfrontendinternal branch from 1ee0818 to 6544b5e Compare July 31, 2024 01:13
@eseliger eseliger force-pushed the es/07-30-frontendremoveglobalconfservervariable branch from 07e6005 to 664ae32 Compare July 31, 2024 01:14
@eseliger eseliger force-pushed the es/07-25-choremoveinternalsuspiciousnamestocmdfrontendinternal branch from 6544b5e to d25b98a Compare July 31, 2024 01:27
@eseliger eseliger force-pushed the es/07-30-frontendremoveglobalconfservervariable branch from 664ae32 to 1f08b60 Compare July 31, 2024 01:28
@eseliger eseliger force-pushed the es/07-25-choremoveinternalsuspiciousnamestocmdfrontendinternal branch from d25b98a to f853edc Compare July 31, 2024 01:44
@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-25-choremoveinternalsuspiciousnamestocmdfrontendinternal branch from f853edc to e680c47 Compare July 31, 2024 02:25
@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-25-choremoveinternalsuspiciousnamestocmdfrontendinternal branch from e680c47 to 43783c6 Compare July 31, 2024 02:35
@eseliger eseliger force-pushed the es/07-30-frontendremoveglobalconfservervariable branch from 5ca2c0b to b9d0696 Compare July 31, 2024 02:35
Base automatically changed from es/07-25-choremoveinternalsuspiciousnamestocmdfrontendinternal to main July 31, 2024 02:42
@eseliger eseliger force-pushed the es/07-30-frontendremoveglobalconfservervariable branch from b9d0696 to 338a8d2 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.
@eseliger eseliger force-pushed the es/07-30-frontendremoveglobalconfservervariable branch from 338a8d2 to 4ac2192 Compare August 4, 2024 17:01
@eseliger eseliger marked this pull request as ready for review August 5, 2024 10:05
@eseliger eseliger requested a review from a team August 5, 2024 10:06

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:28 AM EDT: @eseliger merged this pull request with Graphite.

@eseliger eseliger merged commit 3fd5abc into main Aug 5, 2024
@eseliger eseliger deleted the es/07-30-frontendremoveglobalconfservervariable branch August 5, 2024 14:28
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