Skip to content

DNM: try and debug failing plain progress + python - #7450

Closed
jedevc wants to merge 12 commits into
dagger:mainfrom
jedevc:wip-plain-progress-python
Closed

jedevc wants to merge 12 commits into
dagger:mainfrom
jedevc:wip-plain-progress-python

Conversation

@jedevc

@jedevc jedevc commented May 23, 2024 •

Copy link
Copy Markdown
Contributor

See #7272

Bisect:

  • c2f2cec fix: restore old engine progress callbacks is bad
  • 4386f53bc768f14ceef212c9757ff6045c1dd66d chore: convert Frontend into interface is good
  • f62f7c1 chore: split out Frontend into pretty and plain is good
  • ae6368dddbac5737bde7e1678482d8d75f8e2be8 chore: refactor formatting and rendering out of frontend is good
  • 7548cc1585f9348044f83249022fc16f12d1fdbe feat: rebuild plain progress logs is bad

The first bad commit is d87ac60

jedevc added 8 commits May 23, 2024 09:09
Signed-off-by: Justin Chadwell <[email protected]>
These now strike a balance between the old and the new plain progress,
while trying to take as much advantage of our new OTEL tooling as
possible.

These new logs use the span database, sharing the logic with the pretty
progress as well (but handling logs entirely differently, we don't
need/want fancy vterm handling for these).

Signed-off-by: Justin Chadwell <[email protected]>
We don't want to display these at all for the new TUI.

Signed-off-by: Justin Chadwell <[email protected]>
@jedevc
jedevc force-pushed the wip-plain-progress-python branch 13 times, most recently from 355cb72 to f547933 Compare May 23, 2024 16:37
This got missed somewhere during a rebase.

Signed-off-by: Justin Chadwell <[email protected]>
@jedevc
jedevc force-pushed the wip-plain-progress-python branch 2 times, most recently from 100aaf2 to 8acea79 Compare May 23, 2024 17:07
Signed-off-by: Justin Chadwell <[email protected]>
@jedevc
jedevc force-pushed the wip-plain-progress-python branch 4 times, most recently from 50686bd to bb43714 Compare May 24, 2024 08:58
@jedevc
jedevc force-pushed the wip-plain-progress-python branch 6 times, most recently from 7a6cde1 to ab0d302 Compare May 24, 2024 10:04
@jedevc
jedevc force-pushed the wip-plain-progress-python branch from a29130f to 919c499 Compare May 27, 2024 11:36
Instead of just closing it immediately. This could potentially result in
the child process crashing with "broken pipe" if it accidentally wrote
to this file descriptor.

Signed-off-by: Justin Chadwell <[email protected]>
@jedevc jedevc closed this May 28, 2024
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.

1 participant