Skip to content

Docs/frontend incident response - #609

Merged
Marvell69 merged 2 commits into
Invoice-Liquidity-Network:mainfrom
Ghoost-404:docs/frontend-incident-response
Jul 29, 2026
Merged

Docs/frontend incident response#609
Marvell69 merged 2 commits into
Invoice-Liquidity-Network:mainfrom
Ghoost-404:docs/frontend-incident-response

Conversation

@Ghoost-404

Copy link
Copy Markdown
Contributor

Summary

  1. Frontend Incident Response Process:

    • Switched to git branch docs/frontend-incident-response.
    • Created docs/incident-response.md detailing contact roles, severity classification, feature flag kill-switches, emergency Vercel rollbacks (vercel rollback <SAFE_DEPLOYMENT_ID>), contract pause coordination, and user advisory communication templates.
  2. Wallet Role Detection Logic Verification:

    • Added listInvoicesBySubmitter, listInvoicesByPayer, and listInvoicesByLp contract view helpers to src/utils/soroban.ts.
    • Refactored getWalletRoles() to query Soroban view functions (list_invoices_by_submitter, list_invoices_by_payer, list_invoices_by_lp) in parallel.
    • Added __tests__/contract/role-detection.test.ts verifying role detection logic against realistic mocked contract responses.
  3. Feature Flags Default & Graceful Degradation:

    • Confirmed NEXT_PUBLIC_ORACLE_ENABLED=false, NEXT_PUBLIC_NFT_ENABLED=false, and NEXT_PUBLIC_INSURANCE_POOL_ENABLED=false as defaults in .env.local.example and src/constants.ts.
    • Updated src/components/OracleBadge.tsx, src/components/InvoiceNftCard.tsx, and src/components/InsurancePoolPanel.tsx to return null immediately when their respective flag is off.
    • Added __tests__/feature-flags-no-render.test.tsx confirming all gated sections degrade gracefully without rendering or throwing errors when disabled.

Closes #589
Closes #590
Closes #601
Closes #608

@drips-wave

drips-wave Bot commented Jul 29, 2026

Copy link
Copy Markdown

@Ghoost-404 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Marvell69
Marvell69 merged commit 23e466d into Invoice-Liquidity-Network:main Jul 29, 2026
3 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment