mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-23 05:51:39 +00:00
Enhance scripts-only mode handling and improve temp ID resolution
- Introduced a new mechanism in ServeSession to manage scripts-only mode, ensuring proper handling of temporary IDs during script additions. - Updated the applyPatch function to remap only scripts-only temp IDs, preventing false positives with legitimate additions. - Modified the API to resolve intermediate container temp IDs to real tree references, enhancing the integrity of parent-child relationships for new scripts. - Added tests to verify the functionality of scripts-only mode and the resolution of temp IDs. These changes aim to optimize script management and improve the overall functionality of the session handling.
This commit is contained in:
parent
dcd48642be
commit
57433a0158
26 changed files with 274 additions and 63 deletions
|
|
@ -9,6 +9,7 @@ rootInstanceId: id-2
|
|||
serverFork: atlas
|
||||
serverVersion: "[server-version]"
|
||||
sessionId: id-1
|
||||
syncScriptsOnly: false
|
||||
syncSourceOnly: true
|
||||
visibleServices:
|
||||
- Lighting
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ rootInstanceId: id-2
|
|||
serverFork: atlas
|
||||
serverVersion: "[server-version]"
|
||||
sessionId: id-1
|
||||
syncScriptsOnly: false
|
||||
syncSourceOnly: true
|
||||
visibleServices:
|
||||
- Lighting
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ rootInstanceId: id-2
|
|||
serverFork: atlas
|
||||
serverVersion: "[server-version]"
|
||||
sessionId: id-1
|
||||
syncScriptsOnly: false
|
||||
syncSourceOnly: true
|
||||
visibleServices:
|
||||
- Lighting
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ rootInstanceId: id-2
|
|||
serverFork: atlas
|
||||
serverVersion: "[server-version]"
|
||||
sessionId: id-1
|
||||
syncScriptsOnly: false
|
||||
syncSourceOnly: true
|
||||
visibleServices:
|
||||
- Lighting
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ rootInstanceId: id-2
|
|||
serverFork: atlas
|
||||
serverVersion: "[server-version]"
|
||||
sessionId: id-1
|
||||
syncScriptsOnly: false
|
||||
syncSourceOnly: true
|
||||
visibleServices:
|
||||
- Lighting
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ rootInstanceId: id-2
|
|||
serverFork: atlas
|
||||
serverVersion: "[server-version]"
|
||||
sessionId: id-1
|
||||
syncScriptsOnly: false
|
||||
syncSourceOnly: true
|
||||
visibleServices:
|
||||
- Lighting
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ rootInstanceId: id-2
|
|||
serverFork: atlas
|
||||
serverVersion: "[server-version]"
|
||||
sessionId: id-1
|
||||
syncScriptsOnly: false
|
||||
syncSourceOnly: true
|
||||
visibleServices:
|
||||
- Lighting
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ rootInstanceId: id-2
|
|||
serverFork: atlas
|
||||
serverVersion: "[server-version]"
|
||||
sessionId: id-1
|
||||
syncScriptsOnly: false
|
||||
syncSourceOnly: true
|
||||
visibleServices:
|
||||
- Lighting
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ rootInstanceId: id-2
|
|||
serverFork: atlas
|
||||
serverVersion: "[server-version]"
|
||||
sessionId: id-1
|
||||
syncScriptsOnly: false
|
||||
syncSourceOnly: true
|
||||
visibleServices:
|
||||
- Lighting
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ rootInstanceId: id-2
|
|||
serverFork: atlas
|
||||
serverVersion: "[server-version]"
|
||||
sessionId: id-1
|
||||
syncScriptsOnly: false
|
||||
syncSourceOnly: true
|
||||
visibleServices:
|
||||
- Lighting
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ rootInstanceId: id-2
|
|||
serverFork: atlas
|
||||
serverVersion: "[server-version]"
|
||||
sessionId: id-1
|
||||
syncScriptsOnly: false
|
||||
syncSourceOnly: true
|
||||
visibleServices:
|
||||
- Lighting
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ rootInstanceId: id-2
|
|||
serverFork: atlas
|
||||
serverVersion: "[server-version]"
|
||||
sessionId: id-1
|
||||
syncScriptsOnly: false
|
||||
syncSourceOnly: true
|
||||
visibleServices:
|
||||
- Lighting
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ rootInstanceId: id-2
|
|||
serverFork: atlas
|
||||
serverVersion: "[server-version]"
|
||||
sessionId: id-1
|
||||
syncScriptsOnly: false
|
||||
syncSourceOnly: true
|
||||
visibleServices:
|
||||
- Lighting
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ rootInstanceId: id-2
|
|||
serverFork: atlas
|
||||
serverVersion: "[server-version]"
|
||||
sessionId: id-1
|
||||
syncScriptsOnly: false
|
||||
syncSourceOnly: true
|
||||
visibleServices:
|
||||
- Lighting
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ rootInstanceId: id-2
|
|||
serverFork: atlas
|
||||
serverVersion: "[server-version]"
|
||||
sessionId: id-1
|
||||
syncScriptsOnly: false
|
||||
syncSourceOnly: true
|
||||
visibleServices:
|
||||
- Lighting
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ rootInstanceId: id-2
|
|||
serverFork: atlas
|
||||
serverVersion: "[server-version]"
|
||||
sessionId: id-1
|
||||
syncScriptsOnly: false
|
||||
syncSourceOnly: true
|
||||
visibleServices:
|
||||
- Lighting
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ rootInstanceId: id-2
|
|||
serverFork: atlas
|
||||
serverVersion: "[server-version]"
|
||||
sessionId: id-1
|
||||
syncScriptsOnly: false
|
||||
syncSourceOnly: true
|
||||
visibleServices:
|
||||
- Lighting
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ rootInstanceId: id-2
|
|||
serverFork: atlas
|
||||
serverVersion: "[server-version]"
|
||||
sessionId: id-1
|
||||
syncScriptsOnly: false
|
||||
syncSourceOnly: true
|
||||
visibleServices:
|
||||
- Lighting
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ rootInstanceId: id-2
|
|||
serverFork: atlas
|
||||
serverVersion: "[server-version]"
|
||||
sessionId: id-1
|
||||
syncScriptsOnly: false
|
||||
syncSourceOnly: true
|
||||
visibleServices:
|
||||
- Lighting
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ rootInstanceId: id-2
|
|||
serverFork: atlas
|
||||
serverVersion: "[server-version]"
|
||||
sessionId: id-1
|
||||
syncScriptsOnly: false
|
||||
syncSourceOnly: true
|
||||
visibleServices:
|
||||
- Lighting
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue