Skip to content

Conversation

@sh-rp
Copy link
Collaborator

@sh-rp sh-rp commented Sep 15, 2025

Description

This PR improves test coverage for pipeline dashboard

  • Enabling the e2e tests for the dashboard by fixing issues with async and paths, also disables ibis section opening as this locks the duckdb file forever and tests stop
  • Re-enables macos e2e tests by downgrading to macos 14 (instead of 15.6) On MacOS 15 marimo would not start in the background with the & operator in the shell command of the workflow.
  • Basic tests for functions in ui elements utils

@netlify
Copy link

netlify bot commented Sep 15, 2025

Deploy Preview for dlt-hub-docs canceled.

Name Link
🔨 Latest commit b19ace4
🔍 Latest deploy log https://app.netlify.com/projects/dlt-hub-docs/deploys/68cadee7cd557d0008d72ba6

@sh-rp sh-rp force-pushed the fix/dashboard-tests branch from 54a8303 to c76e73d Compare September 15, 2025 15:13
@sh-rp sh-rp changed the title [WiP] Fix dashboard on windows Improve pipeline dashboard test coverage Sep 17, 2025
@sh-rp sh-rp linked an issue Sep 17, 2025 that may be closed by this pull request
@sh-rp sh-rp marked this pull request as ready for review September 17, 2025 14:36
Copy link
Collaborator

@zilto zilto left a comment

Choose a reason for hiding this comment

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

LGTM. Small changes recommended

Copy link
Collaborator

@zilto zilto left a comment

Choose a reason for hiding this comment

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

All reviews addressed

@sh-rp sh-rp merged commit d143c29 into devel Sep 17, 2025
66 of 67 checks passed
@sh-rp sh-rp deleted the fix/dashboard-tests branch September 17, 2025 17:58
alkaline-0 pushed a commit that referenced this pull request Sep 18, 2025
* disable most tests

* try correct windows command for runnig marimo e2e tests

* try without timeout

* test only launch marimo

* bump python version

* try install playwright deps

* fix e2e tests for dashboard on windows

* enable e2e tests for dashboard

* test macos 14 for dashboard e2e tests

* add basic tests for ui elements

* improve ui elements tests

* revert changes to main github workflow

* review fixes

---------

Co-authored-by: Your Name <[email protected]>
alkaline-0 added a commit that referenced this pull request Sep 19, 2025
* feat: add method to create dataset names with validation for staging dataset (#XXXX)

* Introduced `create_dataset_names` static method in `WithStagingDataset` class.
* Added validation to ensure staging dataset name is not the same as the final dataset name, raising a ValueError if they match.
* Updated documentation for the new method and error handling.

* refactor: enhance create_dataset_names method with improved error messaging and add unit tests

* Reformatted the `create_dataset_names` method for better readability.
* Improved error messages to clarify the consequences of identical dataset names.
* Added unit tests for `create_dataset_names` to validate functionality and error handling.

* refactor: update dataset name handling in destination clients

* Replaced direct calls to `normalize_dataset_name` and `normalize_staging_dataset_name` with a new method `create_dataset_names` in multiple destination client classes.
* This change improves consistency in dataset name generation across various implementations, ensuring proper handling of dataset names and staging datasets.

* refactor: improve formatting and readability of dataset name assignments in destination clients

* Updated dataset name assignments in multiple destination client classes to enhance readability by breaking long lines.
* Maintained consistency in the use of the `create_dataset_names` method across implementations.

* refactor: improve formatting and readability of dataset name assignments in destination clients

* Updated dataset name assignments in multiple destination client classes to enhance readability by breaking long lines.
* Maintained consistency in the use of the `create_dataset_names` method across implementations.

* Improve pipeline dashboard test coverage (#3091)

* disable most tests

* try correct windows command for runnig marimo e2e tests

* try without timeout

* test only launch marimo

* bump python version

* try install playwright deps

* fix e2e tests for dashboard on windows

* enable e2e tests for dashboard

* test macos 14 for dashboard e2e tests

* add basic tests for ui elements

* improve ui elements tests

* revert changes to main github workflow

* review fixes

---------

Co-authored-by: Your Name <[email protected]>

* Fix/67 normalizer child table behavior (#3048)

* add code to fix behavior of normalizer when None or primitives are encountered for child tables

(cherry picked from commit 5f44278)

* fixes one existing test that would not work with cached schema otherwise

* add tests and small fixes to dashboard

* fix implementation and add more tests

* Long names handled, get_nested_tables test, cached table lookups

* relational normalizer returns unshortened parent bath

* Schema contract test added

---------

Co-authored-by: anuunchin <[email protected]>

* Add redirect from dlt-plus page (#3084)

* docs: update staging dataset naming guidelines to prevent data loss

Added important notes and examples to the staging dataset configuration section, emphasizing the need for unique names between staging and final datasets to avoid `ValueError` and potential data loss during setup commands.

---------

Co-authored-by: David Scharf <[email protected]>
Co-authored-by: Your Name <[email protected]>
Co-authored-by: anuunchin <[email protected]>
Co-authored-by: Violetta Mishechkina <[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.

Fix marimo e2e tests on mac

3 participants