Skip to content

OpenAIVideoSora2 Frontend pricing#5958

Merged
DrJKL merged 13 commits intoComfy-Org:mainfrom
marawan206:sora2-pricing
Oct 7, 2025
Merged

OpenAIVideoSora2 Frontend pricing#5958
DrJKL merged 13 commits intoComfy-Org:mainfrom
marawan206:sora2-pricing

Conversation

@marawan206
Copy link
Contributor

@marawan206 marawan206 commented Oct 7, 2025

test: update OpenAIVideoSora2 tests to use size instead of resolution

Refactored all OpenAIVideoSora2 test cases in useNodePricing.test.ts to align with
the updated node logic that replaces the resolution widget with size.
Adjusted validation, pricing, and error message expectations accordingly.

┆Issue is synchronized with this Notion page by Unito

@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Oct 7, 2025
@marawan206 marawan206 marked this pull request as draft October 7, 2025 17:36
@marawan206 marawan206 marked this pull request as ready for review October 7, 2025 17:36
…substring matching (size.includes('720')) with explicit
@github-actions
Copy link

github-actions bot commented Oct 7, 2025

🎨 Storybook Build Status

loading Build is starting...

⏰ Started at: 10/07/2025, 11:29:06 PM UTC

🚀 Building Storybook

  • 📦 Installing dependencies...
  • 🔧 Building Storybook components...
  • 🌐 Preparing deployment to Cloudflare Pages...

⏱️ Please wait while the Storybook build is in progress...

@github-actions
Copy link

github-actions bot commented Oct 7, 2025

🎭 Playwright Test Results

⚠️ Tests passed with flaky tests

⏰ Completed at: 10/07/2025, 11:46:16 PM UTC

📈 Summary

  • Total Tests: 490
  • Passed: 459 ✅
  • Failed: 0
  • Flaky: 1 ⚠️
  • Skipped: 30 ⏭️

📊 Test Reports by Browser

  • chromium: View Report • ✅ 450 / ❌ 0 / ⚠️ 1 / ⏭️ 30
  • chromium-2x: View Report • ✅ 2 / ❌ 0 / ⚠️ 0 / ⏭️ 0
  • chromium-0.5x: View Report • ✅ 1 / ❌ 0 / ⚠️ 0 / ⏭️ 0
  • mobile-chrome: View Report • ✅ 6 / ❌ 0 / ⚠️ 0 / ⏭️ 0

🎉 Click on the links above to view detailed test results for each browser configuration.

…substring matching (size.includes('720')) with explicit
bigcat88
bigcat88 previously approved these changes Oct 7, 2025
Copy link
Contributor

@bigcat88 bigcat88 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

prices are displayed correctly

@bigcat88 bigcat88 added the needs-backport Fix/change that needs to be cherry-picked to the current feature freeze branch label Oct 7, 2025
…n and pricingCalculator which are now pure functions
…n and pricingCalculator which are now pure functions
@marawan206 marawan206 changed the title Update OpenAIVideoSora2 tests for new size-based pricing logic test pr Oct 7, 2025
@marawan206 marawan206 changed the title test pr OpenAIVideoSora2 Frontend pricing Oct 7, 2025
@marawan206 marawan206 requested a review from DrJKL October 7, 2025 21:43
@christian-byrne christian-byrne added the claude-review Add to trigger a PR code review from Claude Code label Oct 7, 2025
DrJKL
DrJKL previously approved these changes Oct 7, 2025
@DrJKL DrJKL merged commit 34d5a45 into Comfy-Org:main Oct 7, 2025
25 of 26 checks passed
@DrJKL
Copy link
Contributor

DrJKL commented Oct 7, 2025

I'll fix the vitest tests next.

DrJKL added a commit that referenced this pull request Oct 8, 2025
## Summary

Update expectations post-merge.

See #5958
@DrJKL
Copy link
Contributor

DrJKL commented Oct 8, 2025

I'll fix the vitest tests next.

#5966

@DrJKL DrJKL added needs-backport Fix/change that needs to be cherry-picked to the current feature freeze branch 1.27 and removed needs-backport Fix/change that needs to be cherry-picked to the current feature freeze branch labels Oct 8, 2025
github-actions bot pushed a commit that referenced this pull request Oct 8, 2025
test: update OpenAIVideoSora2 tests to use `size` instead of
`resolution`

Refactored all OpenAIVideoSora2 test cases in useNodePricing.test.ts to
align with
the updated node logic that replaces the `resolution` widget with
`size`.
Adjusted validation, pricing, and error message expectations
accordingly.

┆Issue is synchronized with this [Notion
page](https://www.notion.so/PR-5958-Update-OpenAIVideoSora2-tests-for-new-size-based-pricing-logic-2856d73d365081c9919dd256cce40492)
by [Unito](https://www.unito.io)
@comfy-pr-bot
Copy link
Member

@marawan206 Successfully backported to #5967

DrJKL added a commit that referenced this pull request Oct 8, 2025
## Summary

Update expectations post-merge.

See #5958
AustinMroz pushed a commit that referenced this pull request Oct 8, 2025
Backport of #5958 to `core/1.27`

Automatically created by backport workflow.

┆Issue is synchronized with this [Notion
page](https://www.notion.so/PR-5967-backport-1-27-OpenAIVideoSora2-Frontend-pricing-2866d73d365081b8a146d579824a005d)
by [Unito](https://www.unito.io)

---------

Co-authored-by: Marwan Ahmed <155799754+marawan206@users.noreply.github.com>
Co-authored-by: Alexander Brown <drjkl@comfy.org>
@AustinMroz AustinMroz added the 1.28 label Oct 8, 2025
AustinMroz pushed a commit that referenced this pull request Oct 8, 2025
test: update OpenAIVideoSora2 tests to use `size` instead of
`resolution`

Refactored all OpenAIVideoSora2 test cases in useNodePricing.test.ts to
align with
the updated node logic that replaces the `resolution` widget with
`size`.
Adjusted validation, pricing, and error message expectations
accordingly.

┆Issue is synchronized with this [Notion
page](https://www.notion.so/PR-5958-Update-OpenAIVideoSora2-tests-for-new-size-based-pricing-logic-2856d73d365081c9919dd256cce40492)
by [Unito](https://www.unito.io)
AustinMroz pushed a commit that referenced this pull request Oct 8, 2025
## Summary

Update expectations post-merge.

See #5958
AustinMroz added a commit that referenced this pull request Oct 8, 2025
Includes
- Subgraph widget promotion fixes (#5911)
- fix "what's changed" release toast attention level logic (#5959)
- Fix: Missing Node Title Editor bug (#5963)
- OpenAIVideoSora2 Frontend pricing (#5958)
- hotfix: quick test updates for sora2 pricing badge. (#5966)

┆Issue is synchronized with this [Notion
page](https://www.notion.so/PR-5986-Initial-1-28-backports-2866d73d365081448ff2c4827bdbb9e5)
by [Unito](https://www.unito.io)

---------

Co-authored-by: Christian Byrne <cbyrne@comfy.org>
Co-authored-by: Alexander Brown <drjkl@comfy.org>
Co-authored-by: Marwan Ahmed <155799754+marawan206@users.noreply.github.com>
arjansingh pushed a commit that referenced this pull request Oct 12, 2025
test: update OpenAIVideoSora2 tests to use `size` instead of
`resolution`

Refactored all OpenAIVideoSora2 test cases in useNodePricing.test.ts to
align with
the updated node logic that replaces the `resolution` widget with
`size`.
Adjusted validation, pricing, and error message expectations
accordingly.

┆Issue is synchronized with this [Notion
page](https://www.notion.so/PR-5958-Update-OpenAIVideoSora2-tests-for-new-size-based-pricing-logic-2856d73d365081c9919dd256cce40492)
by [Unito](https://www.unito.io)
arjansingh pushed a commit that referenced this pull request Oct 12, 2025
## Summary

Update expectations post-merge.

See #5958
arjansingh pushed a commit that referenced this pull request Oct 13, 2025
test: update OpenAIVideoSora2 tests to use `size` instead of
`resolution`

Refactored all OpenAIVideoSora2 test cases in useNodePricing.test.ts to
align with
the updated node logic that replaces the `resolution` widget with
`size`.
Adjusted validation, pricing, and error message expectations
accordingly.

┆Issue is synchronized with this [Notion
page](https://www.notion.so/PR-5958-Update-OpenAIVideoSora2-tests-for-new-size-based-pricing-logic-2856d73d365081c9919dd256cce40492)
by [Unito](https://www.unito.io)
arjansingh pushed a commit that referenced this pull request Oct 13, 2025
## Summary

Update expectations post-merge.

See #5958
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1.27 1.28 claude-review Add to trigger a PR code review from Claude Code needs-backport Fix/change that needs to be cherry-picked to the current feature freeze branch size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants