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

Bring Scheme back for backwards compatibility #4789

Merged
merged 2 commits into from
Jan 30, 2024
Merged

Conversation

eapolinario
Copy link
Contributor

Tracking issue

NA

Why are the changes needed?

We removed Scheme in #4774, but in order to help backwards compatibility, we need to keep it. This PR brings it back.

What changes were proposed in this pull request?

Revert a portion of #4774.

I also fixed a small issue in the parsing of ray config.

How was this patch tested?

Sandbox.

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

Docs link

@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. enhancement New feature or request labels Jan 30, 2024
Copy link

codecov bot commented Jan 30, 2024

Codecov Report

Attention: 38 lines in your changes are missing coverage. Please review.

Comparison is base (460f0f1) 58.64% compared to head (7a8aee4) 58.51%.
Report is 4 commits behind head on master.

Files Patch % Lines
...s/pluginmachinery/tasklog/templatescheme_enumer.go 0.00% 38 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4789      +/-   ##
==========================================
- Coverage   58.64%   58.51%   -0.13%     
==========================================
  Files         590      625      +35     
  Lines       51473    53633    +2160     
==========================================
+ Hits        30187    31386    +1199     
- Misses      18861    19730     +869     
- Partials     2425     2517      +92     
Flag Coverage Δ
unittests 58.51% <0.00%> (-0.13%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

EngHabu
EngHabu previously approved these changes Jan 30, 2024
flyteplugins/go/tasks/pluginmachinery/tasklog/plugin.go Outdated Show resolved Hide resolved
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Jan 30, 2024
@eapolinario eapolinario merged commit 144ccd9 into master Jan 30, 2024
43 of 45 checks passed
@eapolinario eapolinario deleted the bring-scheme-back branch January 30, 2024 19:54
pmahindrakar-oss pushed a commit that referenced this pull request May 1, 2024
* Dynamic log links (#4774)

* Bring Scheme back for backwards compatibility (#4789)

* Bring Scheme back for backwards compatibility

Signed-off-by: Eduardo Apolinario <[email protected]>

* Rename deprecated field to `DeprecatedScheme`

Signed-off-by: Eduardo Apolinario <[email protected]>

---------

Signed-off-by: Eduardo Apolinario <[email protected]>
Co-authored-by: Eduardo Apolinario <[email protected]>

---------

Signed-off-by: Eduardo Apolinario <[email protected]>
Co-authored-by: Eduardo Apolinario <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request lgtm This PR has been approved by a maintainer size:L This PR changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants