Skip to content
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

[Schema Inaccuracy] Consider making Workflow ID int64 to future-proof against overflow #4512

Open
caleblloyd opened this issue Feb 7, 2025 · 0 comments

Comments

@caleblloyd
Copy link

Consider changing the Workflow ID parameter and model to use int64 instead of int. A recent Workflow I created got the ID of around 141,000,000 which is still a ways from int.MaxValue of 2,147,483,647. But given enough time and more users making workflows this could eventually overflow.

Schema Inaccuracy

  • #/components/parameters/workflow-id - Consider that int32 may overflow in the future. Add format: int64
  • #/components/schemas/workflow/id - Consider that int32 may overflow in the future. Add format: int64

Expected

No overflow

Reproduction Steps

No current overflow, so no reproduction. However

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants