Skip to content
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

Stop including source code in state #861

Merged
merged 2 commits into from Oct 26, 2022

Conversation

FrederikBolding
Copy link
Member

@FrederikBolding FrederikBolding commented Oct 25, 2022

Stops storing the snap source code in the state of the controller, since this causes the source code to be piped to the extension UI every 200ms. With this PR, the source code is instead kept alongside other runtime data, being loaded when the controller spins up and persisted when it spins down.

This will also make it easier for us to store the sourceCode in another format in the near future.

Fixes #859

@FrederikBolding FrederikBolding marked this pull request as ready for review October 25, 2022 14:06
@FrederikBolding FrederikBolding requested a review from a team as a code owner October 25, 2022 14:06
@FrederikBolding FrederikBolding changed the title Stop including sourceCode in state Stop including source code in state Oct 25, 2022
@FrederikBolding FrederikBolding force-pushed the fb/stop-including-source-in-state branch from 88d28b3 to 5e5944e Compare October 26, 2022 13:41
@FrederikBolding FrederikBolding merged commit b469663 into main Oct 26, 2022
@FrederikBolding FrederikBolding deleted the fb/stop-including-source-in-state branch October 26, 2022 13:53
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.

Stop piping source code to the extension UI
2 participants