Skip to content

Ele 1707 add source freshness as test part 2#1208

Merged
NoyaArie merged 11 commits into
masterfrom
ele-1707-add-source-freshness-as-test-part-2
Nov 6, 2023
Merged

Ele 1707 add source freshness as test part 2#1208
NoyaArie merged 11 commits into
masterfrom
ele-1707-add-source-freshness-as-test-part-2

Conversation

@NoyaArie
Copy link
Copy Markdown
Contributor

@NoyaArie NoyaArie commented Oct 4, 2023

No description provided.

@linear
Copy link
Copy Markdown

linear Bot commented Oct 4, 2023

ELE-1707 Add source freshness runs as tests in the report

  • [ ]
  • normalize the status value (error = failed, runtime_error = error)

product:

  • copy for test description
  • add to the UI also test description

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Oct 4, 2023

👋 @NoyaArie
Thank you for raising your pull request.
Please make sure to add tests and document all user-facing changes.
You can do this by editing the docs files in this pull request.

@NoyaArie NoyaArie force-pushed the ele-1707-add-source-freshness-as-test-part-2 branch from 9c4e141 to 7dd11c1 Compare October 31, 2023 10:20
@NoyaArie NoyaArie force-pushed the ele-1707-add-source-freshness-as-test-part-2 branch from 7dd11c1 to eab5a2e Compare October 31, 2023 10:22
@NoyaArie NoyaArie marked this pull request as ready for review November 5, 2023 15:04
self.connections_manager: Optional[BaseConnectionManager] = None
self.project_parser: Optional[ManifestLoader] = None
self.manifest = None
self.manifest: Optional[Manifest] = None
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

not related - CI error fix

):
super().__init__(dbt_runner)
self.tests_fetcher = TestsFetcher(dbt_runner=self.dbt_runner)
self.invocations_api = InvocationsAPI(dbt_runner)
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

cleanup

Copy link
Copy Markdown
Contributor

@erikzaadi erikzaadi left a comment

Choose a reason for hiding this comment

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

1 small nit, besides that:



class SourceFreshnessResultDBRowSchema(ExtendedBaseModel):
__test__ = False # Mark for pytest - The class name starts with "Test" which throws warnings on pytest runs
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Is this needed here?

@NoyaArie NoyaArie merged commit 74c9628 into master Nov 6, 2023
@NoyaArie NoyaArie deleted the ele-1707-add-source-freshness-as-test-part-2 branch November 6, 2023 09:30
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.

2 participants