Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Streamline MetricFlow build contents #1097

Merged
merged 2 commits into from
Mar 26, 2024
Merged

Conversation

tlento
Copy link
Contributor

@tlento tlento commented Mar 21, 2024

The MetricFlow build was taking up 1.5-3 MB on disk, a large
part of which was the test package. Confusingly, the MetricFlow
build also included the contents of dbt-metricflow, which is
meant to be a separate distribution wrapper for MetricFlow itself,
so that's odd.

This commit cleans up the exclude list to be more appropriate to
MetricFlow's repository structure, and finishes the job of reducing
the size of the MetricFlow distribution packages by a factor of 4.

Most of the work was handled incidentally by moving the tests under
the repository root tests directory, which happened to be in the
exclude list already.

@tlento tlento changed the title Remove unused ci configuration file Streamline MetricFlow build contents Mar 21, 2024
@tlento tlento linked an issue Mar 21, 2024 that may be closed by this pull request
@tlento tlento marked this pull request as ready for review March 21, 2024 00:45
Base automatically changed from move-tests-to-repo-root to main March 21, 2024 17:40
The validation duration file was a temporary benchmarking action
that is so old it still references poetry commands, which have not
worked inside the MetricFlow repo for nearly a year now.

This was uncovered in a rename operation associated with forking
the test package out to repo root, so we just tidy it up here.
The MetricFlow build was taking up 1.5-3 MB on disk, a large
part of which was the test package. Confusingly, the MetricFlow
build also included the contents of dbt-metricflow, which is
meant to be a separate distribution wrapper for MetricFlow itself,
so that's odd.

This commit cleans up the exclude list to be more appropriate to
MetricFlow's repository structure, and finishes the job of reducing
the size of the MetricFlow distribution packages by a factor of 4.

Most of the work was handled incidentally by moving the tests under
the repository root tests directory, which happened to be in the
exclude list already.
@tlento tlento force-pushed the clean-up-package-distribution branch from bb38847 to 7ff6846 Compare March 22, 2024 17:24
@tlento tlento merged commit 1c696f8 into main Mar 26, 2024
15 checks passed
@tlento tlento deleted the clean-up-package-distribution branch March 26, 2024 22:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[SL-1878] Clean up metricflow distribution package
2 participants