Sync engine rearchitecture (#1516)
* Don't require auth for .ping * Finally introducing loggers * Remove file list caching from disk_space_primitives I don't think this is required anymore with the sync model * Simplification of space primitives and more tests * More reliable online status * Add .zed settings * Remove selfUpdate argument from `writeFile` no longer used - Add `sync` config schema and document sync options - Move sync config handling to client boot logic - Move BootConfig type to ui_types.ts - Remove sync env vars from server - Update documentation for sync and architecture * Improve sync logic and proxy routing for full sync state * Add BoxProxy for late-bound client and improve Lua boot - Add isMobile syscall for editor * Add concurrency to sync process and log indexing duration * Better service worker lifecycle management
This commit is contained in:
@@ -4,6 +4,7 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- "main"
|
||||
- "sw-sync"
|
||||
tags:
|
||||
- "*"
|
||||
env:
|
||||
@@ -63,6 +64,7 @@ jobs:
|
||||
# type=edge,branch=main
|
||||
# When pushing to main branch, release as :v2
|
||||
type=raw,value=v2,enable=${{ github.ref == 'refs/heads/main' }}
|
||||
type=raw,value=sync,enable=${{ github.ref == 'refs/heads/sw-sync' }}
|
||||
|
||||
- name: Build and push main docker images
|
||||
uses: docker/build-push-action@v4.0.0
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
name: Test
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: ["main"]
|
||||
pull_request:
|
||||
branches: ["main"]
|
||||
push:
|
||||
branches: ["main"]
|
||||
pull_request:
|
||||
branches: ["main"]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
Reference in New Issue
Block a user