Skip to content

Compiled DBT Preview caches outdated version #1767

@lzimmermann-fnk

Description

@lzimmermann-fnk

Expected behavior

If I compile a model through the "Compiled dbt Preview" tool, I would expect the preview to recompile the code when I save the file and then reopen the compiled preview. This is crucial especially in case of a compilation error, which I would like to be gone when I fixed its root cause.

Actual behavior

The compiled code stays the same, and I am not able to recompile. After around 5-10 Minutes, the code recompiles. This seems to be a caching issue (which is fine as long as I don't change the file, but it should recompile on save).

Unrelated: Thank you so much for this otherwise awesome extention :)

Steps To Reproduce

  • Compile a model through the "Compiled dbt Preview" tool,
  • Change it
  • Close the "Compiled dbt Preview"
  • Reopen "Compiled dbt Preview"
  • nothing will have changed on compiled preview

Log output/Screenshots

No response

Operating System

Mac OS

dbt version

1.10.11

dbt Adapter

bigquery=1.10.0

dbt Power User version

0.58.13

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions