-
Notifications
You must be signed in to change notification settings - Fork 323
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
Record button appears to execute the node twice #10730
Comments
The scenario is as follows:
Re 1: that's all as expected |
@hubertp does GUI attach visualization even if there is no visualization shown under the node (like in the screenshot)? |
Yes. |
@4e6 suggested that this could be an opportunity to provide a proper support for record button rather than via this |
Hubert Plociniczak reports a new STANDUP for yesterday (2024-08-01): Progress: More experiments with reducing copying (#10718). Started looking into record button problems instead of visualization. It should be finished by 2024-08-06. Next Day: Next day I will be working on the #10730 task. More tweaks to passes that do a lot of copying. Debug record button problem. |
Hubert Plociniczak reports a new STANDUP for the provided date (2024-08-02): Progress: Found the reason for double execution when record button is pressed, discussing with Dmitry on how to address it properly. More tweaks to reduce copying. More profiling of startup. Reviewing 10735. It should be finished by 2024-08-06. Next Day: Next day I will be working on the #10730 task. Continue the investigation. |
Hubert Plociniczak reports a new STANDUP for the provided date (2024-08-02): Progress: Fixing CI issues with #10733. Debugging issues when logging in to cloud. Debugging yet another issue with project not loading (ydoc hardcoded timeouts) on windows. Looking into #10730. It should be finished by 2024-08-06. Next Day: Next day I will be working on the #10730 task. Continue the investigation. |
Then I think there is some GUI issue too. We should not attach viz on the entire |
Hubert Plociniczak reports a new STANDUP for yesterday (2024-08-05): Progress: Investigating CI issues related to Next Day: Next day I will be working on the #10730 task. Continue the investigation. |
Ok, I know what happens on GUI side: when record button is pressed and code changed, we invalidate information about method call. Without method call, we actually don't know how to ask about widgets, so we set our visualization config to I'm not sure if there is an easy and still sound way to fix that... Maybe we could update visualization. Or just wait for new recording API (without code changes), so there will be no code change and thus no visualization reattachment. |
Hubert Plociniczak reports a new STANDUP for the provided date (2024-08-06): Progress: Debugging the current implementation of recomputation, no progress on persisting re-execution without text edits. Tinkering with CI to try to reproduce failures. Stumbled upon build failures on a dedicated mac machine, currently blocked. It should be finished by 2024-08-12. Next Day: Next day I will be working on the #10730 task. Continue the investigation. |
Hubert Plociniczak reports a new STANDUP for yesterday (2024-08-07): Progress: Change of course re-record button after internal discussions. Current plan: enable caching of Next Day: Next day I will be working on the #10730 task. Continue the investigation. |
In order for widgets not to invalidate expression's results and trigger computations, we now cache self argument to which visualizations should be attached to. It should help with #10730 but there is still a bug in GUI.
Hubert Plociniczak reports a new STANDUP for the provided date (2024-08-08): Progress: Enabled caching of self argument, still testing. Continued investigating MacOS failures. Investigating CI failures. Investigating high memory usage for a user's project. It should be finished by 2024-08-12. Next Day: Next day I will be working on the #10730 task. File a PR with a solution, investigate surprising high-memory usage for tests. |
Hubert Plociniczak reports a new STANDUP for the provided date (2024-08-09): Progress: PR is ready, investigating memory leaks in runtime-integration tests, #10785 and #10793 respectively. Fighting with CI. It should be finished by 2024-08-12. Next Day: Next day I will be working on the #10730 task. Finish working on memory leaks, address PR review. |
In order for widgets not to invalidate expression's results and trigger computations, we now cache self argument to which visualizations should be attached to. It should help with #10730 but there is still a bug in GUI.
@farmaazon After a length discussion we decided against that. |
And visualization update also does not fix the problem. But I assumed #10785 fixes the original issue of double-writes? |
Hubert Plociniczak reports a new STANDUP for the provided date (2024-08-12): Progress: Continued working on memory leaks in tests, cut memory usage by more than half so far. Need to file follow up tickets that would eliminate remaining prolems. Debugging CI problems with nightlies. It should be finished by 2024-08-12. Next Day: Next day I will be working on the #10751 task. Fix nightlies, work on dockerizing ydoc. |
It seems to work according to @jdunkerley |
Notice a simple program
File
test.txt
didn't exist before clicking on the record button.Once enabled this is the contents of the file:
suggesting that the node was executed twice.
The text was updated successfully, but these errors were encountered: