Skip to content

Commit 2632738

Browse files
chore: add internet ckecker before telemetry (#2184)
* Revert "chore: fix-otel-tracer-hanging (#2181)" This reverts commit 55cb82f. * chore: add internet checker before telemetry * fix: latest changes * fix: remove comments * fix: fix unit tests and 1 case * fix: move default fetch timeout constant to contants * fix: add undici dep * fix: fix order in package.json * fix: change function name
1 parent d06ad15 commit 2632738

20 files changed

+49
-482
lines changed

CONTRIBUTING.md

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,6 @@ The application maintains the following exit codes.
198198
| 0 | Success |
199199
| 1 | Command execution error |
200200
| 2 | Config resolution failure |
201-
| 3 | Telemetry failure |
202201

203202
## Tests
204203

@@ -262,19 +261,6 @@ npm i -g redocly-cli.tgz
262261

263262
For other commands you'd have to do something similar.
264263

265-
### Manual testing
266-
267-
For manual testing in Kubernetes environments, we provide a preconfigured testing setup in the [`./k8s-testing`](./k8s-testing/) directory. This environment is specifically designed to test Redocly CLI performance in offline scenarios.
268-
269-
The testing environment includes:
270-
271-
- Kubernetes manifests for isolated testing
272-
- network policies to simulate offline/online conditions
273-
- automated test scripts for performance benchmarking
274-
- detailed documentation and troubleshooting guides
275-
276-
See the [k8s-testing README](./k8s-testing/README.md) for complete setup and usage instructions.
277-
278264
### Performance benchmark
279265

280266
To run the performance benchmark locally, you should have `hyperfine` (v1.16.1+) installed on your machine.

k8s-test-env/README.md

Lines changed: 0 additions & 149 deletions
This file was deleted.

k8s-test-env/configmap.yaml

Lines changed: 0 additions & 7 deletions
This file was deleted.

k8s-test-env/deploy.sh

Lines changed: 0 additions & 35 deletions
This file was deleted.

k8s-test-env/namespace.yaml

Lines changed: 0 additions & 6 deletions
This file was deleted.

k8s-test-env/network-policy-allow.yaml

Lines changed: 0 additions & 12 deletions
This file was deleted.

k8s-test-env/network-policy.yaml

Lines changed: 0 additions & 15 deletions
This file was deleted.

k8s-test-env/test-pod.yaml

Lines changed: 0 additions & 58 deletions
This file was deleted.

0 commit comments

Comments
 (0)