Skip to content

Conversation

@endersonmaia
Copy link
Contributor

No description provided.

@changeset-bot
Copy link

changeset-bot bot commented Jan 13, 2026

⚠️ No Changeset found

Latest commit: dc1707d

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions
Copy link
Contributor

Coverage Report

Status Category Percentage Covered / Total
🟢 Lines 90.69% (🎯 0%) 633 / 698
🔵 Statements 90.69% 633 / 698
🔵 Functions 93.85% 61 / 65
🔵 Branches 0% 0 / 0
📁 File Coverage (11 files)
File Lines Statements Functions Branches Uncovered Lines
apps/cli/src/builder/directory.ts 🟢 100% 🟢 100% 🟢 100% 🔴 0% -
apps/cli/src/builder/tar.ts 🟢 100% 🟢 100% 🟢 100% 🔴 0% -
apps/cli/src/config.ts 🟢 92.63% 🟢 92.63% 🟢 94.12% 🔴 0% 65-66, 217, 226, 235, 255, ...
apps/cli/src/exec/cartesi-machine.ts 🟡 75% 🟡 75% 🟡 66.67% 🔴 0% 10-12, 28-30
apps/cli/src/exec/genext2fs.ts 🟡 68.12% 🟡 68.12% 🟢 83.33% 🔴 0% 16-35, 87-88
apps/cli/src/exec/index.ts 🟢 100% 🟢 100% 🟢 100% 🔴 0% -
apps/cli/src/exec/mksquashfs.ts 🟢 91.23% 🟢 91.23% 🟢 100% 🔴 0% 68-72
apps/cli/src/exec/util.ts 🟢 94.44% 🟢 94.44% 🟢 100% 🔴 0% 47-48
apps/cli/src/template.ts 🟢 100% 🟢 100% 🟢 100% 🔴 0% -
apps/cli/tests/integration/config.ts 🟢 91.3% 🟢 91.3% 🟢 100% 🔴 0% 29-30
apps/cli/tests/integration/tmpdirTest.ts 🟢 100% 🟢 100% 🟢 100% 🔴 0% -

@tuler
Copy link
Member

tuler commented Jan 13, 2026

const archiveFromFetch = new Bun.Archive(await response.blob());

Hmm, I think this is less efficient than the stream we are doing. The await will download the entire file to memory before handing over to Bun.Archive

Also, it does not seem to have an option to extract files stripping components (no map function on ArchiveExtractOptions)

@endersonmaia endersonmaia force-pushed the feature/bun-test branch 3 times, most recently from 74996b3 to 8ab6578 Compare January 14, 2026 18:34
Base automatically changed from feature/bun-test to prerelease/v2-alpha January 14, 2026 18:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants