feat(integrations/dagster): thread --check through doctor()#229
Merged
hugocorreia90 merged 1 commit intomainfrom Apr 22, 2026
Merged
feat(integrations/dagster): thread --check through doctor()#229hugocorreia90 merged 1 commit intomainfrom
hugocorreia90 merged 1 commit intomainfrom
Conversation
Adds an optional `check` kwarg to RockyResource.doctor() that forwards `--check <id>` to the CLI, and switches state_health()'s state_rw probe to call doctor(check="state_rw"). The engine already scoped `--check` to a single check; the Python wrapper was running the full doctor suite on every probe, turning state_health(probe_write=True) into a multi-second call instead of the sub-second round-trip the probe_state_backend helper runs in. Client-side check-id validation is deliberately omitted — the engine owns the set of valid ids, and duplicating it in Python would drift. Pure Python argv change: no engine change, no codegen, DoctorOutput schema unchanged (filtered output is the same shape with fewer entries in `checks`).
7 tasks
hugocorreia90
added a commit
that referenced
this pull request
Apr 22, 2026
* chore: release engine-v1.14.0 + dagster-v1.10.0 + vscode-v1.6.4 Bumps all three artifacts to cover the 16-PR cascade since engine-v1.13.0 / dagster-v1.9.0 / vscode-v1.6.3. Details in each CHANGELOG. Engine headlines (12 PRs): - Arc 7 wave 2 wave-2 complete — cached DESCRIBE end-to-end (#223 infra, #228 reads, #230 write tap, #231 discover warm-up, #232 state controls + --cache-ttl override) - Arc 2 wave 3 complete — bytes_scanned / bytes_written on MaterializationOutput (#219 BQ, #221 Databricks, #220 Snowflake deferred doc, #222 docstring cascade). Real $ on rocky cost for BQ + Databricks - FR-005 Unity Catalog workspace-binding reconcile (#226) - FR-002 Fivetran connector metadata via SourceOutput.metadata (#225) - Housekeeping: compute_backoff dedup into rocky_core::retry (#217) Dagster headlines (4 PRs): - FR-001 RockyComponent Pipes execution mode + FR-006 strict doctor on RockyResource startup (#224) - FR-003 RockyResource.state_health() (#227) + FR follow-up threading doctor(check=state_rw) for sub-second probes (#229) - RockyResource.cost() wiring + fixture (#218) VS Code: regenerated TS bindings for engine 1.14.0 type additions. No extension feature changes. * chore(integrations/dagster): regenerate test fixtures for engine 1.14.0 36 fixtures picked up the new engine version string in their top-level "version" field. No schema changes — just the version bump.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
check: str | Nonekwarg toRockyResource.doctor()that forwards--check <id>to the CLI, and switchstate_health()'sstate_rwprobe todoctor(check="state_rw")— cutting the probe cost from a full doctor suite to a single sub-secondprobe_state_backendround-trip.DoctorOutputschema unchanged (filtered output is the same shape with fewer entries inchecks).Test plan
uv run pytest tests/test_resource.py tests/test_state_health.py -x -q(85 passed — includes 4 new tests)uv run pytest tests/ -x -q(374 passed, no regressions)uv run ruff check .(all checks passed)uv run ruff format --check .(46 files already formatted)doctor()withoutcheckkwarg still emits["doctor"]— back-compat for existing callersdoctor(check="state_rw")emits["doctor", "--check", "state_rw"]state_health(probe_write=True)callsdoctor(check="state_rw")(spy assertion)