Skip to content

Conversation

ravenac95
Copy link
Member

This is originally from #49

Closes #43

richban and others added 8 commits September 16, 2025 12:14
- Add proper *args handling in IntrospectingConsole.create_signatures_and_params()
- Convert *args to _unknown_args_from_varargs dict to bridge incompatible interfaces
- Update publish_known_event() to process converted *args data
- Fix LogTestResults field ordering to prevent syntax errors
- Update SQLMesh constraint from <0.188 to >=0.188

Fixes compatibility issue with SQLMesh 0.209.0 which added *args/**kwargs
to log_error() and log_warning() abstract methods. Without this fix, the
dynamic method generation creates invalid Python syntax that prevents import.

The solution preserves all argument data in unknown_args while maintaining
the clean **kwargs-only interface of the event system.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
Replace dynamic exec() generation with proper callable class pattern
for better maintainability, type safety, and debugging capability.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
@lucargir
Copy link
Contributor

@ravenac95 fyi, there's some method signature changes in the recent versions of SQLMesh, so you might need to cap this to 0.209.0, and then make further changes to increase the compatibility to the latest versions.

@ravenac95
Copy link
Member Author

@lucargir depending on the signature changes, the current design might handle it but I've got a test breaking i've not been able to fix on this branch. I need to check if it's the upgrade to 0.209.0 on this branch. I should also push up some additional work I have in progress for this.

brunoalano added a commit to brunoalano/dagster-sqlmesh that referenced this pull request Sep 28, 2025
… console and backfilling integration\n- Support latest Dagster and SQLMesh versions\n- Exclude private README changes; keep upstream README\n\nRefs: opensource-observer#49, closes opensource-observer#43; follow-up to opensource-observer#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.

Avoid implicit defaults for environment

3 participants