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

fix(pd): minifront asset directory subpath #4139

Merged
merged 1 commit into from
Mar 30, 2024

Conversation

jessepinho
Copy link
Contributor

Describe your changes

The previous .zip files had a subdirectory of the same name as the file itself. These updated files don't.

We should be creating zip files via a script — see penumbra-zone/web#857. This will avoid issues like this in the future.

Checklist before requesting a review

  • If this code contains consensus-breaking changes, I have added the "consensus-breaking" label. Otherwise, I declare my belief that there are not consensus-breaking changes, for the following reason:

    No code related to consensus

@jessepinho jessepinho marked this pull request as ready for review March 29, 2024 18:10
@jessepinho jessepinho requested a review from conorsch March 29, 2024 18:11
@conorsch
Copy link
Contributor

Thank you @jessepinho!

@conorsch
Copy link
Contributor

Refs #4132 (comment)

@conorsch conorsch self-assigned this Mar 29, 2024
Follow-up to #4132, in which we updated the minifront assets
but mistakenly with the wrong subdir nesting. This broke serving
minifront from pd's gRPC endpoint, but our tests didn't catch that,
so we only noticed when it hit preview.

Added a test to the pd integration suite as a sanity check.
Made sure to confirm that the test fails on current main, and passes
with the asset fix included in this commit.

Squashed and committed by @conorsch.
@conorsch conorsch force-pushed the jessepinho/frontend-zip-fix branch from 74ca6e3 to 837b6a3 Compare March 30, 2024 00:02
@conorsch conorsch changed the title Fix zip files fix(pd): minifront asset directory subpath Mar 30, 2024
@conorsch
Copy link
Contributor

Tacked on a test. LGTM!

@conorsch conorsch merged commit 490c5b6 into main Mar 30, 2024
7 checks passed
@conorsch conorsch deleted the jessepinho/frontend-zip-fix branch March 30, 2024 00:26
@conorsch conorsch mentioned this pull request May 21, 2024
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants