Skip to content

Introduce opentelemetry in rewatch and setup new test infrastructure #9508

Introduce opentelemetry in rewatch and setup new test infrastructure

Introduce opentelemetry in rewatch and setup new test infrastructure #9508

Triggered via pull request February 6, 2026 09:29
Status Cancelled
Total duration 17m 32s
Artifacts 7

ci.yml

on: pull_request
Matrix: build-compiler
test-devcontainer
17m 5s
test-devcontainer
Matrix: test-installation-npm
Matrix: test-installation-pnpm
Matrix: test-integration-rewatch
publish
0s
publish
Fit to window
Zoom out
Zoom in

Annotations

29 errors and 1 notice
test-integration-rewatch (ubuntu-24.04)
Process completed with exit code 1.
tests/watch.test.mjs > watch > watches for file changes and rebuilds: tests/rewatch_tests/helpers/process.mjs#L181
Error: Timeout waiting for pattern /Finished initial compilation/i. Remaining stdout buffer: All stdout: Stderr (-vv): thread 'main' (2525) panicked at src/helpers.rs:372:10: Could not get bsc path, did you set environment variable RESCRIPT_BSC_EXE ?: Os { code: 2, kind: NotFound, message: "No such file or directory" } stack backtrace: note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. ❯ Timeout._onTimeout helpers/process.mjs:181:17
tests/format.test.mjs > format > does not rewrite already formatted files: tests/rewatch_tests/helpers/test-context.mjs#L426
Error: Snapshot `format > does not rewrite already formatted files 1` mismatched - Expected + Received [ "rewatch.format", " 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]", ] ❯ runRewatchTest helpers/test-context.mjs:426:23
tests/compiler-args.test.mjs > compiler-args > returns compiler arguments for a source file: tests/rewatch_tests/helpers/test-context.mjs#L426
Error: Snapshot `compiler-args > returns compiler arguments for a source file 1` mismatched - Expected + Received [ "rewatch.build[working_dir=.]", " initialize_build", - " 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]", - " packages.parse_packages", - " clean.cleanup_previous_build", - " incremental_build[module_count=3]", - " build.parse[dirty_modules=3]", - " build.compile", - " build.compile_wave[file_count=1]", - " build.compile_file[module=Library]", - " build.compile_wave[file_count=1]", - " build.compile_file[module=App]", - " build.compile_wave[file_count=1]", - " build.compile_file[module=Root]", "rewatch.compiler_args[file_path=packages/library/src/Library.res]", ] ❯ runRewatchTest helpers/test-context.mjs:426:23
tests/clean.test.mjs > clean > cleans build artifacts: tests/rewatch_tests/helpers/test-context.mjs#L426
Error: Snapshot `clean > cleans build artifacts 1` mismatched - Expected + Received [ "rewatch.build[working_dir=.]", " initialize_build", - " 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]", - " packages.parse_packages", - " clean.cleanup_previous_build", - " incremental_build[module_count=3]", - " build.parse[dirty_modules=3]", - " build.compile", - " build.compile_wave[file_count=1]", - " build.compile_file[module=Library]", - " build.compile_wave[file_count=1]", - " build.compile_file[module=App]", - " build.compile_wave[file_count=1]", - " build.compile_file[module=Root]", - "rewatch.clean[working_dir=.]", - " clean.clean", - " 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]", - " packages.parse_packages", + "rewatch.clean[working_dir=.]", + " clean.clean", ] ❯ runRewatchTest helpers/test-context.mjs:426:23
tests/build.test.mjs > build > builds all packages from root: tests/rewatch_tests/helpers/test-context.mjs#L426
Error: Snapshot `build > builds all packages from root 1` mismatched - Expected + Received [ "rewatch.build[working_dir=.]", " initialize_build", - " 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]", - " packages.parse_packages", - " clean.cleanup_previous_build", - " incremental_build[module_count=3]", - " build.parse[dirty_modules=3]", - " build.compile", - " build.compile_wave[file_count=1]", - " build.compile_file[module=Library]", - " build.compile_wave[file_count=1]", - " build.compile_file[module=App]", - " build.compile_wave[file_count=1]", - " build.compile_file[module=Root]", ] ❯ runRewatchTest helpers/test-context.mjs:426:23
test-integration-rewatch (ubuntu-24.04-arm)
Process completed with exit code 1.
tests/watch.test.mjs > watch > watches for file changes and rebuilds: tests/rewatch_tests/helpers/process.mjs#L181
Error: Timeout waiting for pattern /Finished initial compilation/i. Remaining stdout buffer: All stdout: Stderr (-vv): thread 'main' (2533) panicked at src/helpers.rs:372:10: Could not get bsc path, did you set environment variable RESCRIPT_BSC_EXE ?: Os { code: 2, kind: NotFound, message: "No such file or directory" } stack backtrace: note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. ❯ Timeout._onTimeout helpers/process.mjs:181:17
tests/format.test.mjs > format > does not rewrite already formatted files: tests/rewatch_tests/helpers/test-context.mjs#L426
Error: Snapshot `format > does not rewrite already formatted files 1` mismatched - Expected + Received [ "rewatch.format", " 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]", ] ❯ runRewatchTest helpers/test-context.mjs:426:23
tests/compiler-args.test.mjs > compiler-args > returns compiler arguments for a source file: tests/rewatch_tests/helpers/test-context.mjs#L426
Error: Snapshot `compiler-args > returns compiler arguments for a source file 1` mismatched - Expected + Received [ "rewatch.build[working_dir=.]", " initialize_build", - " 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]", - " packages.parse_packages", - " clean.cleanup_previous_build", - " incremental_build[module_count=3]", - " build.parse[dirty_modules=3]", - " build.compile", - " build.compile_wave[file_count=1]", - " build.compile_file[module=Library]", - " build.compile_wave[file_count=1]", - " build.compile_file[module=App]", - " build.compile_wave[file_count=1]", - " build.compile_file[module=Root]", "rewatch.compiler_args[file_path=packages/library/src/Library.res]", ] ❯ runRewatchTest helpers/test-context.mjs:426:23
tests/clean.test.mjs > clean > cleans build artifacts: tests/rewatch_tests/helpers/test-context.mjs#L426
Error: Snapshot `clean > cleans build artifacts 1` mismatched - Expected + Received [ "rewatch.build[working_dir=.]", " initialize_build", - " 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]", - " packages.parse_packages", - " clean.cleanup_previous_build", - " incremental_build[module_count=3]", - " build.parse[dirty_modules=3]", - " build.compile", - " build.compile_wave[file_count=1]", - " build.compile_file[module=Library]", - " build.compile_wave[file_count=1]", - " build.compile_file[module=App]", - " build.compile_wave[file_count=1]", - " build.compile_file[module=Root]", - "rewatch.clean[working_dir=.]", - " clean.clean", - " 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]", - " packages.parse_packages", + "rewatch.clean[working_dir=.]", + " clean.clean", ] ❯ runRewatchTest helpers/test-context.mjs:426:23
tests/build.test.mjs > build > builds all packages from root: tests/rewatch_tests/helpers/test-context.mjs#L426
Error: Snapshot `build > builds all packages from root 1` mismatched - Expected + Received [ "rewatch.build[working_dir=.]", " initialize_build", - " 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]", - " packages.parse_packages", - " clean.cleanup_previous_build", - " incremental_build[module_count=3]", - " build.parse[dirty_modules=3]", - " build.compile", - " build.compile_wave[file_count=1]", - " build.compile_file[module=Library]", - " build.compile_wave[file_count=1]", - " build.compile_file[module=App]", - " build.compile_wave[file_count=1]", - " build.compile_file[module=Root]", ] ❯ runRewatchTest helpers/test-context.mjs:426:23
test-integration-rewatch (macos-15)
Process completed with exit code 1.
tests/watch.test.mjs > watch > watches for file changes and rebuilds: tests/rewatch_tests/helpers/process.mjs#L181
Error: Timeout waiting for pattern /Finished initial compilation/i. Remaining stdout buffer: All stdout: Stderr (-vv): thread 'main' (69074) panicked at src/helpers.rs:372:10: Could not get bsc path, did you set environment variable RESCRIPT_BSC_EXE ?: Os { code: 2, kind: NotFound, message: "No such file or directory" } stack backtrace: note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. ❯ Timeout._onTimeout helpers/process.mjs:181:17
tests/format.test.mjs > format > does not rewrite already formatted files: tests/rewatch_tests/helpers/test-context.mjs#L426
Error: Snapshot `format > does not rewrite already formatted files 1` mismatched - Expected + Received [ "rewatch.format", " 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]", ] ❯ runRewatchTest helpers/test-context.mjs:426:23
tests/compiler-args.test.mjs > compiler-args > returns compiler arguments for a source file: tests/rewatch_tests/helpers/test-context.mjs#L426
Error: Snapshot `compiler-args > returns compiler arguments for a source file 1` mismatched - Expected + Received [ "rewatch.build[working_dir=.]", " initialize_build", - " 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]", - " packages.parse_packages", - " clean.cleanup_previous_build", - " incremental_build[module_count=3]", - " build.parse[dirty_modules=3]", - " build.compile", - " build.compile_wave[file_count=1]", - " build.compile_file[module=Library]", - " build.compile_wave[file_count=1]", - " build.compile_file[module=App]", - " build.compile_wave[file_count=1]", - " build.compile_file[module=Root]", "rewatch.compiler_args[file_path=packages/library/src/Library.res]", ] ❯ runRewatchTest helpers/test-context.mjs:426:23
tests/clean.test.mjs > clean > cleans build artifacts: tests/rewatch_tests/helpers/test-context.mjs#L426
Error: Snapshot `clean > cleans build artifacts 1` mismatched - Expected + Received [ "rewatch.build[working_dir=.]", " initialize_build", - " 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]", - " packages.parse_packages", - " clean.cleanup_previous_build", - " incremental_build[module_count=3]", - " build.parse[dirty_modules=3]", - " build.compile", - " build.compile_wave[file_count=1]", - " build.compile_file[module=Library]", - " build.compile_wave[file_count=1]", - " build.compile_file[module=App]", - " build.compile_wave[file_count=1]", - " build.compile_file[module=Root]", - "rewatch.clean[working_dir=.]", - " clean.clean", - " 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]", - " packages.parse_packages", + "rewatch.clean[working_dir=.]", + " clean.clean", ] ❯ runRewatchTest helpers/test-context.mjs:426:23
tests/build.test.mjs > build > builds all packages from root: tests/rewatch_tests/helpers/test-context.mjs#L426
Error: Snapshot `build > builds all packages from root 1` mismatched - Expected + Received [ "rewatch.build[working_dir=.]", " initialize_build", - " 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]", - " packages.parse_packages", - " clean.cleanup_previous_build", - " incremental_build[module_count=3]", - " build.parse[dirty_modules=3]", - " build.compile", - " build.compile_wave[file_count=1]", - " build.compile_file[module=Library]", - " build.compile_wave[file_count=1]", - " build.compile_file[module=App]", - " build.compile_wave[file_count=1]", - " build.compile_file[module=Root]", ] ❯ runRewatchTest helpers/test-context.mjs:426:23
test-integration-rewatch (macos-15-intel)
Process completed with exit code 1.
tests/watch.test.mjs > watch > watches for file changes and rebuilds: tests/rewatch_tests/helpers/process.mjs#L181
Error: Timeout waiting for pattern /Finished initial compilation/i. Remaining stdout buffer: All stdout: Stderr (-vv): thread 'main' (38868) panicked at src/helpers.rs:372:10: Could not get bsc path, did you set environment variable RESCRIPT_BSC_EXE ?: Os { code: 2, kind: NotFound, message: "No such file or directory" } stack backtrace: note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. ❯ Timeout._onTimeout helpers/process.mjs:181:17
tests/format.test.mjs > format > does not rewrite already formatted files: tests/rewatch_tests/helpers/test-context.mjs#L426
Error: Snapshot `format > does not rewrite already formatted files 1` mismatched - Expected + Received [ "rewatch.format", " 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]", ] ❯ runRewatchTest helpers/test-context.mjs:426:23
tests/compiler-args.test.mjs > compiler-args > returns compiler arguments for a source file: tests/rewatch_tests/helpers/test-context.mjs#L426
Error: Snapshot `compiler-args > returns compiler arguments for a source file 1` mismatched - Expected + Received [ "rewatch.build[working_dir=.]", " initialize_build", - " 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]", - " packages.parse_packages", - " clean.cleanup_previous_build", - " incremental_build[module_count=3]", - " build.parse[dirty_modules=3]", - " build.compile", - " build.compile_wave[file_count=1]", - " build.compile_file[module=Library]", - " build.compile_wave[file_count=1]", - " build.compile_file[module=App]", - " build.compile_wave[file_count=1]", - " build.compile_file[module=Root]", "rewatch.compiler_args[file_path=packages/library/src/Library.res]", ] ❯ runRewatchTest helpers/test-context.mjs:426:23
tests/clean.test.mjs > clean > cleans build artifacts: tests/rewatch_tests/helpers/test-context.mjs#L426
Error: Snapshot `clean > cleans build artifacts 1` mismatched - Expected + Received [ "rewatch.build[working_dir=.]", " initialize_build", - " 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]", - " packages.parse_packages", - " clean.cleanup_previous_build", - " incremental_build[module_count=3]", - " build.parse[dirty_modules=3]", - " build.compile", - " build.compile_wave[file_count=1]", - " build.compile_file[module=Library]", - " build.compile_wave[file_count=1]", - " build.compile_file[module=App]", - " build.compile_wave[file_count=1]", - " build.compile_file[module=Root]", - "rewatch.clean[working_dir=.]", - " clean.clean", - " 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]", - " packages.parse_packages", + "rewatch.clean[working_dir=.]", + " clean.clean", ] ❯ runRewatchTest helpers/test-context.mjs:426:23
tests/build.test.mjs > build > builds all packages from root: tests/rewatch_tests/helpers/test-context.mjs#L426
Error: Snapshot `build > builds all packages from root 1` mismatched - Expected + Received [ "rewatch.build[working_dir=.]", " initialize_build", - " 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]", - " packages.parse_packages", - " clean.cleanup_previous_build", - " incremental_build[module_count=3]", - " build.parse[dirty_modules=3]", - " build.compile", - " build.compile_wave[file_count=1]", - " build.compile_file[module=Library]", - " build.compile_wave[file_count=1]", - " build.compile_file[module=App]", - " build.compile_wave[file_count=1]", - " build.compile_file[module=Root]", ] ❯ runRewatchTest helpers/test-context.mjs:426:23
test-integration-rewatch (windows-2025)
Process completed with exit code 1.
tests/watch.test.mjs > watch > watches for file changes and rebuilds: tests/rewatch_tests/tests/watch.test.mjs#L5
Error: Test timed out in 45000ms. If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout". ❯ tests/watch.test.mjs:5:5
test-devcontainer
The run was canceled by @nojaf.
test-devcontainer
The operation was canceled.
CI
The run was canceled by @nojaf.
pkg-pr-new
{ "workflowData": { "owner": "rescript-lang", "repo": "rescript", "sha": "588a3989cf6f1442d1933feb96b14cdc4fe66c20", "ref": "8241" }, "key": "uKxkRAJ9um", "runId": 21745606969, "webhookDebug": { "action": "requested", "head_branch": "migrate-rewatch-tests", "head_repository_full_name": "nojaf/rescript", "full_name": "rescript-lang/rescript", "isPullRequest": true, "prNumber": 8241, "prNumberType": "number", "isNewPullRequest": true, "isOldPullRequest": false, "prKey": "nojaf/rescript:migrate-rewatch-tests", "oldPrDataHash": "6BjHp30iG7", "lookupKey": "nojaf/rescript:migrate-rewatch-tests", "data": { "owner": "rescript-lang", "repo": "rescript", "sha": "588a3989cf6f1442d1933feb96b14cdc4fe66c20", "ref": "8241" } } }

Artifacts

Produced during runtime
Name Size Digest
api
190 KB
sha256:2a2c4f2f92da1c88ca7d731c6933ab4a89e3eac0700f5e510a44f0c1b2f52ad1
binaries-darwin-arm64
13.4 MB
sha256:d7b8912d50e79e69f917601f5e236d8b229921e3917d18699e9c6dabdcd3d664
binaries-darwin-x64
12 MB
sha256:becf624362dc849efaf705cdd48a2a46dbd526866ee704a0922125da7857fdf4
binaries-linux-arm64
12.4 MB
sha256:657ed765c2aba00335173273b5d1c19930537abbff9e554a180b61f7ee01c03a
binaries-linux-x64
11.5 MB
sha256:4369710f9a213e2afe1975656dfbb34f7809574347aacb428377617f6a9b2dd9
binaries-win32-x64
17.4 MB
sha256:08aac2029f4283acac06eb0321ee220b0743a100700e0c5852c8b4e8436faee3
lib-ocaml
5.49 MB
sha256:7b2655161fcc30d04dbda95cb691fba50aa3f9b94fcd4d44fcc77eeb2aff474d