Skip to content

Conversation

@dmadisetti
Copy link
Collaborator

@dmadisetti dmadisetti commented Jul 31, 2025

📝 Summary

Bug initially mistaken to be caused from #5758 (happened to be observed around the same time as that push)

Cache wrapping previously assumed that a context would be present with all import and definitions defined.
Module lookup logic became stale after #5678

This PR fixes this issue and provides specific decorator tests. Fixes internal demo, and previously observed behavior.

@dmadisetti dmadisetti requested review from akshayka and mscolnick July 31, 2025 23:42
@vercel
Copy link

vercel bot commented Jul 31, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
marimo-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 1, 2025 0:28am

@dmadisetti dmadisetti changed the title fix: Enable scoped references to be properly resolved when used as an external dep fix: cache decorator with external deps Jul 31, 2025
@dmadisetti dmadisetti added the bug Something isn't working label Aug 1, 2025
@dmadisetti dmadisetti changed the title fix: cache decorator with external deps fix: top-level cache decorator with additional deps Aug 1, 2025
@dmadisetti dmadisetti merged commit 557c5c4 into main Aug 1, 2025
43 of 55 checks passed
@dmadisetti dmadisetti deleted the dm/transitive-import-error branch August 1, 2025 03:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants