Skip to content

Validate required frontend env vars, add shared logger, fix audit workflow threshold - #860

Merged
gboigwe merged 1 commit into
ThinkLikeAFounder:mainfrom
ANTIDOT20:fix/826-827-828-829-batch
Aug 29, 2026
Merged

Validate required frontend env vars, add shared logger, fix audit workflow threshold#860
gboigwe merged 1 commit into
ThinkLikeAFounder:mainfrom
ANTIDOT20:fix/826-827-828-829-batch

Conversation

@ANTIDOT20

Copy link
Copy Markdown
Contributor

Summary

Issues

Closes #826
Closes #827
Closes #829

(#828 intentionally not closed by this PR — see comment on the issue)

Scope notes

…t workflow threshold

- stellar-config.ts: validateRequiredEnv() checks all NEXT_PUBLIC_*
  vars are present, called at startup in production, naming the
  missing variable instead of failing deep in a feature later
- lib/logger.ts: minimal shared logging wrapper as a single funnel
  point for error-handling call sites; wallet-store.ts's autoReconnect
  migrated to it as the first call site
- security-audit.yml: Backend Audit now runs the package's own
  `npm run audit` (--audit-level=high), which the workflow was
  previously bypassing by calling bare `npm audit`; Frontend Audit
  given the same threshold. Investigated the 3 consecutive failures:
  real npm audit findings (18 vulnerabilities in backend deps,
  including 2 critical) still need dependency updates as follow-up —
  not fixed in this pass to avoid an unreviewed dependency bump.

Closes ThinkLikeAFounder#826
Closes ThinkLikeAFounder#827
Closes ThinkLikeAFounder#829
@drips-wave

drips-wave Bot commented Aug 29, 2026

Copy link
Copy Markdown

@ANTIDOT20 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

@gboigwe
gboigwe merged commit 2596b8e into ThinkLikeAFounder:main Aug 29, 2026
1 of 4 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

2 participants