Repository navigation
fix(repo): report download failures in install.sh - #3041
Merged
Mateusz Wroński (kopernic-pl) merged 1 commit intoAug 27, 2026
Merged
Mateusz Wroński (kopernic-pl) merged 1 commit into
Mateusz Wroński (kopernic-pl) merged 1 commit into
Conversation
Mateusz Wroński (kopernic-pl)
force-pushed
the
bugfix/install-sh-error-reporting
branch
from
August 26, 2026 16:16
60cc6e5 to
7709994
Compare
Contributor
There was a problem hiding this comment.
Pull request overview
Fixes silent installer failures by routing curl connection errors through the existing error path.
Changes:
- Handles failed downloads without premature
set -etermination. - Corrects HTTP status validation and safely removes missing files.
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Mateusz Wroński (kopernic-pl)
approved these changes
Aug 26, 2026
Michał Rychel (micryc)
approved these changes
Aug 27, 2026
A connection-level failure (DNS, refused, TLS, timeout) left the script exiting with curl's status and no message, because set -eu terminates on the assignment before the status check runs. Bind the failure to 000 so the existing error branch is reached. The lower bound in that check never took effect either: a single & backgrounds the first test and discards its result, leaving the condition as -le 308 alone. It only becomes reachable once the curl failure stops exiting early, so both change together. rm in the error branch also failed when curl never created the output file, terminating the script before the message it was about to print. Use rm -f.
Mateusz Wroński (kopernic-pl)
force-pushed
the
bugfix/install-sh-error-reporting
branch
from
August 27, 2026 09:09
7709994 to
168a76e
Compare
Mateusz Wroński (kopernic-pl)
enabled auto-merge (squash)
August 27, 2026 09:10
Mateusz Wroński (kopernic-pl)
merged commit Aug 27, 2026
01789ae
into
stoplightio:develop
11 checks passed
Stoplighticus Roboticus (stoplight-bot)
pushed a commit
that referenced
this pull request
Oct 1, 2026
# [1.9.0](https://github.com/stoplightio/spectral/compare/@stoplight/spectral-formats-1.8.5...@stoplight/spectral-formats-1.9.0) (2026-10-01) ### Bug Fixes * add GOPATH bin to PATH for ghr command ([#3008](#3008)) ([71cdeb1](71cdeb1)) * **core:** make JSON Schemas at `packages/core/src/ruleset/meta` valid ([#2788](#2788)) ([e5143e7](e5143e7)) * docker image release ([#3004](#3004)) ([e929dea](e929dea)) * format md file ([#3027](#3027)) ([39d522a](39d522a)) * **formatters:** include all results in markdown output ([#3039](#3039)) ([667818e](667818e)) * **formatters:** include ruleset-based documentationUrl in github format ([#3063](#3063)) ([f30aa41](f30aa41)) * **repo:** docker image ci cd ([#3009](#3009)) ([3a5c40c](3a5c40c)) * **repo:** docker image release ([#3000](#3000)) ([6af0317](6af0317)) * **repo:** docker image release ([#3001](#3001)) ([0234765](0234765)) * **repo:** docker image release ([#3002](#3002)) ([fa50e6a](fa50e6a)) * **repo:** docker image release ([#3003](#3003)) ([0f5d42a](0f5d42a)) * **repo:** docker image release ([#3005](#3005)) ([fd21616](fd21616)) * **repo:** docker image release ([#3006](#3006)) ([c62dbb7](c62dbb7)) * **repo:** fix ruleset test ([#3016](#3016)) ([0d46443](0d46443)) * **repo:** prevent script injection in release-docker workflow ([#3024](#3024)) ([ee5455d](ee5455d)), closes [9-#12](https://github.com/9-/issues/12) * **repo:** report download failures in install.sh ([#3041](#3041)) ([01789ae](01789ae)) * **rulesets:** clarify operationId URL validation message ([#3035](#3035)) ([4fb7331](4fb7331)) * **rulesets:** duplicated-entry-in-enum - support null values in enums when checking for duplicates ([#2960](#2960)) ([eabe7f5](eabe7f5)) * **rulesets:** restore null guard in duplicated-entry-in-enum JSONPath ([#2963](#2963)) ([c6e46d0](c6e46d0)), closes [#2959](#2959) * split binary build into separate steps ([#3007](#3007)) ([30aa1e0](30aa1e0)) * **test-harness:** suppress Node.js deprecation warnings in Windows harness ([#3075](#3075)) ([661f41c](661f41c)) * **test-harness:** use RUNNER_TEMP instead of /tmp on Windows runner ([#3074](#3074)) ([4ec4148](4ec4148)) * trigger release action ([#3026](#3026)) ([f85f1a6](f85f1a6)) * updated yarn lock ([#2992](#2992)) ([076f0d2](076f0d2)) * updates cli readme ([#2998](#2998)) ([dbcb26e](dbcb26e)) ### Features * **asyncapi:** add 3.1 support and future minor fallback ([#3019](#3019)) ([23e2afa](23e2afa)) * **repo:** add scarf to docker image ([#3010](#3010)) ([cd88ea8](cd88ea8))
Stoplighticus Roboticus (stoplight-bot)
pushed a commit
that referenced
this pull request
Oct 1, 2026
## [1.5.2](https://github.com/stoplightio/spectral/compare/@stoplight/spectral-formatters-1.5.1...@stoplight/spectral-formatters-1.5.2) (2026-10-01) ### Bug Fixes * add GOPATH bin to PATH for ghr command ([#3008](#3008)) ([71cdeb1](71cdeb1)) * added scarf ([#2980](#2980)) ([9db5703](9db5703)) * added scarf to formats ([#2982](#2982)) ([d9f8066](d9f8066)) * added scarf to functions ([#2984](#2984)) ([b16373e](b16373e)) * added scarf to rulesets ([#2981](#2981)) ([31dc115](31dc115)) * **core:** make JSON Schemas at `packages/core/src/ruleset/meta` valid ([#2788](#2788)) ([e5143e7](e5143e7)) * **deps:** post lodash update changes for semantic release ([#2942](#2942)) ([bf530dd](bf530dd)) * docker image release ([#3004](#3004)) ([e929dea](e929dea)) * fixed version of core package ([#2989](#2989)) ([5f0e6c6](5f0e6c6)) * fixed version of formats package ([#2987](#2987)) ([b6952ec](b6952ec)) * fixed version of functions package ([#2986](#2986)) ([30a8c66](30a8c66)) * fixed version of rulesets package ([#2988](#2988)) ([cd4f0f6](cd4f0f6)) * format md file ([#3027](#3027)) ([39d522a](39d522a)) * **formatters:** include all results in markdown output ([#3039](#3039)) ([667818e](667818e)) * **formatters:** include ruleset-based documentationUrl in github format ([#3063](#3063)) ([f30aa41](f30aa41)) * remove `abort-controller` ([#2948](#2948)) ([682295a](682295a)) * **repo:** docker image ci cd ([#3009](#3009)) ([3a5c40c](3a5c40c)) * **repo:** docker image release ([#3000](#3000)) ([6af0317](6af0317)) * **repo:** docker image release ([#3001](#3001)) ([0234765](0234765)) * **repo:** docker image release ([#3002](#3002)) ([fa50e6a](fa50e6a)) * **repo:** docker image release ([#3003](#3003)) ([0f5d42a](0f5d42a)) * **repo:** docker image release ([#3005](#3005)) ([fd21616](fd21616)) * **repo:** docker image release ([#3006](#3006)) ([c62dbb7](c62dbb7)) * **repo:** fix ruleset test ([#3016](#3016)) ([0d46443](0d46443)) * **repo:** prevent script injection in release-docker workflow ([#3024](#3024)) ([ee5455d](ee5455d)), closes [9-#12](https://github.com/9-/issues/12) * **repo:** report download failures in install.sh ([#3041](#3041)) ([01789ae](01789ae)) * **ruleset-migrator:** handle non function objects returned by requireResolve ([#2957](#2957)) ([60c6c56](60c6c56)) * **rulesets:** clarify operationId URL validation message ([#3035](#3035)) ([4fb7331](4fb7331)) * **rulesets:** duplicated-entry-in-enum - support null values in enums when checking for duplicates ([#2960](#2960)) ([eabe7f5](eabe7f5)) * **rulesets:** exclude non-schema enum properties from duplicated-entry-in-enum rule ([#2934](#2934)) ([a7822fa](a7822fa)), closes [#2199](#2199) * **rulesets:** fix handling relative references in externalValue ([#2944](#2944)) ([6666ccc](6666ccc)), closes [#2819](#2819) * **rulesets:** restore null guard in duplicated-entry-in-enum JSONPath ([#2963](#2963)) ([c6e46d0](c6e46d0)), closes [#2959](#2959) * split binary build into separate steps ([#3007](#3007)) ([30aa1e0](30aa1e0)) * **test-harness:** suppress Node.js deprecation warnings in Windows harness ([#3075](#3075)) ([661f41c](661f41c)) * **test-harness:** use RUNNER_TEMP instead of /tmp on Windows runner ([#3074](#3074)) ([4ec4148](4ec4148)) * trigger release action ([#3026](#3026)) ([f85f1a6](f85f1a6)) * unpinned versions of spectral-core ([#2990](#2990)) ([966b665](966b665)) * updated yarn lock ([#2991](#2991)) ([c287898](c287898)) * updated yarn lock ([#2992](#2992)) ([076f0d2](076f0d2)) * updates cli readme ([#2998](#2998)) ([dbcb26e](dbcb26e)) ### Features * **asyncapi:** add 3.1 support and future minor fallback ([#3019](#3019)) ([23e2afa](23e2afa)) * **core:** add error line number for yaml and json ruleset validation ([#2945](#2945)) ([04c1db3](04c1db3)) * **repo:** add scarf to docker image ([#3010](#3010)) ([cd88ea8](cd88ea8))
Stoplighticus Roboticus (stoplight-bot)
pushed a commit
that referenced
this pull request
Oct 1, 2026
## [1.12.3](https://github.com/stoplightio/spectral/compare/@stoplight/spectral-ruleset-migrator-1.12.2...@stoplight/spectral-ruleset-migrator-1.12.3) (2026-10-01) ### Bug Fixes * **core:** make JSON Schemas at `packages/core/src/ruleset/meta` valid ([#2788](#2788)) ([e5143e7](e5143e7)) * format md file ([#3027](#3027)) ([39d522a](39d522a)) * **formatters:** include all results in markdown output ([#3039](#3039)) ([667818e](667818e)) * **formatters:** include ruleset-based documentationUrl in github format ([#3063](#3063)) ([f30aa41](f30aa41)) * **repo:** prevent script injection in release-docker workflow ([#3024](#3024)) ([ee5455d](ee5455d)), closes [9-#12](https://github.com/9-/issues/12) * **repo:** report download failures in install.sh ([#3041](#3041)) ([01789ae](01789ae)) * **rulesets:** clarify operationId URL validation message ([#3035](#3035)) ([4fb7331](4fb7331)) * **rulesets:** restore null guard in duplicated-entry-in-enum JSONPath ([#2963](#2963)) ([c6e46d0](c6e46d0)), closes [#2959](#2959) * **test-harness:** suppress Node.js deprecation warnings in Windows harness ([#3075](#3075)) ([661f41c](661f41c)) * **test-harness:** use RUNNER_TEMP instead of /tmp on Windows runner ([#3074](#3074)) ([4ec4148](4ec4148)) ### Features * **asyncapi:** add 3.1 support and future minor fallback ([#3019](#3019)) ([23e2afa](23e2afa))
Stoplighticus Roboticus (stoplight-bot)
pushed a commit
that referenced
this pull request
Oct 1, 2026
# [1.23.0](https://github.com/stoplightio/spectral/compare/@stoplight/spectral-rulesets-1.22.7...@stoplight/spectral-rulesets-1.23.0) (2026-10-01) ### Bug Fixes * **core:** make JSON Schemas at `packages/core/src/ruleset/meta` valid ([#2788](#2788)) ([e5143e7](e5143e7)) * format md file ([#3027](#3027)) ([39d522a](39d522a)) * **formatters:** include all results in markdown output ([#3039](#3039)) ([667818e](667818e)) * **formatters:** include ruleset-based documentationUrl in github format ([#3063](#3063)) ([f30aa41](f30aa41)) * **repo:** prevent script injection in release-docker workflow ([#3024](#3024)) ([ee5455d](ee5455d)), closes [9-#12](https://github.com/9-/issues/12) * **repo:** report download failures in install.sh ([#3041](#3041)) ([01789ae](01789ae)) * **rulesets:** clarify operationId URL validation message ([#3035](#3035)) ([4fb7331](4fb7331)) * **rulesets:** restore null guard in duplicated-entry-in-enum JSONPath ([#2963](#2963)) ([c6e46d0](c6e46d0)), closes [#2959](#2959) * **test-harness:** suppress Node.js deprecation warnings in Windows harness ([#3075](#3075)) ([661f41c](661f41c)) * **test-harness:** use RUNNER_TEMP instead of /tmp on Windows runner ([#3074](#3074)) ([4ec4148](4ec4148)) ### Features * **asyncapi:** add 3.1 support and future minor fallback ([#3019](#3019)) ([23e2afa](23e2afa))
Stoplighticus Roboticus (stoplight-bot)
pushed a commit
that referenced
this pull request
Oct 1, 2026
# [6.17.0](https://github.com/stoplightio/spectral/compare/@stoplight/spectral-cli-6.16.3...@stoplight/spectral-cli-6.17.0) (2026-10-01) ### Bug Fixes * **core:** make JSON Schemas at `packages/core/src/ruleset/meta` valid ([#2788](#2788)) ([e5143e7](e5143e7)) * **formatters:** include all results in markdown output ([#3039](#3039)) ([667818e](667818e)) * **formatters:** include ruleset-based documentationUrl in github format ([#3063](#3063)) ([f30aa41](f30aa41)) * **repo:** prevent script injection in release-docker workflow ([#3024](#3024)) ([ee5455d](ee5455d)), closes [9-#12](https://github.com/9-/issues/12) * **repo:** report download failures in install.sh ([#3041](#3041)) ([01789ae](01789ae)) * **rulesets:** clarify operationId URL validation message ([#3035](#3035)) ([4fb7331](4fb7331)) * **rulesets:** restore null guard in duplicated-entry-in-enum JSONPath ([#2963](#2963)) ([c6e46d0](c6e46d0)), closes [#2959](#2959) * **test-harness:** suppress Node.js deprecation warnings in Windows harness ([#3075](#3075)) ([661f41c](661f41c)) * **test-harness:** use RUNNER_TEMP instead of /tmp on Windows runner ([#3074](#3074)) ([4ec4148](4ec4148)) ### Features * **asyncapi:** add 3.1 support and future minor fallback ([#3019](#3019)) ([23e2afa](23e2afa)) * **repo:** minor release trigger ([#3079](#3079)) ([eabafec](eabafec))
Stoplighticus Roboticus (stoplight-bot)
pushed a commit
that referenced
this pull request
Oct 1, 2026
# [1.11.0](https://github.com/stoplightio/spectral/compare/@stoplight/spectral-functions-1.10.5...@stoplight/spectral-functions-1.11.0) (2026-10-01) ### Bug Fixes * add GOPATH bin to PATH for ghr command ([#3008](#3008)) ([71cdeb1](71cdeb1)) * **core:** make JSON Schemas at `packages/core/src/ruleset/meta` valid ([#2788](#2788)) ([e5143e7](e5143e7)) * docker image release ([#3004](#3004)) ([e929dea](e929dea)) * format md file ([#3027](#3027)) ([39d522a](39d522a)) * **formatters:** include all results in markdown output ([#3039](#3039)) ([667818e](667818e)) * **formatters:** include ruleset-based documentationUrl in github format ([#3063](#3063)) ([f30aa41](f30aa41)) * **repo:** docker image ci cd ([#3009](#3009)) ([3a5c40c](3a5c40c)) * **repo:** docker image release ([#3000](#3000)) ([6af0317](6af0317)) * **repo:** docker image release ([#3001](#3001)) ([0234765](0234765)) * **repo:** docker image release ([#3002](#3002)) ([fa50e6a](fa50e6a)) * **repo:** docker image release ([#3003](#3003)) ([0f5d42a](0f5d42a)) * **repo:** docker image release ([#3005](#3005)) ([fd21616](fd21616)) * **repo:** docker image release ([#3006](#3006)) ([c62dbb7](c62dbb7)) * **repo:** fix ruleset test ([#3016](#3016)) ([0d46443](0d46443)) * **repo:** prevent script injection in release-docker workflow ([#3024](#3024)) ([ee5455d](ee5455d)), closes [9-#12](https://github.com/9-/issues/12) * **repo:** report download failures in install.sh ([#3041](#3041)) ([01789ae](01789ae)) * **rulesets:** clarify operationId URL validation message ([#3035](#3035)) ([4fb7331](4fb7331)) * **rulesets:** duplicated-entry-in-enum - support null values in enums when checking for duplicates ([#2960](#2960)) ([eabe7f5](eabe7f5)) * **rulesets:** restore null guard in duplicated-entry-in-enum JSONPath ([#2963](#2963)) ([c6e46d0](c6e46d0)), closes [#2959](#2959) * split binary build into separate steps ([#3007](#3007)) ([30aa1e0](30aa1e0)) * **test-harness:** suppress Node.js deprecation warnings in Windows harness ([#3075](#3075)) ([661f41c](661f41c)) * **test-harness:** use RUNNER_TEMP instead of /tmp on Windows runner ([#3074](#3074)) ([4ec4148](4ec4148)) * trigger release action ([#3026](#3026)) ([f85f1a6](f85f1a6)) * updated yarn lock ([#2992](#2992)) ([076f0d2](076f0d2)) * updates cli readme ([#2998](#2998)) ([dbcb26e](dbcb26e)) ### Features * **asyncapi:** add 3.1 support and future minor fallback ([#3019](#3019)) ([23e2afa](23e2afa)) * **repo:** add scarf to docker image ([#3010](#3010)) ([cd88ea8](cd88ea8)) * **repo:** minor release trigger ([#3079](#3079)) ([eabafec](eabafec))
Stoplighticus Roboticus (stoplight-bot)
pushed a commit
that referenced
this pull request
Oct 1, 2026
# [1.8.0](https://github.com/stoplightio/spectral/compare/@stoplight/spectral-ruleset-bundler-1.7.0...@stoplight/spectral-ruleset-bundler-1.8.0) (2026-10-01) ### Bug Fixes * add GOPATH bin to PATH for ghr command ([#3008](#3008)) ([71cdeb1](71cdeb1)) * added scarf ([#2980](#2980)) ([9db5703](9db5703)) * added scarf to formats ([#2982](#2982)) ([d9f8066](d9f8066)) * added scarf to functions ([#2984](#2984)) ([b16373e](b16373e)) * added scarf to rulesets ([#2981](#2981)) ([31dc115](31dc115)) * **core:** make JSON Schemas at `packages/core/src/ruleset/meta` valid ([#2788](#2788)) ([e5143e7](e5143e7)) * **deps:** post lodash update changes for semantic release ([#2942](#2942)) ([bf530dd](bf530dd)) * docker image release ([#3004](#3004)) ([e929dea](e929dea)) * fixed version of core package ([#2989](#2989)) ([5f0e6c6](5f0e6c6)) * fixed version of formats package ([#2987](#2987)) ([b6952ec](b6952ec)) * fixed version of functions package ([#2986](#2986)) ([30a8c66](30a8c66)) * fixed version of rulesets package ([#2988](#2988)) ([cd4f0f6](cd4f0f6)) * format md file ([#3027](#3027)) ([39d522a](39d522a)) * **formatters:** include all results in markdown output ([#3039](#3039)) ([667818e](667818e)) * **formatters:** include ruleset-based documentationUrl in github format ([#3063](#3063)) ([f30aa41](f30aa41)) * remove `abort-controller` ([#2948](#2948)) ([682295a](682295a)) * **repo:** docker image ci cd ([#3009](#3009)) ([3a5c40c](3a5c40c)) * **repo:** docker image release ([#3000](#3000)) ([6af0317](6af0317)) * **repo:** docker image release ([#3001](#3001)) ([0234765](0234765)) * **repo:** docker image release ([#3002](#3002)) ([fa50e6a](fa50e6a)) * **repo:** docker image release ([#3003](#3003)) ([0f5d42a](0f5d42a)) * **repo:** docker image release ([#3005](#3005)) ([fd21616](fd21616)) * **repo:** docker image release ([#3006](#3006)) ([c62dbb7](c62dbb7)) * **repo:** fix ruleset test ([#3016](#3016)) ([0d46443](0d46443)) * **repo:** prevent script injection in release-docker workflow ([#3024](#3024)) ([ee5455d](ee5455d)), closes [9-#12](https://github.com/9-/issues/12) * **repo:** report download failures in install.sh ([#3041](#3041)) ([01789ae](01789ae)) * **ruleset-migrator:** handle non function objects returned by requireResolve ([#2957](#2957)) ([60c6c56](60c6c56)) * **rulesets:** clarify operationId URL validation message ([#3035](#3035)) ([4fb7331](4fb7331)) * **rulesets:** duplicated-entry-in-enum - support null values in enums when checking for duplicates ([#2960](#2960)) ([eabe7f5](eabe7f5)) * **rulesets:** exclude non-schema enum properties from duplicated-entry-in-enum rule ([#2934](#2934)) ([a7822fa](a7822fa)), closes [#2199](#2199) * **rulesets:** fix handling relative references in externalValue ([#2944](#2944)) ([6666ccc](6666ccc)), closes [#2819](#2819) * **rulesets:** restore null guard in duplicated-entry-in-enum JSONPath ([#2963](#2963)) ([c6e46d0](c6e46d0)), closes [#2959](#2959) * split binary build into separate steps ([#3007](#3007)) ([30aa1e0](30aa1e0)) * **test-harness:** suppress Node.js deprecation warnings in Windows harness ([#3075](#3075)) ([661f41c](661f41c)) * **test-harness:** use RUNNER_TEMP instead of /tmp on Windows runner ([#3074](#3074)) ([4ec4148](4ec4148)) * trigger release action ([#3026](#3026)) ([f85f1a6](f85f1a6)) * unpinned versions of spectral-core ([#2990](#2990)) ([966b665](966b665)) * updated yarn lock ([#2991](#2991)) ([c287898](c287898)) * updated yarn lock ([#2992](#2992)) ([076f0d2](076f0d2)) * updates cli readme ([#2998](#2998)) ([dbcb26e](dbcb26e)) ### Features * **asyncapi:** add 3.1 support and future minor fallback ([#3019](#3019)) ([23e2afa](23e2afa)) * **core:** add error line number for yaml and json ruleset validation ([#2945](#2945)) ([04c1db3](04c1db3)) * **repo:** add scarf to docker image ([#3010](#3010)) ([cd88ea8](cd88ea8)) * **repo:** minor release trigger ([#3079](#3079)) ([eabafec](eabafec))
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.
Fixes #3040.
Checklist
Does this PR introduce a breaking change?
Additional context
Three lines in the download block combined to swallow connection-level failures, so
curl -L .../install.sh | shexited non-zero with no explanation at all. Reasoning is in #3040.|| STATUS=000stopsset -eufrom terminating on the assignment, so a curl failure now falls through to the error branch that already exists instead of exiting with curl's own status.&→&&makes the lower bound actually apply. With&the first test is backgrounded and its result discarded, leaving the condition as-le 308alone — which would accept000as success once the line above stops exiting early. The two have to change together.rm -flets the error branch finish when curl never created the output file; previouslyrmfailed there andset -ekilled the script before the message on the next line.The two quoting changes sit on lines already being touched and clear the remaining shellcheck notes.
Verification
exit 6, no outputError requesting. Download binary from <URL>,exit 1Commands and output
shellcheckon this file goes from 5 findings to 0, including the one it classifies as an error:No tests are included — there's no harness for the shell installer, and reproducing the failure needs a network-isolated container. Happy to add coverage if you'd like it.