refactor(web): migrate console contracts to generated routes#38233
Merged
Conversation
Contributor
Pyrefly Type Coverage
|
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #38233 +/- ##
========================================
Coverage 85.35% 85.36%
========================================
Files 4979 4979
Lines 261925 262037 +112
Branches 49623 49629 +6
========================================
+ Hits 223567 223681 +114
+ Misses 33974 33972 -2
Partials 4384 4384
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Member
Author
|
@copilot resolve the merge conflicts in this pull request |
Contributor
Resolved and pushed. Merge conflicts are fixed in commit |
lyzno1
previously approved these changes
Jul 1, 2026
lyzno1
previously approved these changes
Jul 1, 2026
lyzno1
approved these changes
Jul 1, 2026
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Fixes #38232.
This PR migrates the console contract paths that are now covered by generated OpenAPI contracts:
billing,files,workflowDraft, andworkflowCommentsScreenshots
Checklist
Validation
uv run --project api ruff check api/controllers/console/app/workflow.py api/controllers/console/app/workflow_comment.py api/controllers/console/app/workflow_draft_variable.py api/controllers/console/billing/billing.py api/controllers/console/explore/recommended_app.py api/controllers/console/files.py api/controllers/console/workspace/members.py api/controllers/console/workspace/plugin.py api/controllers/console/workspace/rbac.py api/controllers/console/workspace/trigger_providers.py api/tests/unit_tests/commands/test_generate_swagger_specs.pyuv run --project api pytest api/tests/unit_tests/commands/test_generate_swagger_specs.py -qpnpm --dir packages/contracts type-checkpnpm --dir web type-checkpnpm --dir web test app/components/workflow/hooks/__tests__/use-workflow-comment.spec.ts app/components/workflow/comment/mention-input.spec.tsx app/components/workflow/comment/thread.spec.tsx app/components/workflow/comment/comment-icon.spec.tsx app/components/workflow/comment/comment-preview.spec.tsx app/components/workflow/panel/comments-panel/__tests__/index.spec.tsx __tests__/billing/pricing-modal-flow.test.tsx __tests__/billing/cloud-plan-payment-flow.test.tsx app/components/billing/pricing/plans/cloud-plan-item/__tests__/index.spec.tsxFrom Codex