Open lionel- opened 1 month ago
Propagation of panic info when the Ark kernel crashes: Would be done via a log file as we do in Positron. Actually kind of neat because we could enable trace logs and get more context by default. The log file would be shown in a separate section of the github action report.
We've had issues where we've broken something in release ark and can't catch it during testing because testing behavior works slightly differently https://github.com/posit-dev/ark/pull/566#issuecomment-2394939383 - in theory this would help avoid that
We currently launch Ark in a background thread but we're seeing some weirdness on Windows CI, such as stack overflows: https://github.com/posit-dev/ark/actions/runs/11143776136/job/30969594068
It's possible running R in the main thread (by running a normal Ark process) would solve this. Also it would make the integration tests a bit closer to real usage.
We're almost there since the integration tests already start a pretty normal Jupyter kernel that we connect to via zmq. But we might need to implement some process management to ensure it gets shut down after tests have run, and this management might fail in case of panic/crash.