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

chore: Don't pass nil context#64055

Merged
eseliger merged 5 commits into
mainfrom
es/07-25-choredontpassnilcontext
Jul 31, 2024
Merged

chore: Don't pass nil context#64055
eseliger merged 5 commits into
mainfrom
es/07-25-choredontpassnilcontext

Conversation

@eseliger

Copy link
Copy Markdown
Member

This doesn't blow up, but golangci-lint complains about it so following best practices here.

Test plan: Go test still passes, linter doesn't complain anymore.

eseliger commented Jul 24, 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-choreremovecmdfrontendexternalapp branch from e23e5da to 47c65cb Compare July 24, 2024 23:50
@eseliger eseliger force-pushed the es/07-25-choredontpassnilcontext branch from 6962471 to 497fe86 Compare July 24, 2024 23:50
@eseliger eseliger force-pushed the es/07-25-choreremovecmdfrontendexternalapp branch from 47c65cb to 8fdf541 Compare July 25, 2024 00:19
@eseliger eseliger force-pushed the es/07-25-choredontpassnilcontext branch from 497fe86 to 6680d2b Compare July 25, 2024 00:19
@eseliger eseliger force-pushed the es/07-25-choreremovecmdfrontendexternalapp branch from 8fdf541 to 8508aa2 Compare July 28, 2024 14:44
@eseliger eseliger force-pushed the es/07-25-choreremovecmdfrontendexternalapp branch from 8508aa2 to a2664ca Compare July 30, 2024 00:47
@eseliger eseliger force-pushed the es/07-25-choredontpassnilcontext branch from a5fee6b to 347add9 Compare July 30, 2024 00:47
@eseliger eseliger force-pushed the es/07-25-choreremovecmdfrontendexternalapp branch from a2664ca to 3c8691a Compare July 30, 2024 17:22
@eseliger eseliger force-pushed the es/07-25-choredontpassnilcontext branch from 347add9 to 5f73f6f Compare July 30, 2024 17:22
@eseliger eseliger force-pushed the es/07-25-choreremovecmdfrontendexternalapp branch from 3c8691a to 6fed73c Compare July 30, 2024 23:27
@eseliger eseliger force-pushed the es/07-25-choredontpassnilcontext branch from 5f73f6f to 1e78f5b Compare July 30, 2024 23:28
@eseliger eseliger force-pushed the es/07-25-choreremovecmdfrontendexternalapp branch from 6fed73c to 3abe7a2 Compare July 31, 2024 01:03
@eseliger eseliger force-pushed the es/07-25-choredontpassnilcontext branch from 1e78f5b to 1967de5 Compare July 31, 2024 01:04
@eseliger eseliger force-pushed the es/07-25-choreremovecmdfrontendexternalapp branch from 3abe7a2 to c94b5a8 Compare July 31, 2024 01:19
@eseliger eseliger force-pushed the es/07-25-choredontpassnilcontext branch from 1967de5 to 8452b34 Compare July 31, 2024 01:19
eseliger added 4 commits July 31, 2024 01:34
This takes less hoops to find what we support, and we don't extend this any time soon.

Test plan:

CI passes.
These functions return StoreOpts, but that wasn't immediately clear, so adding this small tweak here.

Test plan: Ci passes.
This code was using a strange pattern that isn't actually observed or controlled by our worker mechanisms, so switching it to return proper goroutines.

Test plan:

CI passes, would like a thorough review on the licensecheck code.
Since we don't do the enterprise/oss split anymore, this global package is no longer required and we can move the code to where it's actually used.

Test plan: Go compiler doesn't complain, and integration tests are still passing.
@eseliger eseliger force-pushed the es/07-25-choreremovecmdfrontendexternalapp branch from c94b5a8 to 1aa841e Compare July 31, 2024 01:35
This doesn't blow up, but golangci-lint complains about it so following best practices here.

Test plan: Go test still passes, linter doesn't complain anymore.
@eseliger eseliger force-pushed the es/07-25-choredontpassnilcontext branch from 8452b34 to df27e30 Compare July 31, 2024 01:36
Base automatically changed from es/07-25-choreremovecmdfrontendexternalapp to main July 31, 2024 01:42
@eseliger eseliger merged commit 4bbb45a into main Jul 31, 2024
@eseliger eseliger deleted the es/07-25-choredontpassnilcontext branch July 31, 2024 01:43
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.

3 participants