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

Map batch API #374

Merged
merged 1 commit into from
Mar 19, 2024
Merged

Map batch API #374

merged 1 commit into from
Mar 19, 2024

Conversation

geyslan
Copy link
Member

@geyslan geyslan commented Aug 31, 2023

Close: #162

commit 9382e51 (HEAD -> map-batch, origin/map-batch)

fix(map)!: fix map batch methods

This breaks the API, returning a count of the number of elements
processed for each batch method.

It also fixes the check against ENOENT and E2BIG.

The selftest has been updated to reflect the new API.

@geyslan geyslan added bug Something isn't working API Break labels Aug 31, 2023
@geyslan geyslan self-assigned this Aug 31, 2023
@geyslan geyslan force-pushed the map-batch branch 2 times, most recently from 44178a8 to 9008263 Compare September 4, 2023 12:19
This breaks the API, returning a count of the number of elements
processed for each batch method.

It also fixes the check against ENOENT and E2BIG.

The selftest has been updated to reflect the new API.
@geyslan
Copy link
Member Author

geyslan commented Oct 26, 2023

@rafaeldtinoco I got the other refactors in (were getting dust), but this breaks API.

@kakkoyun
Copy link
Contributor

@rafaeldtinoco @geyslan We would love to be able to use batch APIs downstream @parca-dev.
How could we be helpful to push this thorough?

cc @javierhonduco

@geyslan
Copy link
Member Author

geyslan commented Nov 23, 2023

Hey @kakkoyun and @javierhonduco. We would love to get your review on this PR.

@kakkoyun
Copy link
Contributor

Hey @kakkoyun and @javierhonduco. We would love to get your review on this PR.

Sure thing! 👍

@geyslan
Copy link
Member Author

geyslan commented Mar 19, 2024

Sorry for the delay on this. Going to merge as it is, any required changes are welcome.

@geyslan geyslan merged commit ef31f32 into aquasecurity:main Mar 19, 2024
14 checks passed
@geyslan geyslan deleted the map-batch branch May 16, 2024 20:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API Break bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ensure that batch APIs handle partial success conditions
3 participants