Commit eed25b2
fix(compute_log_managers): bugs surfaced by live Docker validation (v0.10.18)
The end-to-end Docker demo (Splunk + OTel Collector + Dagster, scripted
in dagster-community-components-cli/examples/setup_compute_log_managers_demo.sh)
caught two bugs in v0.10.16/17:
1. PollingComputeLogSubscriptionManager imported from wrong module.
Was: dagster._core.storage.local_compute_log_manager (doesn't export it)
Now: dagster._core.storage.cloud_storage_compute_log_manager
Fixed in splunk, otlp, tee.
2. _key_tuple used int(io_type) but ComputeIOType is an Enum, not IntEnum.
Was: ("/".join(log_key), int(io_type), bool(partial))
→ "int() argument must be a string ... not 'ComputeIOType'"
Now: ("/".join(log_key), io_type.value, bool(partial))
Fixed in splunk + otlp.
Validated live (validation in the demo script auto-checks via Splunk
search API): 22 events landed on each path (direct HEC source=dagster,
OTel Collector source=otel-collector) for a 10-line print asset.
Structured fields (dagster_run_id, dagster_step_key, dagster_io_type)
all present.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 4141f6f commit eed25b2
4 files changed
Lines changed: 12 additions & 6 deletions
File tree
- compute_log_managers
- otlp
- splunk
- tee
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
63 | 66 | | |
64 | 67 | | |
65 | 68 | | |
66 | | - | |
67 | 69 | | |
68 | 70 | | |
69 | 71 | | |
| |||
349 | 351 | | |
350 | 352 | | |
351 | 353 | | |
352 | | - | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
353 | 357 | | |
354 | 358 | | |
355 | 359 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
174 | | - | |
| 174 | + | |
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
| |||
368 | 368 | | |
369 | 369 | | |
370 | 370 | | |
371 | | - | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
372 | 374 | | |
373 | 375 | | |
374 | 376 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
52 | 53 | | |
53 | 54 | | |
54 | 55 | | |
55 | 56 | | |
56 | 57 | | |
57 | | - | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
0 commit comments