8000 Failing test for #899: Inserting prepend multiple times overwrites instead of prepending by schneems · Pull Request #935 · heroku/libcnb.rs · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Failing test for #899: Inserting prepend multiple times overwrites instead of prepending #935

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

schneems
Copy link
Contributor
@schneems schneems commented Apr 22, 2025

8000

@edmorley
Copy link
Member

This is currently working as designed in libcnb.rs. So this isn't a bug, but a request to change the API/design.

See:
#899 (comment)

@schneems
Copy link
Contributor Author

I responded in that other thread, restating here: If we cannot iterate on this interface directly, we should deprecate it in favor of one with fewer footguns.

I opened up this PR #935 and then another PR with another failing test #936 and didn't notice that I made another mistake: forgetting to add a delimiter. I just fixed it in: 7a5ff48. There is an RFC to change the upstream default buildpacks/rfcs#326, however, I don't think we need to wait for it. I think we should prefer "correctness" of programmer intent and productivity over "correctness of spec" unless doing so would violate major expectations or cause clear "one way door" type pain.

@schneems schneems changed the title Failing test for #899 Failing test for #899: Inserting prepend multiple times overwrites instead of prepending May 13, 2025
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.

2 participants
0