-
Notifications
You must be signed in to change notification settings - Fork 189
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor(dojo-lang): output debug info conditionally #2411
Conversation
WalkthroughOhayo, sensei! The changes introduce a new boolean field, Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant CLI
participant DojoCompiler
User->>CLI: Invoke Build Command with output_debug_info
CLI->>DojoCompiler: Instantiate with output_debug_info
DojoCompiler-->>CLI: Compiler ready
CLI->>User: Build process initiated
Tip Announcements
Recent review detailsConfiguration used: .coderabbit.yaml Files selected for processing (4)
Additional comments not posted (7)
TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2411 +/- ##
==========================================
- Coverage 68.14% 67.94% -0.21%
==========================================
Files 364 364
Lines 47760 47767 +7
==========================================
- Hits 32548 32456 -92
- Misses 15212 15311 +99 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agree, thanks for taking the time by adding this runtime flag, almost x10 compilation time, which is crazy actually.
related #2333
this PR adds a flag in the
sozo
cli and dojo compiler to determine whether to output the Sierra program debug information or not.the debug artifacts have no use outside of the Walnut debugger integration, which they (the walnut team) are only using it internally. currently we're outputting it every time, which takes a huge chunk of the build time.
Imo, this is not something that we should maintain on our end but this is the path of least resistance for us.