Repository activity
40458 results across all weeks
Skip chown tests if opam sandbox blocks them
Fixes:
Thomas Leonard (@talex5)Use Read_source_buffer optimisation in Flow.Pi.simple_copy
Before, we always allocated a buffer, read from the source into the buffer, and then wrote it to the destination. But if the source supports Read_source_buffer then we can copy from the source directly, which is more efficient.
Thomas Leonard (@talex5)eio_linux: domains from Domain_manager have no io_uring fallback, so ENOMEM (RLIMIT_MEMLOCK) kills the program
Eio_main.run falls back to eio_posix when the main domain can't create an io_uring (ENOMEM since #852), but domains started with Eio.Domain_manager / Eio.Executor_pool get no fallback: Eio_linux.run builds the domain manager with run_event_loop ?fallback:None config, so with_sched turns ENOMEM into failwith "io_uring is not available (ENOMEM)" and the whole …
劉昱廷 Yu-Ting Liu (@GongYuanCaiJi)eio_posix: a signal that arrives just before poll is handled only at the next timer
With eio_posix on macOS, a signal that arrives after the runtime's last check for pending signals and before poll(2) starts is recorded but does not wake the scheduler. Its OCaml handler runs only when something else ends the poll: the next timer, or never. This is ocaml/ocaml#13189 as eio_posix meets it; #732 is the eio_linux side.
Thomas Gazagnaire (@samoht)eio_posix: retry the wake-up pipe on EINTR
The posix scheduler reads and writes its wake-up pipe with plain Unix.read and Unix.single_write. The poll call handles EINTR; these do not, so a signal that interrupts one of them lets the Unix_error escape.
Jeong-Sik Yun (@jeong-sik)eio_posix: use MSG_DONTWAIT for sockets
Always use recvmsg and sendmsg on sockets, and always set the MSG_DONTWAIT flag when doing so. This is useful for sockets shared with another process, where the other process could change the blocking behaviour of the socket while we're using it.
Thomas Leonard (@talex5)eio_posix: wake the scheduler on SIGCHLD
A SIGCHLD arriving just before poll(2) blocks was only handled at the next timer, so a child's exit could go unnoticed (#946). The SIGCHLD handler now also writes to a pipe every eio_posix scheduler polls.
Thomas Gazagnaire (@samoht)windows: add symlink tests
This is to test the Windows CI. I'll update this PR with symlink/junction Windows improvements shortly.
Anil Madhavapeddy (@avsm)Non linearizability in Size: `Htbl.length` and `Skiplist.length` can return an impossible size.
In the Htbl and Skiplist modules, the function length is not linearizable: it can return an incorrect size.
Alexandre Moine (@nobrakal)Non-linearizability in Bounded_queue: `is_full` can return `false` on a full queue
In the Bounded_queue module, the function is_full is not linearizable: it can return false on a full queue.
Alexandre Moine (@nobrakal)3.22.0 regression: error about non-existent excluded module from `(select)` in a different stanza
Expected Behavior
Simmo Saan (@sim642)3.25.0~alpha0 no longer exports OCAMLPATH to actions
3.25.0~alpha0 no longer exports OCAMLPATH to actions, breaking opam install -t for packages whose tests find themselves through findlib.
Mark Elvers (@mtelvers)A build forwarded to a watch-mode dune hangs forever when FSEvents does not report the sync file
A dune build forwarded to a running dune build --watch or dune build --passive-watch-mode does not complete until the server's file watcher reports a sync file the server writes under _build/.sync. That wait has no bound: when the event is late or never arrives, the client hangs with no message and the server sits idle. I expected the request to complete, or…
Thomas Gazagnaire (@samoht)A dune killed with SIGKILL leaves targets the next build trusts and stores in the shared cache
If dune is killed with SIGKILL after an action has written its targets but before _build/.db is saved, the next build keeps those targets as if they matched the previous run's record. Rules downstream of such a target run against it, and their output is stored in the shared cache under a key that names the recorded digest, not the one on disk. Later builds w…
Thomas Gazagnaire (@samoht)Allow `ocamllex` flags
Desired Behavior
Marek Kubica (@Leonidas-from-XIV)Avoid Ctrl-C warning during timeout termination
Description
copilot-swe-agentBackport #16562
Backport #16562 onto 3.25
Shon Feder (@shonfeder)Backport 16566
Backport #16566 onto 3.25
Shon Feder (@shonfeder)Backport 16580 16563 16565
Backports into 3.25 for
Shon Feder (@shonfeder)Bug triggered by use of `rocq.theory` stanza
Expected Behavior
shlomenu