feat(sandbox): 在有界后台工作线程中登记原生实例

This commit is contained in:
2026-09-09 01:30:57 +08:00
parent 96778c02f3
commit 8936974059
6 changed files with 844 additions and 0 deletions
@@ -298,6 +298,10 @@ impl Running<'_> {
Ok(())
}
#[cfg(test)]
pub(crate) fn test_job(&self) -> Result<crate::extension_job::Job> {
self.process.job.clone_for_deadline()
}
#[cfg(test)]
pub(crate) fn active_test_processes(&self) -> Result<u32> {
self.process.job.active_processes()
}