Skip to content

feat(support): add template info to support bundle #12451

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

Merged
merged 2 commits into from
Mar 7, 2024

Conversation

johnstcn
Copy link
Member

@johnstcn johnstcn commented Mar 7, 2024

@Emyrk raised that this would potentially be helpful for debugging certain types of workspace-related issues.

NOTE: there is currently an issue with how we generate ZIP files from TAR files. Fixing in a separate PR.

@johnstcn johnstcn self-assigned this Mar 7, 2024
@johnstcn johnstcn changed the base branch from main to cj/dbfake-fileid March 7, 2024 12:34
Base automatically changed from cj/dbfake-fileid to main March 7, 2024 12:36
@johnstcn johnstcn force-pushed the cj/support-incl-template branch 2 times, most recently from 71fea47 to 7c6be17 Compare March 7, 2024 13:27
@johnstcn johnstcn force-pushed the cj/support-incl-template branch from 7c6be17 to 2d495c2 Compare March 7, 2024 13:59
@johnstcn johnstcn marked this pull request as ready for review March 7, 2024 14:04
@johnstcn johnstcn requested review from mafredri, mtojek and Emyrk March 7, 2024 14:04
Comment on lines +148 to +149
zipBytes[2] = 0o5
zipBytes[3] = 0o6
Copy link
Member Author

@johnstcn johnstcn Mar 7, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

note: the formatter made these octal of its own volition; likely due to the leading 0.

@@ -114,7 +114,6 @@ func assertBundleContents(t *testing.T, path string) {
require.NoError(t, err, "open zip file")
defer r.Close()
for _, f := range r.File {
require.NotZero(t, f.UncompressedSize64, "file %q should not be empty", f.Name)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

note: removing this as it's redundant with other checks

Copy link
Member

@mtojek mtojek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@johnstcn johnstcn merged commit 17caf58 into main Mar 7, 2024
@johnstcn johnstcn deleted the cj/support-incl-template branch March 7, 2024 14:43
@github-actions github-actions bot locked and limited conversation to collaborators Mar 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants