Skip to content

Conversation

@pingsutw
Copy link
Member

@pingsutw pingsutw commented Jun 30, 2025

This pull request includes a small change to the register_script method in flytekit/remote/remote.py. The change sets the version attribute of serialization_settings before proceeding with entity registration.This pull request includes a minor update to the register_script method in flytekit/remote/remote.py. The change assigns the version to the serialization_settings object before registering the entity.

Test plan

  • Test CLI launch plan execution with existing launch plans
  • Verify no duplicate registrations occur
  • Check debug output provides useful information

🤖 Generated with Claude Code

Summary by Bito

This pull request enhances the launch plan registration process by checking for existing plans before registration and removing unnecessary debug print statements. It introduces debug logging for better execution insights and clarifies comments related to workflow registration, improving code readability and maintainability. These changes contribute to a more efficient and reliable CLI operation.

…gistration

- Check if launch plan already exists before attempting workflow registration
- Return existing launch plan if found to avoid unnecessary operations
- Add debug logging for better troubleshooting
- Include debugging print statements for CLI flow analysis

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
@codecov
Copy link

codecov bot commented Jun 30, 2025

Codecov Report

Attention: Patch coverage is 66.66667% with 2 lines in your changes missing coverage. Please review.

Project coverage is 52.43%. Comparing base (50911dc) to head (b48f068).
Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
flytekit/remote/remote.py 66.66% 2 Missing ⚠️

❗ There is a different number of reports uploaded between BASE (50911dc) and HEAD (b48f068). Click for more details.

HEAD has 31 uploads less than BASE
Flag BASE (50911dc) HEAD (b48f068)
32 1
Additional details and impacted files
@@             Coverage Diff             @@
##           master    #3285       +/-   ##
===========================================
- Coverage   79.87%   52.43%   -27.45%     
===========================================
  Files         250      215       -35     
  Lines       24046    22473     -1573     
  Branches     2967     2966        -1     
===========================================
- Hits        19207    11783     -7424     
- Misses       3990     9972     +5982     
+ Partials      849      718      -131     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

pingsutw added 3 commits June 30, 2025 11:23
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
@pingsutw pingsutw changed the title Fix launch plan CLI registration to check existing before workflow registration Fix launch plan CLI registration Jun 30, 2025
@pingsutw pingsutw merged commit 6548b66 into master Jun 30, 2025
222 of 228 checks passed
Atharva1723 pushed a commit to Atharva1723/flytekit that referenced this pull request Oct 5, 2025
Signed-off-by: Kevin Su <[email protected]>
Co-authored-by: Claude <[email protected]>
Signed-off-by: Atharva <[email protected]>
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.

3 participants