Skip to content

fix: add isFulfilled guard for Promise.allSettled sites (fixes #446) - #507

Merged
Jaydbrown merged 2 commits into
conduit-protocol:mainfrom
ZacLou:fix/issue-446-allsettled-guards
Sep 3, 2026
Merged

fix: add isFulfilled guard for Promise.allSettled sites (fixes #446)#507
Jaydbrown merged 2 commits into
conduit-protocol:mainfrom
ZacLou:fix/issue-446-allsettled-guards

Conversation

@ZacLou

@ZacLou ZacLou commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Adds a shared isFulfilled type guard and applies it to every Promise.allSettled call site in dashboard/page.tsx.

鲁班七号 and others added 2 commits September 1, 2026 18:33
…conduit-protocol#446)

- Add isFulfilled<T>() type guard to lib/safe-operations.ts
- Replace inline r && r.status === 'fulfilled' checks in dashboard/page.tsx
- Narrows correctly under noUncheckedIndexedAccess

Closes conduit-protocol#446
@Jaydbrown
Jaydbrown merged commit af42dc5 into conduit-protocol:main Sep 3, 2026
2 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.

2 participants