Skip to content

Issuefix - #469

Merged
Cjay-Cyber-2 merged 3 commits into
mergepay:mainfrom
Ameer-5-5:issuefix
Sep 8, 2026
Merged

Cjay-Cyber-2 merged 3 commits into
mergepay:mainfrom
Ameer-5-5:issuefix

Conversation

@Ameer-5-5

Copy link
Copy Markdown
Contributor

CLOSES #344

What does this PR do?

Checklist

  • npm run build passes
  • npm test passes (offline — DB/network mocked)
  • New endpoints validated with Zod + permission checks
  • Audit logs added for state-changing actions
  • Contract changes mirrored in mergepay-web
  • No secrets committed

Related issues

@drips-wave

drips-wave Bot commented Aug 29, 2026

Copy link
Copy Markdown

@Ameer-5-5 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

@mergekeeper

mergekeeper Bot commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

MergeKeeper review

Scope: in scope for linked issue #344.
Verdict: clean

Implemented robust error handling, Pino logging, and unit tests for Stellar Horizon network failures as required by issue #344.

Reviewed commit: 3da075ab1d55a268946cc688da40a0dcec6d5a45.
CI and merge eligibility are checked separately.

@mergekeeper

mergekeeper Bot commented Aug 29, 2026 •

Copy link
Copy Markdown
Contributor

MergeKeeper merge status

Status: blocked
PR state: open
Mergeability: unknown
Checked commit: 3da075ab1d55a268946cc688da40a0dcec6d5a45.

Reason: One or more required CI checks failed.

Failing checks:

Next steps:

  1. Open the failing check details above and fix the reported error.
  2. Run the same checks locally where possible.
  3. Commit and push the fix.
  4. MergeKeeper will automatically re-review the updated PR.

@K1NGD4VID

Copy link
Copy Markdown
Contributor

Please Resolve Conflict @Ameer-5-5

@Cjay-Cyber-2

Copy link
Copy Markdown
Collaborator

resolve conflicts so i can merge

@Ameer-5-5

Copy link
Copy Markdown
Contributor Author

Conflict resolved

Cjay-Cyber-2 added a commit that referenced this pull request Sep 8, 2026
@Cjay-Cyber-2
Cjay-Cyber-2 merged commit d90f884 into mergepay:main Sep 8, 2026
1 check failed
Michealshodipo56 pushed a commit to Michealshodipo56/mergepay-api that referenced this pull request Sep 25, 2026
main has failed CI since mergepay#468, which committed syntactically broken
src/plugins/openapi.ts (duplicate fastify-plugin import, missing closing
`});`), src/routes/expenses.ts and src/routes/groups.ts (orphaned schema
fragments, truncated route bodies). Restore all three to their last
green state (82025f1, "Revert ... (mergepay#493)") — the only commit that
touched them since.

Also fix two type errors introduced by the just-merged PRs:
- error-handler.ts (mergepay#469): cast err through `unknown` before
  `Record<string, unknown>`.
- horizon-retry.ts (mergepay#470): widen `extractResponse`'s return type with an
  optional top-level `result_codes`.

npm run build + npm test both green (1799 tests).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
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.

Implement robust error handling and logging middleware for Stellar Horizon network failures

3 participants