-
Notifications
You must be signed in to change notification settings - Fork 328
Logging Overhaul #2308
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
base: master
Are you sure you want to change the base?
Logging Overhaul #2308
Conversation
I solved the dependency issue, but I have a code generation issue now: In the macro code, in
Clearly, in this code I have not generated code. But I need to refer to the StreamSink, which should be generated ... Do you have an advice how to progress?
I am sure you have a better idea :) It is a bit cat-and-mouse: The logger code should be generated (actually integrated), but it needs the StreamSink to be generated to work ... As for solving the log dependency: Nevertheless, I want to leave this decision open until I see if |
Standard Rust would need |
The problem is, that there is no
|
Still don't have time ... could you please again reopen this PR? |
Sure and looking forward to it! |
@fzyzcjy I found some time to update this PR and finalize it :) Currently I am merging the latest master - but I ran into a problem testing the code :( I am running Since I am getting the same errors in the latest
The error I am getting is:
flutter/flutter#138727 mentions this problem with dart-lang/sdk#54111 solving it by having the But when I remove the file I get
when I move it to
However, the dart issue tickets I mentioned are over a year old - I wonder how this is impacting now? Something seems very off with my setup, but I can't figure out what. Gemini (surprisingly good with supporting flutter coding) suggests to modify the |
It seems not to compile in CI either:
|
Oh, I see that his is just running the code generation. I don't see any test for running the project. |
About hook file, could you please try to make Dart version same as the one on CI - iirc the newer dart changes hook mechanism and I have not had time to upgrade the examples to support that (note this only affects examples and not real users) |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #2308 +/- ##
===========================================
- Coverage 98.84% 55.87% -42.98%
===========================================
Files 469 465 -4
Lines 20500 19294 -1206
===========================================
- Hits 20264 10781 -9483
- Misses 236 8513 +8277 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Oh, yes, good suggestion! Somehow I did not think about that ... doing that right now. |
downgrading dart worked :) It builds again locally. Will continue later. |
I could run dart-minimal locally, and it looks like all tests in pure-dart, except the ones a socket, are passing locally. But in CI I am getting errors in form of
(...)
What does this mean? How can I move further? |
All tests of
) Do you know what the CI errors mean? |
Changes
Please list issues fixed by this PR here, using format "Fixes #the-issue-number".
Checklist
./frb_internal precommit --mode slow
(orfast
) is run (it internal runs code generator, does auto formatting, etc)../website
folder) are updated.Remark for PR creator
./frb_internal --help
shows utilities for development.