Skip to content

Make FLASHBOOT an enum value#488

Merged
deanq merged 2 commits intorunpod:mainfrom
ReneNyffenegger:FLASHBOOT-enum
Apr 8, 2026
Merged

Make FLASHBOOT an enum value#488
deanq merged 2 commits intorunpod:mainfrom
ReneNyffenegger:FLASHBOOT-enum

Conversation

@ReneNyffenegger
Copy link
Copy Markdown
Contributor

Because FLASHBOOT is an enum value, running create_endpoint throws
runpod.error.QueryError: Enum "FlashBootType" cannot represent non-enum value: "FLASHBOOT"
if FLASHBOOT is passed as string.

Because FLASHBOOT is an enum value, running create_endpoint
throws
   runpod.error.QueryError: Enum "FlashBootType" cannot represent non-enum value: "FLASHBOOT"
if FLASHBOOT is passed as string.
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes a GraphQL enum serialization bug in the endpoint creation mutation by sending FLASHBOOT as an enum token (not a quoted string), preventing Enum "FlashBootType" cannot represent non-enum value errors when flashboot is enabled.

Changes:

  • Update flashBootType input formatting to pass FLASHBOOT as a GraphQL enum value rather than a string literal.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@deanq deanq merged commit 17ba865 into runpod:main Apr 8, 2026
deanq added a commit that referenced this pull request Apr 8, 2026
The FLASHBOOT enum PR (#488) removed quotes from the GraphQL enum
value but didn't update the test assertion to match.
deanq added a commit that referenced this pull request Apr 8, 2026
The FLASHBOOT enum PR (#488) removed quotes from the GraphQL enum
value but didn't update the test assertion to match.
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.

4 participants