Skip to content

Remove the unused GET /v1/status route - #1480

Merged
ebma merged 1 commit into
stagingfrom
chore/remove-status-route
Nov 24, 2026
Merged

ebma merged 1 commit into
stagingfrom
chore/remove-status-route

Conversation

@ebma

@ebma ebma commented Nov 24, 2026 •

Copy link
Copy Markdown
Member

Summary

Removes GET /v1/status, which no app in this repo uses anymore. The frontend's last call was removed in August 2025 (c7d67a9); 2f8536a later deleted the unused helper. The route only reported on the Pendulum and Moonbeam funding accounts of the early flows, and its Moonbeam half has returned status: false since a5c1d12.

Deleted along with the route:

  • the two status controllers (pendulum.controller.ts, moonbeam.controller.ts) and their tests
  • the three constants only they used (PENDULUM_FUNDING_AMOUNT_UNITS, PENDULUM_GLMR_FUNDING_AMOUNT_UNITS, SUBSIDY_MINIMUM_RATIO_FUND_UNITS)

pendulum.service.ts stays, because the ramp phases use it. The security spec no longer lists a status output for MOONBEAM_EXECUTOR_PRIVATE_KEY.

Compatibility note

This is a deliberate exception to the Compatibility Contract, decided by the maintainer:

  • GET /v1/status now answers 404. wire-contract.snapshot.md loses that one line.
  • The route is not in the OpenAPI spec, and neither the SDK nor any app in this repo calls it.
  • No integrator was found using it on production, sandbox or staging.
  • Other status routes are unchanged (/v1/maintenance/status, /v1/onboarding/status, /v1/monerium/status).

Behavior change

The low-balance Slack message that this route sent goes with it.

Kept

  • TOKEN_CONFIG's maximumSubsidyAmountRaw in @vortexfi/shared loses its last reader here, but stays because the package is published.
  • @pendulum-chain/types stays in apps/api, although nothing there imports it directly anymore.

Testing

  • GET /v1/status answers 404 in the test app, while /v1/supported-countries and /v1/maintenance/status still answer 200 (one-off check, not committed; the route snapshot covers it from here on).
  • Full API suite: 3,333 pass, 0 fail (run before the spec and comment wording fixes, which change no code).
  • typecheck, verify, wire-contract:check, the API build and the wire-contract tests pass.

@netlify

netlify Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for vortexfi canceled.

Name Link
🔨 Latest commit c5f97ae
🔍 Latest deploy log https://app.netlify.com/projects/vortexfi/deploys/6b056cc5006af6707210148c

@netlify

netlify Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for vrtx-dashboard canceled.

Name Link
🔨 Latest commit c5f97ae
🔍 Latest deploy log https://app.netlify.com/projects/vrtx-dashboard/deploys/6b056cc5d8e9f9b4b5185604

@netlify

netlify Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for vortex-sandbox ready!

Name Link
🔨 Latest commit c5f97ae
🔍 Latest deploy log https://app.netlify.com/projects/vortex-sandbox/deploys/6b056cc54dfff0f691a38bb5
😎 Deploy Preview https://deploy-preview-1480--vortex-sandbox.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

Deliberate, maintainer-approved exception to the Compatibility Contract, not a
precedent for other unused routes. The frontend's last call to GET /v1/status
went in c7d67a9 (August 2025), and no integrator was found using it. It only
reported on the funding accounts of the early Pendulum and Moonbeam flows.
@ebma
ebma force-pushed the chore/remove-status-route branch from d193dc1 to c5f97ae Compare November 24, 2026 10:53
@ebma
ebma merged commit 71e4465 into staging Nov 24, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant