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
Fix/making js work #1456
Fix/making js work #1456
Conversation
wip: Getting async js feat: Have execute get action config feat: Read + Write chore: Add typing for globals chore: Change the default path, include error on missing function, and add json File Read Write chore: Change the default path, include error on missing function, and add json File Read Write wip: Fix the unit test wip: Fix the unit test feat: module loading
wip: Fix missing js files during running fix: Change the source + add input wip: Fix missing js files during running
5e9c3ff
to
7246cc0
Compare
47eb702
to
39ae0e4
Compare
backend/src/procedure/js_scripts.rs
Outdated
} | ||
|
||
/// Used during the subset, we are collapsing the state of the file paths. This will not work with soft link, | ||
/// and the correct method, canonicalizePaths seems to freeze randomly, and is much slower. |
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.
This is concerning, we use canonicalize in several places. Evidence?
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.
Issue was that the freezing was the order of checking the error from javascript was wrong. Fixed, and made sure the is parent is safer, slower but safer.
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.
Move the canonicalize into the is_subset to remove the footguns.
Found an issue on the creation + canonicalize will always fail, which is why I have the parent for those two now. And added the tests for the symlink tests
About
Need to have end to end get/set config
properties
Proof
Showing it
Peek.2022-05-20.11-50.mp4
working
Example of throwing an error