Skip to content

[flytecopilot] Bind timeout and start-timeout flags to separate variables#7382

Draft
ddl-rliu wants to merge 1 commit into
flyteorg:mainfrom
ddl-rliu:rliu.timeout-bug
Draft

[flytecopilot] Bind timeout and start-timeout flags to separate variables#7382
ddl-rliu wants to merge 1 commit into
flyteorg:mainfrom
ddl-rliu:rliu.timeout-bug

Conversation

@ddl-rliu
Copy link
Copy Markdown
Contributor

Tracking issue

Why are the changes needed?

There is a bug where if none of --timeout, --start-timeout are set, flytecopilot uses a timeout of 0 rather than the intended 1h.

What changes were proposed in this pull request?

Do not bind both flags to the same variable. Use deprecatedStartTimeout to store the value of the deprecated start-timeout flag.

How was this patch tested?

Labels

Please add one or more of the following labels to categorize your PR:

  • added: For new features.
  • changed: For changes in existing functionality.
  • deprecated: For soon-to-be-removed features.
  • removed: For features being removed.
  • fixed: For any bug fixed.
  • security: In case of vulnerabilities

This is important to improve the readability of release notes.

Setup process

Screenshots

Check all the applicable boxes

  • I updated the documentation accordingly.
  • All new and existing tests passed.
  • All commits are signed-off.

Related PRs

Stack

If you do use git town to manage PR Stacks, the stack relevant to this PR
will show below. Otherwise, you can ignore this section.

Docs link

Signed-off-by: ddl-rliu <richard.liu@dominodatalab.com>
@ddl-rliu ddl-rliu force-pushed the rliu.timeout-bug branch from d08caca to 5bd7656 Compare May 20, 2026 00:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant