Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Oct 9, 2023. It is now read-only.

Comments

Remove sys_ptrace dependency#264

Open
pingsutw wants to merge 18 commits intomaster from
remove_ptrace
Open

Remove sys_ptrace dependency #264
pingsutw wants to merge 18 commits intomaster from
remove_ptrace

Conversation

@pingsutw
Copy link
Member

@pingsutw pingsutw commented May 11, 2022
edited
Loading

TL;DR

  • Remove sys_ptrace
  • Use file_watcher by default if using copilot
  • Update raw container task phase

Declare the task as a failure when the raw container is failing, and the tasks succeed if both the raw and the sidecar containers succeed

The reason is that sidecar run forever if the raw container fails because the sidecar container keeps waiting for the raw container to write the SUCCESS file to the local disk. As a result, the task status was always "running".

Type

  • Bug Fix
  • Feature
  • Plugin

Are all requirements met?

  • Code completed
  • Smoke tested
  • Unit tests added
  • Code documentation added
  • Any pending items have an associated Issue

Complete description

How did you fix the bug, make the feature etc. Link to any design docs etc

Tracking Issue

flyteorg/flyte#2162

Follow-up issue

NA

pingsutw added 9 commits March 14, 2022 23:21
Signed-off-by: Kevin Su <pingsutw@apache.org>
Signed-off-by: Kevin Su <pingsutw@apache.org>
Signed-off-by: Kevin Su <pingsutw@apache.org>
Signed-off-by: Kevin Su <pingsutw@apache.org>
Signed-off-by: Kevin Su <pingsutw@apache.org>
Signed-off-by: Kevin Su <pingsutw@apache.org>
Signed-off-by: Kevin Su <pingsutw@apache.org>
Copy link

codecov bot commented May 11, 2022
edited
Loading

Codecov Report

Merging #264 (6615886) into master (e2971ef) will increase coverage by 0.02%.
The diff coverage is 100.00%.

@@ Coverage Diff @@
## master #264 +/- ##
==========================================
+ Coverage 63.01% 63.03% +0.02% 
==========================================
 Files 142 142 
 Lines 8968 8973 +5 
==========================================
+ Hits 5651 5656 +5 
 Misses 2796 2796 
 Partials 521 521 
Flag Coverage Δ
unittests 62.38% <100.00%> (+0.01%) ⬆️

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

Impacted Files Coverage Δ
go/tasks/pluginmachinery/flytek8s/config/config.go 50.00% <ø> (ø)
go/tasks/pluginmachinery/flytek8s/copilot.go 91.76% <100.00%> (-0.24%) ⬇️
go/tasks/plugins/array/k8s/subtask_exec_context.go 81.52% <100.00%> (-0.20%) ⬇️
go/tasks/plugins/k8s/pod/container.go 83.33% <100.00%> (+11.90%) ⬆️
go/tasks/plugins/k8s/pod/plugin.go 85.39% <100.00%> (+1.05%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e2971ef...6615886. Read the comment docs.

@pingsutw pingsutw changed the title (削除) Remove sys_ptrace dependency (削除ここまで) (追記) [WIP] Remove sys_ptrace dependency (追記ここまで) May 13, 2022
pingsutw added 3 commits May 18, 2022 19:47
Signed-off-by: Kevin Su <pingsutw@apache.org>
Signed-off-by: Kevin Su <pingsutw@apache.org>
Signed-off-by: Kevin Su <pingsutw@apache.org>
@pingsutw pingsutw changed the title (削除) [WIP] Remove sys_ptrace dependency (削除ここまで) (追記) Remove sys_ptrace dependency (追記ここまで) May 18, 2022
pingsutw added 6 commits June 14, 2022 20:51
Signed-off-by: Kevin Su <pingsutw@apache.org>
Signed-off-by: Kevin Su <pingsutw@apache.org>
Signed-off-by: Kevin Su <pingsutw@apache.org>
Signed-off-by: Kevin Su <pingsutw@apache.org>
Signed-off-by: Kevin Su <pingsutw@apache.org>
Signed-off-by: Kevin Su <pingsutw@apache.org>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /