Skip to content

Improve snow dcm test and refresh output#3072

Draft
sfc-gh-jsommerfeld wants to merge 2 commits into
feature/dcm-alter-detail-treefrom
feature/dcm-test-refresh-improvements
Draft

Improve snow dcm test and refresh output#3072
sfc-gh-jsommerfeld wants to merge 2 commits into
feature/dcm-alter-detail-treefrom
feature/dcm-test-refresh-improvements

Conversation

@sfc-gh-jsommerfeld

Copy link
Copy Markdown
  • refresh: add a green/red summary line ("N Dynamic Tables refreshed successfully." / "N failures.") and append the === divider after output
  • test: switch summary wording to "Ran T data quality tests: P passed, F failed." with correct pluralisation
  • base.py: append the === divider after every DCM reporter output so command results are visually separated in the terminal
  • Consolidate shared kind-table helpers and success-contract logic across reporters (test + refresh)

Pre-review checklist

  • If my changes add or modify user-facing interface (commands, flags, output formats), I consulted maintainers and got sign-off beforehand (how).
  • I've confirmed that instructions included in README.md are still correct after my changes in the codebase.
  • I've added or updated unit tests to verify correctness of my new code.
  • I've added or updated integration tests to verify correctness of my new code.
  • Manually tested on macOS
  • Manually tested on Windows
  • I've confirmed my changes are up-to-date with the target branch.
  • I've described my changes in RELEASE-NOTES.md (see when and how).
  • I've updated documentation if behavior changed.

Changes description

...

@sfc-gh-jsommerfeld sfc-gh-jsommerfeld requested a review from a team as a code owner May 31, 2026 20:33
@sfc-gh-jsommerfeld sfc-gh-jsommerfeld marked this pull request as draft May 31, 2026 20:34
@sfc-gh-jsommerfeld sfc-gh-jsommerfeld force-pushed the feature/dcm-test-refresh-improvements branch from c81eb97 to 4cb8804 Compare June 8, 2026 20:24
@sfc-gh-jsommerfeld sfc-gh-jsommerfeld changed the base branch from main to feature/dcm-alter-detail-tree June 8, 2026 20:25
Add a shared "=" divider printed after every DCM reporter's output
(Reporter.print_separator) and update the test/refresh reporters and
snapshots accordingly.

Since the divider is now emitted centrally for all commands, drop compile's
bespoke announce_compile_separator() (and COMPILE_SEPARATOR_WIDTH) so compile
no longer prints two trailing separator lines.

Co-authored-by: Cursor <cursoragent@cursor.com>
@sfc-gh-jsommerfeld sfc-gh-jsommerfeld force-pushed the feature/dcm-test-refresh-improvements branch from 4cb8804 to 5a9474d Compare June 8, 2026 20:37
test and refresh now render the shared phase checklist (a single
TEST / REFRESH phase driven by DeployProgressTracker.run_loader_phase)
instead of the legacy generic spinner, matching plan/compile/deploy.

- progress: add single-phase "test" and "refresh" operation modes and
  guard complete_upload() so operations without an UPLOAD phase don't
  KeyError when run_loader_phase calls it.
- styles: collapse the two divergent blues (#a0a8fe and the named
  "blue") onto a single terminal-default BLUE constant, and route the
  hardcoded style="blue" literals in progress.py through it, so every
  blue in DCM output renders the same hue.

Co-authored-by: Cursor <cursoragent@cursor.com>
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