Skip to content

Conversation

Shiv-hcr
Copy link

@Shiv-hcr Shiv-hcr commented Aug 4, 2025

There is a runtime check which will throw an error if timeout is set to true, along the lines of:

error: Job #1 named "exampleJob" had an invalid timeout of true

This minor tweak will ensure type safety at build/dev time too.

Checklist

  • I have ensured my pull request is not behind the main or master branch of the original repository.
  • I have rebased all commits where necessary so that reviewing this pull request can be done without having to merge it first.
  • I have written a commit message that passes commitlint linting.
  • I have ensured that my code changes pass linting tests.
  • I have ensured that my code changes pass unit tests.
  • I have described my pull request and the reasons for code changes along with context if necessary.

There is a runtime check which will throw an error if timeout is set to true, along the lines of:

error: Job breejs#1 named "exampleJob" had an invalid timeout of true

Now its type safe at runtime and build/dev time
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