You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug][DevOps] scripts/check-error-code-mappings.mjs fails in CI because SERVICE_UNAVAILABLE is missing from frontend ERROR_CODE_MESSAGES #2029
Description: backend/src/errors/errorCodes.ts:51 defines ErrorCode.SERVICE_UNAVAILABLE = 'SERVICE_UNAVAILABLE', which was added for 503 responses. However, ERROR_CODE_MESSAGES in frontend/src/app/utils/transactionErrors.ts:35-65 was never updated to include SERVICE_UNAVAILABLE. Running node scripts/check-error-code-mappings.mjs immediately exits with code 1. Additionally, scripts/check-error-code-mappings.mjs:43 tests codePattern.test(frontendContent) against the entire file text rather than scoping the regex check to the ERROR_CODE_MESSAGES object body.
Impact:
The check-error-code-mappings.mjs CI guard fails on the current codebase, and any error code name appearing in a comment anywhere in transactionErrors.ts would falsely pass the script if not scoped to ERROR_CODE_MESSAGES.
Suggested Fix:
Add SERVICE_UNAVAILABLE: "The service is temporarily unavailable. Please try again later", to ERROR_CODE_MESSAGES in frontend/src/app/utils/transactionErrors.ts, and scope scripts/check-error-code-mappings.mjs to extract keys specifically from export const ERROR_CODE_MESSAGES.
I examined the issue "[Bug][DevOps] scripts/check-error-code-mappings.mjs fails in CI because SERVICE_UNAVAILABLE is missing from frontend ERROR_CODE_MESSAGES" in LabsCrypt/remitlend and would be glad to implement the required changes.
I have reviewed the problem description and acceptance criteria for this issue. I have a clear, tested implementation ready with defensive error handling and 100% green CI proof.
I will deliver a clean, well-tested, and production-ready PR promptly upon assignment. Kindly assign this issue to me.
@lancefair431-code has applied to work on this issue as part of the Stellar Wave Program's 10th wave.
I’d love to help out with this issue. I’ve checked the current codebase/documentation and know exactly what needs to be updated to make this clearer. I will ensure everything aligns perfectly with your existing contribution guidelines.
Congratulations, @bade2brazy! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on October 22, 2026.
🧑💻 @bade2brazy: Please resolve the issue such that the repo's maintainers have enough time to review your contribution before the due date. You'll earn Points for completing the issue on-time, which will make you eligible for a share of the Stellar Wave Program's reward pool.
Warning
When opening a PR, please link it to this issue to ensure it gets tracked accurately. Points are awarded when this issue is marked as completed by the maintainer.
🤠 Repo maintainers: Please keep an eye on the contributor's progress and review their work before the due date. You can manage this issue, including adjusting its complexity and points, here.
Resolved in PR #2032. Added SERVICE_UNAVAILABLE to ERROR_CODE_MESSAGES in transactionErrors.ts, fixed regex character class in check-error-code-mappings.mjs, and scoped checking to ERROR_CODE_MESSAGES.
😎 @bade2brazy: You earned 200 Points for completing this issue! Once the Wave's rewards are finalized, you'll be eligible for a percentage of the Wave's reward pool based on the percentage of total points you've earned. Learn more here. You can also Leave a review to share your experience working on this issue.
🧑💻 Repo maintainers: How'd the contributor do? Leave a review to share your experience working with them.
Activity
ravimahatonp commentedon Oct 18, 2026
Hello team,
I examined the issue "[Bug][DevOps] scripts/check-error-code-mappings.mjs fails in CI because SERVICE_UNAVAILABLE is missing from frontend ERROR_CODE_MESSAGES" in LabsCrypt/remitlend and would be glad to implement the required changes.
I have reviewed the problem description and acceptance criteria for this issue. I have a clear, tested implementation ready with defensive error handling and 100% green CI proof.
I will deliver a clean, well-tested, and production-ready PR promptly upon assignment. Kindly assign this issue to me.
Thank you!
harmondconsultant-png commentedon Oct 18, 2026
@harmondconsultant-png has applied to work on this issue as part of the Stellar Wave Program's 10th wave.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @harmondconsultant-png to this issue.
lancefair431-code commentedon Oct 18, 2026
@lancefair431-code has applied to work on this issue as part of the Stellar Wave Program's 10th wave.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @lancefair431-code to this issue.
bade2brazy commentedon Oct 18, 2026
@bade2brazy has applied to work on this issue as part of the Stellar Wave Program's 10th wave.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @bade2brazy to this issue.
drips-wave commentedon Oct 18, 2026
Congratulations, @bade2brazy! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on October 22, 2026.
🧑💻 @bade2brazy: Please resolve the issue such that the repo's maintainers have enough time to review your contribution before the due date. You'll earn Points for completing the issue on-time, which will make you eligible for a share of the Stellar Wave Program's reward pool.
Warning
When opening a PR, please link it to this issue to ensure it gets tracked accurately. Points are awarded when this issue is marked as completed by the maintainer.
🤠 Repo maintainers: Please keep an eye on the contributor's progress and review their work before the due date. You can manage this issue, including adjusting its complexity and points, here.
🌊 Happy Wave 🌊
bade2brazy commentedon Oct 18, 2026
Resolved in PR #2032. Added
SERVICE_UNAVAILABLEtoERROR_CODE_MESSAGESintransactionErrors.ts, fixed regex character class incheck-error-code-mappings.mjs, and scoped checking toERROR_CODE_MESSAGES.fix(frontend): add SERVICE_UNAVAILABLE mapping and scope error code C…
drips-wave commentedon Oct 18, 2026
This issue has been completed by @bade2brazy as part of the Stellar Wave Program's 10th Wave 🥳
😎 @bade2brazy: You earned 200 Points for completing this issue! Once the Wave's rewards are finalized, you'll be eligible for a percentage of the Wave's reward pool based on the percentage of total points you've earned. Learn more here. You can also Leave a review to share your experience working on this issue.
🧑💻 Repo maintainers: How'd the contributor do? Leave a review to share your experience working with them.