Skip to content

(via govambam): Improve cache validation in load_parsed_selectors to prevent KeyError#4

Merged
macroscopeapp[bot] merged 1 commit into
review-pr-2261from
macroscope/review-pr-2261
Feb 20, 2026
Merged

(via govambam): Improve cache validation in load_parsed_selectors to prevent KeyError#4
macroscopeapp[bot] merged 1 commit into
review-pr-2261from
macroscope/review-pr-2261

Conversation

@macroscopeapp
Copy link
Copy Markdown

@macroscopeapp macroscopeapp Bot commented Feb 20, 2026

Macroscope: Fix It For Me

Activity

Currently: Auto-merged 4931036

Previously

Improve cache validation in cosmos.dbt.graph.DbtGraph.load_parsed_selectors to treat missing yaml_selectors or version as a cache miss and avoid KeyError

Update load_parsed_selectors to check for yaml_selectors presence before using the cache and to read version via dict.get, falling back to parsing when keys are absent in graph.py.

📍Where to Start

Start in DbtGraph.load_parsed_selectors within graph.py.


Macroscope summarized c54a769.

@macroscopeapp macroscopeapp Bot merged commit 4931036 into review-pr-2261 Feb 20, 2026
1 check passed
@macroscopeapp macroscopeapp Bot deleted the macroscope/review-pr-2261 branch February 20, 2026 21:52
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.

1 participant