mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-21 00:05:49 +02:00
perf: stage independent remote GitHub launchers concurrently (#16484)
Stage at most three independent remote GitHub launcher files at once only when the existing effective concurrent-sync capability permits it. Preserve serial fallback, per-file locks and integrity checks, and settle every started upload before failure returns. Verification: 119 affected tests pass (one existing Linux-only oracle skipped on macOS); full repository typecheck/build pass; same-sandbox real-Daytona component comparison preserves all bytes/modes; current-head full CI/E2E/Superagent/Snyk and Apex 5/5 pass. The full native timing target remains separate and is not claimed by this change. Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
1 parent
676d3ec8d4
commit
6943904bad
3 files changed
+128
-10
No files matched your search
@@ -62,6 +62,13 @@ the same sanitized environment as execution, so a CLI visible only in the
|
||||
provider's default environment cannot pass the launch check. Failed path
|
||||
discovery stops startup instead of silently falling back to a minimal path.
|
||||
|
||||
Providers that declare concurrent sync support stage at most three independent
|
||||
launcher files at once. Other providers keep serial staging. Each file retains
|
||||
its content hash, upload lock, integrity check and atomic rename. A failed batch
|
||||
settles all started uploads before startup rejects; later files and the final
|
||||
permission step do not start. This changes startup scheduling, not credentials
|
||||
or callback transport selection.
|
||||
|
||||
Scripts that previously read a persistent `GH_TOKEN` must use managed `git`, `gh`, or GitHub gateway tools. Managed execution skips legacy GitHub token bindings in agent, environment, project, and routine configuration before secret preflight. Configure personal or dedicated access through the GitHub connection instead. Directly invoking an unmanaged executable or retaining a token obtained during an earlier invocation is outside the managed invocation contract.
|
||||
|
||||
## Legacy hosts and networking
|
||||
|
||||
Reference in new issue
Block a user