Skip Hyperswarm test in Deno to fix release pipeline#80
Merged
kayodebristol merged 2 commits intomainfrom Feb 16, 2026
Merged
Conversation
Co-authored-by: kayodebristol <3579196+kayodebristol@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix release pipeline error in Deno environment
Skip Hyperswarm test in Deno to fix release pipeline
Feb 14, 2026
4 tasks
Copilot AI
added a commit
that referenced
this pull request
Feb 16, 2026
- Add CI environment detection (CI=true) to all Hyperswarm test files - Skip network-dependent tests in CI while preserving local coverage - Update test documentation with CI isolation details - Add clear skip messages explaining why tests are skipped Affected files: - legacy/tests/unit/hyperswarm-sync.test.ts: CI detection + skip network test - tests/hyperswarm-integration.test.js: Complete skip in CI with message - legacy/tests/integration/mesh-network.test.ts: Enhanced skip logic with CI awareness - docs/TESTING.md: Added comprehensive CI test isolation section - README.md: Added note about CI test behavior Resolves: Hyperswarm test instability in CI (issue #79, PR #80) Benefits: Reliable automated releases, fast CI feedback, full local coverage Co-authored-by: kayodebristol <3579196+kayodebristol@users.noreply.github.com>
kayodebristol
added a commit
that referenced
this pull request
Feb 17, 2026
* Initial plan * feat: skip Hyperswarm tests in CI for reliable releases - Add CI environment detection (CI=true) to all Hyperswarm test files - Skip network-dependent tests in CI while preserving local coverage - Update test documentation with CI isolation details - Add clear skip messages explaining why tests are skipped Affected files: - legacy/tests/unit/hyperswarm-sync.test.ts: CI detection + skip network test - tests/hyperswarm-integration.test.js: Complete skip in CI with message - legacy/tests/integration/mesh-network.test.ts: Enhanced skip logic with CI awareness - docs/TESTING.md: Added comprehensive CI test isolation section - README.md: Added note about CI test behavior Resolves: Hyperswarm test instability in CI (issue #79, PR #80) Benefits: Reliable automated releases, fast CI feedback, full local coverage Co-authored-by: kayodebristol <3579196+kayodebristol@users.noreply.github.com> * docs: clarify test execution instructions per code review - Simplify Node.js test skip message (remove CI=false from instructions) - Clarify Deno test instructions to explain runtime limitations - Improve documentation about Deno native module incompatibility - Make test execution commands more user-friendly Addresses code review feedback on PR for issue #79 Co-authored-by: kayodebristol <3579196+kayodebristol@users.noreply.github.com> * docs: remove misleading CI=false references from instructions - Clarify that CI is unset by default in local environments - Remove confusing CI=false instructions (string "false" doesn't work as expected) - Emphasize that simply running tests locally is sufficient - Improve explanation of Deno native module limitations Final improvements addressing all code review feedback Co-authored-by: kayodebristol <3579196+kayodebristol@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: kayodebristol <3579196+kayodebristol@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Deno CI fails when running
hyperswarm-sync.test.tsbecause importing thehyperswarmpackage pulls inudx-native, a Node.js native module:Changes
ignore: trueon the "GunDB.enableSync - throws error in Deno environment" testTest Safety
Other
enableSync()tests remain enabled—they throw validation errors before importing hyperswarm:Both exit early without triggering the problematic import.
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.