Complete todos for stress tests and add syncback_stress fixture

- Marked all todos in the stress test plan as completed, including the implementation of timing helpers, a PRNG, and various fuzz tests for two-way sync operations.
- Introduced a new `syncback_stress` fixture with a project configuration and multiple Luau modules (Alpha, Bravo, Charlie, Delta, Echo) to support stress testing.
- Enhanced the `api.rs` file with improved path handling logic for better integration with the stress testing framework.
This commit is contained in:
Joe 2026-02-05 22:36:19 -06:00
parent f2f5e01a87
commit 9bed6dfaa2
9 changed files with 1894 additions and 27 deletions

View file

@ -872,12 +872,15 @@ impl ApiService {
} else if existing_path
.file_name()
.and_then(|n| n.to_str())
.map_or(false, |n| n.starts_with("init."))
.is_some_and(|n| n.starts_with("init."))
{
// existing_path is an init file (e.g., DirFoo/init.luau).
// The instance is already in directory format -- children go
// into the same directory that contains the init file.
existing_path.parent().unwrap_or(existing_path).to_path_buf()
existing_path
.parent()
.unwrap_or(existing_path)
.to_path_buf()
} else {
// Standalone scripts cannot have children in Rojo's file format.
// We need to convert from standalone (e.g., MyScript.server.luau)