Introduce opentelemetry in rewatch and setup new test infrastructure #9495
ci.yml
on: pull_request
Matrix: build-compiler
test-devcontainer
21m 20s
api-docs
0s
Matrix: test-installation-npm
Matrix: test-installation-pnpm
Matrix: test-integration-rewatch
publish
Annotations
5 errors
|
build-compiler (macos-15, 5.3.0, true, darwin-arm64, aarch64-apple-darwin)
Process completed with exit code 1.
|
|
tests/watch.test.mjs > watch > watches for file changes and rebuilds:
tests/rewatch_tests/helpers/process.mjs#L167
Error: Timeout waiting for pattern /Finished.*compilation/i.
Remaining buffer:
All output:
Cleaned 0/0
Parsed 3 source files
Compiled 3 modules
Finished initial compilation
❯ Timeout.check [as _onTimeout] helpers/process.mjs:167:19
|
|
build-compiler (windows-2025, 5.3.0, true, win32-x64, x86_64-pc-windows-gnu, .exe)
Process completed with exit code 1.
|
|
tests/watch.test.mjs > watch > watches for file changes and rebuilds:
tests/rewatch_tests/helpers/test-context.mjs#L457
Error: Snapshot `watch > watches for file changes and rebuilds 1` mismatched
- Expected
+ Received
[
- "rewatch.watch[working_dir=.]",
- " initialize_build",
+ "initialize_build",
- " packages.make",
+ " packages.make",
- " build.load_package_sources[package=@rewatch-test/app]",
+ " build.load_package_sources[package=@rewatch-test/app]",
- " build.load_package_sources[package=@rewatch-test/library]",
+ " build.load_package_sources[package=@rewatch-test/library]",
- " build.load_package_sources[package=rewatch-test-fixture]",
+ " build.load_package_sources[package=rewatch-test-fixture]",
- " packages.parse_packages",
+ " packages.parse_packages",
- " clean.cleanup_previous_build",
+ " clean.cleanup_previous_build",
- " incremental_build[module_count=3]",
+ "incremental_build[module_count=3]",
- " build.parse[dirty_modules=3]",
+ " build.parse[dirty_modules=3]",
- " build.compile",
+ " build.compile",
- " build.compile_wave[file_count=1]",
+ " build.compile_wave[file_count=1]",
- " build.compile_file[module=Library]",
+ " build.compile_file[module=Library]",
- " build.compile_wave[file_count=1]",
+ " build.compile_wave[file_count=1]",
- " build.compile_file[module=App]",
+ " build.compile_file[module=App]",
- " build.compile_wave[file_count=1]",
+ " build.compile_wave[file_count=1]",
- " build.compile_file[module=Root]",
+ " build.compile_file[module=Root]",
- " incremental_build[module_count=3]",
- " build.parse[dirty_modules=1]",
+ "build.parse[dirty_modules=1]",
- " build.compile",
+ "build.compile",
- " build.compile_wave[file_count=1]",
+ " build.compile_wave[file_count=1]",
- " build.compile_file[module=Library]",
+ " build.compile_file[module=Library]",
- " build.compile_wave[file_count=0]",
+ " build.compile_wave[file_count=0]",
- " build.compile_wave[file_count=0]",
+ " build.compile_wave[file_count=0]",
]
❯ runRewatchTest helpers/test-context.mjs:457:23
|
|
tests/format.test.mjs > format > does not rewrite already formatted files:
tests/rewatch_tests/helpers/test-context.mjs#L457
Error: Snapshot `format > does not rewrite already formatted files 1` mismatched
- Expected
+ Received
@@ -3,6 +3,9 @@
" format.format",
" packages.make",
" build.load_package_sources[package=@rewatch-test/app]",
" build.load_package_sources[package=@rewatch-test/library]",
" build.load_package_sources[package=rewatch-test-fixture]",
+ " format.write_file[file=packages/app/src/App.res]",
+ " format.write_file[file=packages/library/src/Library.res]",
+ " format.write_file[file=src/Root.res]",
]
❯ runRewatchTest helpers/test-context.mjs:457:23
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
api
|
190 KB |
sha256:8b039328de7afb163f11c9f2c8c360f7bad8c8ffd5f700770388829d06a51e1d
|
|
|
binaries-darwin-x64
|
12 MB |
sha256:500338a8f09efea05aef1e6d61be4c7905472e0340d1871fe0174eeb1a2204e3
|
|
|
binaries-linux-arm64
|
12.4 MB |
sha256:7685c7264bae0d6a55f6e5ffd9dd9dfd27e149f0b83b3738b2cfbb616622d700
|
|
|
binaries-linux-x64
|
11.5 MB |
sha256:54976f191d9a44178091128539289bc2591bb1bf7772546889d5cf675cc29242
|
|
|
lib-ocaml
|
5.49 MB |
sha256:84b10f891e60ad960a36dc3aec36356bf6fc9e0719d1a934b58c44ef63fcdd22
|
|