-
Notifications
You must be signed in to change notification settings - Fork 698
[history server] Improve api/v0/logs/file
#4456
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
Open
machichima
wants to merge
38
commits into
ray-project:master
Choose a base branch
from
machichima:improve-logs-file-test
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+1,297
−89
Open
Changes from 6 commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
1eb0afb
test: add more test case for live cluster e2e test
machichima 64df48d
test: more test case for dead cluster e2e test
machichima 4a4f729
refactor: clean up comments
machichima 0d89338
feat: move query options to struct&add more options
machichima 5dc5f12
feat: implement attempt_numbe, download_file, filter_ansi_code function
machichima 6de7601
feat: e2e test for attempt_numbe, download_file, filter_ansi_code
machichima 8d11aff
fix: update live cluster invalide param status code
machichima ff75e12
feat: add id related param&implement task_id+suffix
machichima 4f56280
test: remove eventual & print body when status code mismatch
machichima e01c113
feat: logic to find logs based on worker ID
machichima 41e5970
test: for suffix and task_id
machichima 6497225
fix: update rayjob.yaml to ensure produce log.out file
machichima 6b66a30
feat+test: support actor_id query
machichima d204ef1
feat+test: support pid query
machichima f739e5a
docs: todo comment for submission_id
machichima e562958
feat+test: add node_ip support
machichima f2f0161
test: move pid invalid test to logFileTestCases
machichima e0151db
fix: add download_filename rather than download_file flag
machichima 892d41a
refactor: Base64 to hex conversion logic to util function
machichima d254463
fix: skip convert to hex if already is
machichima ccd8243
fix: close reader to prevent connection leak
machichima f4dfefb
refactor: remove duplicate import
machichima a6b76ad
test: fix and refactor test
machichima 4b7a56b
fix: append suffix when deal with filename
machichima 4bd16da
fix: remove duplicate suffix validation
machichima f8dd9ee
refactor: remove not yet implemented comment
machichima fe49c92
feat+test: add logs/stream endpoint
machichima 200d56c
fix: remove redundant status code check
machichima c41d874
fix: update format of worker log in comment
machichima dd8a77f
Merge branch 'master' of github.com:ray-project/kuberay into improve-…
machichima d9b7dba
feat: more robust ConvertBase64ToHex and centralize the logic
machichima f1799d1
fix: return original id if cannot decode
machichima e848198
fix: escape filename correctly
machichima 4e30f18
fix: add sessionID == "" check in resolveActorLogFilename
machichima 1432037
fix: use correct cluster name to query task and actor id
machichima aba1b9e
test: filename header use no ""
machichima 145ab04
fix: redundant err and correct regex for base64
machichima 9980d22
fix: properly encode url parameter for task and actor id
machichima File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.