Teach neon_local and the regression test suite to use authorized requests in compute_ctl #11316
Labels
a/test
Area: related to testing
c/compute
Component: compute, excluding postgres itself
m/good_first_issue
Moment: when doing your first Neon contributions
The regression test suite does not pass an authorization bearer token when making requests. Without it, regression tests would fail if we removed the hacks to currently bypass the checks. neon_local will need to generate a JWKS for the compute to use and pass it through
compute_ctl_config
. This is a bit of work because currently a spec.json file is the just the compute spec and doesn't have any room for acompute_ctl_config
key.We really need to just teach neon_local to be more like the control plane and operate as an HTTP server. compute_ctl could talk to it just like production. Alternatively, let's just open source the control plane and make our lives so much easier 🙃
The text was updated successfully, but these errors were encountered: