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

feat(hogvm): serialize the stack between async operations #24574

Merged
merged 5 commits into from
Aug 27, 2024

Conversation

mariusandra
Copy link
Collaborator

@mariusandra mariusandra commented Aug 26, 2024

Problem

We can't JSON.stringify Maps.

Changes

Treat the stack as normal JS objects outside of Hog.

How did you test this code?

Added a test.

Tried to test E2E locally, but can't get plugin server running :'(

I mocked out all cyclotron code in the plugin server and this did work well E2E with whatever was remaining:

Ran the flow locally. Before headers2 was empty, now it's not.

image

@mariusandra mariusandra requested review from benjackwhite and a team August 26, 2024 13:13
@mariusandra
Copy link
Collaborator Author

I don't know why these "Django tests – Core" tests are not running. However this PR doesn't touch the django backend and everything else is green. I'd be happy to force-merge if someone reviews.

@mariusandra mariusandra changed the base branch from master to plugin-local-dev August 26, 2024 19:56
@mariusandra mariusandra changed the base branch from plugin-local-dev to master August 26, 2024 19:56
Copy link
Member

@fuziontech fuziontech left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@mariusandra mariusandra merged commit e9e3441 into master Aug 27, 2024
86 checks passed
@mariusandra mariusandra deleted the hogvm-serialization branch August 27, 2024 07:45
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.

3 participants