Skip to content

Fix undefined method replace_engine for nil:NilClass - #786

Merged
nesquena merged 2 commits into
masterfrom
fix/nil-builder-cache-replace
Mar 18, 2026
Merged

nesquena merged 2 commits into
masterfrom
fix/nil-builder-cache-replace

Conversation

@nesquena

@nesquena nesquena commented Mar 7, 2026

Copy link
Copy Markdown
Owner

Summary

Test plan

Fixes #784

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…ults

Guard against both nil engine and nil builder in the cache replacement
loop. Add tests covering unknown cache keys and missing builder mappings.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@nesquena
nesquena merged commit 9a16f84 into master Mar 18, 2026
16 checks passed
@nesquena
nesquena deleted the fix/nil-builder-cache-replace branch March 18, 2026 20:00
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.

undefined method `replace_engine' for nil:NilClass when using default engine

1 participant