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

Make PyodideMetadataReader::getWorkerFiles not fail when it filters files #3413

Merged
merged 1 commit into from
Feb 10, 2025

Conversation

hoodmane
Copy link
Contributor

@hoodmane hoodmane commented Jan 28, 2025

ArrayBuilder assumes the array we are constructing has the exact size given. For constructing variable size arrays, we need a kj::Vector.

  • Add a test

@hoodmane hoodmane requested review from a team as code owners January 28, 2025 11:12
@hoodmane hoodmane requested review from anonrig and vickykont January 28, 2025 11:12
@hoodmane hoodmane force-pushed the hoodmane/fix-get-worker-files branch from 88bc14a to 892991d Compare January 28, 2025 11:12
@hoodmane
Copy link
Contributor Author

I'll wait until we merge some version of #3415 so that we can get test coverage.

@hoodmane hoodmane force-pushed the hoodmane/fix-get-worker-files branch 5 times, most recently from feb6985 to 691fdc6 Compare February 8, 2025 18:02
@hoodmane hoodmane requested a review from dom96 February 8, 2025 19:09
@hoodmane hoodmane force-pushed the hoodmane/fix-get-worker-files branch 2 times, most recently from 78be053 to f2f6639 Compare February 8, 2025 20:27
@danlapid
Copy link
Collaborator

danlapid commented Feb 8, 2025

Why do so many python tests fail with "EQ was unexpected at this time."?

@hoodmane
Copy link
Contributor Author

hoodmane commented Feb 9, 2025

I dunno it's a pretty small change. It would be strange if it were a real regression...

@hoodmane
Copy link
Contributor Author

hoodmane commented Feb 9, 2025

Oh it's because #3415 is wrong. Opened #3504 to fix.

…y filters

ArrayBuilder assumes the array we are constructing has the exact size given.
For constructing variable size arrays, we need a `kj::Vector`
@hoodmane hoodmane force-pushed the hoodmane/fix-get-worker-files branch from f2f6639 to fce5680 Compare February 9, 2025 16:46
@hoodmane hoodmane merged commit 065d723 into main Feb 10, 2025
17 of 18 checks passed
@hoodmane hoodmane deleted the hoodmane/fix-get-worker-files branch February 10, 2025 10:41
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