-
Notifications
You must be signed in to change notification settings - Fork 355
Pull changes into makeswift #2683
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
jordanarldt
merged 6 commits into
integrations/makeswift
from
sync-integrations-makeswift
Nov 12, 2025
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
0b2c30d
fix(core): CATALYST-1579 Replace checkout redirect server action with…
jordanarldt 323483a
chore: remove next lint command (#2679)
chanceaclark cacfb55
fix(core): CATALYST-1579 Ensure "Proceed to checkout" has loading sta…
jordanarldt 61183ca
Version Packages (`canary`) (#2682)
github-actions[bot] c9c800b
Merge branch 'canary' into sync-integrations-makeswift
jordanarldt 6c10e05
Remove canary changelog
jordanarldt File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| # Dependencies | ||
| node_modules/ | ||
|
|
||
| # Build outputs | ||
| .next/ | ||
| .wrangler/ | ||
| .open-next/ | ||
| out/ | ||
| dist/ | ||
| build/ | ||
|
|
||
| # Generated files | ||
| .turbo/ | ||
| messages/*.d.json.ts | ||
| next-env.d.ts | ||
| *-graphql.d.ts | ||
|
|
||
| # Test outputs | ||
| playwright-report/ | ||
| test-results/ | ||
| .tests/ | ||
|
|
||
| # Cache | ||
| .eslintcache |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 0 additions & 27 deletions
27
core/app/[locale]/(default)/cart/_actions/redirect-to-checkout.ts
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bug:
useActionStatecreates an unresolvable Promise whenactionis a string, causing the form to hang in a pending state.Severity: HIGH | Confidence: 1.00
🔍 Detailed Analysis
The
useActionStatehook incore/vibes/soul/sections/cart/client.tsxcreates a Promise that never settles when theactionis a string. Thenew Promise<void>(() => { window.location.assign(action); })executor function is missing theresolve()callback. This causes the async function to never return, leaving the form action in a perpetual "pending" state. Consequently, the UI's loading indicator remains active indefinitely during page navigation.💡 Suggested Fix
When
actionis a string, directly callwindow.location.assign(action)and returnnullwithout awaiting a Promise.🤖 Prompt for AI Agent
Did we get this right? 👍 / 👎 to inform future reviews.
Reference_id: 2624952
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is intended and not a bug. This happens when the page is being navigated away from, so that the checkout button can have a pending state.