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

Do not rewrite manifest.json during docs serve command #7554

Merged
merged 1 commit into from
May 8, 2023

Conversation

jtcohen6
Copy link
Contributor

@jtcohen6 jtcohen6 commented May 8, 2023

resolves #7553
resolves #7922

Description

  • Currently, because dbt docs serve "requires" a manifest, it will re-parse the project and (over)write manifest.json
  • This has the effect of overwriting the compiled manifest just produced by dbt docs generate
  • We don't actually need a manifest for any of the functionality in dbt docs serve! dbt just expects it to exist, in the target/ path, in already serialized (JSON) form.

Checklist

@jtcohen6 jtcohen6 requested review from a team as code owners May 8, 2023 18:27
@jtcohen6 jtcohen6 requested review from emmyoop and VersusFacit and removed request for a team May 8, 2023 18:27
@cla-bot cla-bot bot added the cla:yes label May 8, 2023
@jtcohen6 jtcohen6 requested review from a team and iknox-fa May 8, 2023 18:27
Copy link
Contributor

@stu-k stu-k left a comment

Choose a reason for hiding this comment

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

Makes sense to me!

@gilcrest
Copy link

gilcrest commented May 8, 2023

Thanks @jtcohen6 - amazingly fast response on this!

jtcohen6 added a commit that referenced this pull request May 9, 2023
@aranke aranke mentioned this pull request May 9, 2023
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants