Skip to content

Conversation

@benflexcompute
Copy link
Collaborator

@benflexcompute benflexcompute commented Feb 11, 2026

Note

Medium Risk
Touches the simulation submission path and introduces new billing/queue selection plus an extra account API call that can block submissions if misconfigured.

Overview
Adds an optional job_type/jobType field to DraftRunRequest and threads it through draft submission so runs can be billed as TIME_SHARED_VGPU or FLEX_CREDIT.

Extends Project.run_case() with a user-facing billing_method (VirtualGPU/FlexCredit) that maps to the new API job type; VirtualGPU runs now perform a GET flow360/account capability check and raise if vGPU billing isn’t enabled, and billing_method is ignored for draft_only submissions. Also tightens a few type hints and ensures jobType is omitted from the request body when unset.

Written by Cursor Bugbot for commit 1e15e11. This will update automatically on new commits. Configure here.

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 35701bf524

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

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.

1 participant