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

fix: logs for tasks #2499

Merged
merged 12 commits into from
Jul 3, 2024
Merged

fix: logs for tasks #2499

merged 12 commits into from
Jul 3, 2024

Conversation

tedim52
Copy link
Contributor

@tedim52 tedim52 commented Jun 21, 2024

Description

This PR manipulates run_sh and run_python logic to stream logs from the command or python script thats being executed on the container. This also allows retrieving task logs after a run has finished, whereas before, task containers would not return logs from kurtosis service logs.

An improvement to this would be to enable streaming back logs via run output so users don't have to go through Docker Desktop or docker cli to view logs from a long running task that might have err'd.

https://www.loom.com/share/89181c37442048b9bdc746bfd37fe2ec

Is this change user facing?

YES

@tedim52 tedim52 requested a review from h4ck3rk3y June 21, 2024 18:52
@tedim52 tedim52 changed the title fix/feat: get logs for tasks? fix/feat:? get logs for tasks Jun 21, 2024
@tedim52 tedim52 changed the title fix/feat:? get logs for tasks fix/feat:? logs for tasks Jun 21, 2024
Copy link
Contributor

@h4ck3rk3y h4ck3rk3y left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we run the ethereum package against this image?

@tedim52
Copy link
Contributor Author

tedim52 commented Jun 24, 2024

The video I put in the description runs against the ethereum package.

@tedim52 tedim52 changed the title fix/feat:? logs for tasks feat: logs for tasks Jul 1, 2024
@tedim52 tedim52 changed the title feat: logs for tasks fix: logs for tasks Jul 1, 2024
@tedim52 tedim52 requested a review from barnabasbusa July 3, 2024 03:24
@tedim52 tedim52 added this pull request to the merge queue Jul 3, 2024
Merged via the queue into main with commit e7ef915 Jul 3, 2024
60 checks passed
@tedim52 tedim52 deleted the tedi/tasklogs branch July 3, 2024 16:43
github-merge-queue bot pushed a commit that referenced this pull request Jul 3, 2024
🤖 I have created a release *beep* *boop*
---


##
[1.0.0](0.90.1...1.0.0)
(2024-07-03)


### ⚠ BREAKING CHANGES

* release version 1
([#2487](#2487))

### Features

* add maintainers
([#2502](#2502))
([713e7dd](713e7dd))
* release version 1
([#2487](#2487))
([b9e2427](b9e2427))


### Bug Fixes

* Fix self hosting overview image
([#2500](#2500))
([36065a8](36065a8))
* logs for tasks
([#2499](#2499))
([e7ef915](e7ef915))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: kurtosisbot <[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.

2 participants