Skip to content

fix: remove stale secrets datasource proxy routes - #1772

Open
mem wants to merge 1 commit into
mainfrom
chore/remove-stale-secrets-proxy-routes
Open

fix: remove stale secrets datasource proxy routes#1772
mem wants to merge 1 commit into
mainfrom
chore/remove-stale-secrets-proxy-routes

Conversation

@mem

@mem mem commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

The datasource proxy declared GET/PUT/POST/DELETE routes for api/v1alpha1/secrets, pointing at the Synthetic Monitoring API. These date back to the "intermediate secrets management" work and are no longer used: the app now reads and writes secrets directly through Grafana's App Platform secrets API (secret.grafana.app) via SecretsManagerClient added in 4af0d71, never through the datasource proxy. No TypeScript code references these routes.

Drop the dead route declarations.

What this PR does / why we need it:

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

The datasource proxy declared GET/PUT/POST/DELETE routes for
api/v1alpha1/secrets, pointing at the Synthetic Monitoring API. These
date back to the "intermediate secrets management" work and are no
longer used: the app now reads and writes secrets directly through
Grafana's App Platform secrets API (secret.grafana.app) via
SecretsManagerClient added in 4af0d71, never through the datasource
proxy. No TypeScript code references these routes.

Drop the dead route declarations.
@mem
mem requested a review from a team as a code owner July 24, 2026 01:39
@mem
mem requested review from VikaCep and g3john July 24, 2026 01:39
@github-actions github-actions Bot added the fix A fix applied to the application. label Jul 24, 2026
@github-actions

Copy link
Copy Markdown

Script size changes

Name +/- Main This PR Outcome
[702.js] = 6,689.61 kB 6,689.61 kB
[87.js] = 3,588.53 kB 3,588.53 kB
[469.js] = 506.85 kB 506.85 kB
[datasource/module.js] = 119.00 kB 119.00 kB
[9.js] = 99.10 kB 99.10 kB
[692.js] = 67.50 kB 67.50 kB
[398.js] = 48.57 kB 48.57 kB
[module.js] = 35.04 kB 35.04 kB
[294.js] = 22.06 kB 22.06 kB
[466.js] = 5.15 kB 5.15 kB
[131.js] = 5.00 kB 5.00 kB
[845.js] = 3.25 kB 3.25 kB
[295.js] = 2.79 kB 2.79 kB

Totals

Name +/- Main This PR Outcome
[Scripts] = 11,192.44 kB 11,192.44 kB
[Non-script Assets] -0.11% 1,468.22 kB 1,466.59 kB
[All] -0.01% 12,660.65 kB 12,659.03 kB

Generated by 🚫 dangerJS against 3a725cd

@VikaCep

VikaCep commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

bugbot review

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

✅ Bugbot reviewed your changes and found no new issues!

Comment @cursor review or bugbot run to trigger another review on this PR

Reviewed by Cursor Bugbot for commit 3a725cd. Configure here.

@VikaCep VikaCep left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@mem

mem commented Jul 24, 2026

Copy link
Copy Markdown
Contributor Author

I need to hold this one until I get confirmation from a customer that they no longer need something or that they have switched to a different solution.

@ckbedwell

Copy link
Copy Markdown
Contributor

@mem do you know if we have that confirmation yet?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix A fix applied to the application.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants