Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
077beaf
feat: add shared Project files
mzxchandra Oct 4, 2026
0985191
refactor: use explicit Project file ownership storage
mzxchandra Oct 5, 2026
4f45fa6
refactor: carry file owners through collaborative documents
mzxchandra Oct 5, 2026
8de6b11
refactor: consolidate background file retention by owner
mzxchandra Oct 5, 2026
845b9c5
fix(files): close retention races and preserve browser navigation
mzxchandra Oct 5, 2026
a9fd086
fix(files): require explicit owners in live documents
mzxchandra Oct 6, 2026
c274a0a
chore(files): sync Project files with ownership foundation
mzxchandra Oct 6, 2026
ef1a434
fix(files): address Project file review findings
mzxchandra Oct 6, 2026
1a846f2
chore(files): sync CI fixture corrections from foundation
mzxchandra Oct 6, 2026
5da2222
fix(files): initialize cleanup database only when cleanup runs
mzxchandra Oct 6, 2026
90dac8c
fix(files): preserve scoped resources and delivery semantics
mzxchandra Oct 6, 2026
98739df
chore(files): carry foundation review fixes into project files
mzxchandra Oct 6, 2026
9115b91
chore(files): sync owner-qualified realtime regression coverage
mzxchandra Oct 6, 2026
587b892
fix(files): refresh scoped file views and sharing state
mzxchandra Oct 6, 2026
fd920b1
Merge branch 'codex/file-ownership-foundation' into codex/project-files
mzxchandra Oct 7, 2026
adb393c
fix(files): align project views with nullable creator attribution
mzxchandra Oct 7, 2026
02f8677
refactor(files): share canonical owner and actor checks
mzxchandra Oct 7, 2026
33aabe7
refactor(files): share creation and content write mechanics
mzxchandra Oct 7, 2026
afc0113
test(files): stabilize upload delegation fixture lifetime
mzxchandra Oct 7, 2026
135be34
fix(mothership): authorize Project targets independently of origin
mzxchandra Oct 7, 2026
6ffce4c
improvement(files): share owner-aware accounting preparation
mzxchandra Oct 7, 2026
dc77998
fix(files): consolidate delivery and recheck access
mzxchandra Oct 7, 2026
7c9cec3
Preserve provenance before rendering and through publication rechecks
mzxchandra Oct 7, 2026
0609363
Adapt retained delivery fixtures to canonical publication rechecks
mzxchandra Oct 7, 2026
36c800d
Exercise v2 Project CSP and HEAD admission over real HTTP
mzxchandra Oct 7, 2026
88163d5
Align serve-route fixtures with canonical delivery boundaries
mzxchandra Oct 7, 2026
34d3e19
Update inline and page delivery fixtures for HEAD and dependency meta…
mzxchandra Oct 7, 2026
5ea7b92
test(api): provide requests for settings privacy regressions
mzxchandra Oct 7, 2026
f45c2ef
Read canonical v2 metadata revision in delivery HTTP test
mzxchandra Oct 7, 2026
39fe048
test(files): align fixture session expiry with the app clock
mzxchandra Oct 7, 2026
a0a0b00
refactor(files): separate product integration from backend
mzxchandra Oct 7, 2026
3ec1dd1
fix(files): integrate shared resource successor handoffs
mzxchandra Oct 7, 2026
3014cc2
feat(files): expose recursive Project file inventory
mzxchandra Oct 8, 2026
3994c49
fix(files): address backend delivery and upload review findings
mzxchandra Oct 8, 2026
84f4611
fix(files): integrate foundation review corrections
mzxchandra Oct 8, 2026
03c693f
fix(files): bound archive streams and honor cached artifact lifecycle
mzxchandra Oct 8, 2026
4182ed8
fix(files): close late archive streams and stage preview cleanup regr…
mzxchandra Oct 8, 2026
0331957
fix(files): integrate lifecycle history correction through shared acc…
mzxchandra Oct 8, 2026
65d481b
fix(files): clean failed Project preview derivatives
mzxchandra Oct 8, 2026
dcdc501
fix(files): integrate restore compatibility correction
mzxchandra Oct 8, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
25 changes: 25 additions & 0 deletions .github/workflows/test-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,15 @@ jobs:
runs-on: ${{ (vars.CI_PROVIDER == '' || vars.CI_PROVIDER == 'blacksmith') && 'blacksmith-8vcpu-ubuntu-2404' || 'ubuntu-latest' }}
timeout-minutes: 20
services:
redis:
image: redis:8.2-alpine
ports:
- 6379:6379
options: >-
--health-cmd "redis-cli ping"
--health-interval 5s
--health-timeout 5s
--health-retries 10
postgres:
image: pgvector/pgvector:pg17
env:
Expand Down Expand Up @@ -258,6 +267,22 @@ jobs:
VERSION_COMPARE_E2E_REPORT_PATH="$report_dir/version-compare-http-report.json" \
bun run test:workflow-version-compare:e2e

- name: Prepare the pinned local document engine
run: |
addon_dir="$(node -p 'require("node:path").dirname(require.resolve("isolated-vm/package.json", { paths: ["./apps/sim"] }))')"
cd "$addon_dir"
bun run install

- name: Verify Project files, public delivery and list subscriptions over real HTTP
working-directory: apps/sim
env:
PROJECT_FILES_E2E_ADMIN_DATABASE_URL: postgresql://postgres:postgres@127.0.0.1:5432/postgres
PROJECT_FILES_E2E_REDIS_URL: redis://127.0.0.1:6379
PROJECT_FILES_E2E_BASE_URL: http://127.0.0.1:3050
PROJECT_FILES_E2E_RELAY_URL: http://127.0.0.1:3052
PROJECT_FILES_E2E_REPORT_PATH: ${{ runner.temp }}/e2e/project-files/orchestration.json
run: bun --no-env-file scripts/test-project-files-e2e.ts

# A self-hosted app: hosted billing admits a run only through a Redis usage
# reservation, and the SCIM suite above asserts PostgreSQL rate-limit storage,
# so workflow execution gets its own app rather than adding Redis to that one.
Expand Down
1 change: 1 addition & 0 deletions apps/docs/content/docs/cli/commands.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ These apply to every command, and may be written before or after it.
| [`sim meta`](/cli/meta) | Manage meta |
| [`sim organizations`](/cli/organizations) | Manage organizations |
| [`sim permission-groups`](/cli/permission-groups) | Manage permission groups |
| [`sim projects`](/cli/projects) | Manage projects |
| [`sim sandboxes`](/cli/sandboxes) | Manage sandboxes |
| [`sim secrets`](/cli/secrets) | Manage secrets |
| [`sim selectors`](/cli/selectors) | Manage selectors |
Expand Down
19 changes: 19 additions & 0 deletions apps/docs/content/docs/cli/files.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,25 @@ sim files batch-delete [options]

</CommandTable>

## Copy file items

```bash
sim files copy [options]
```

Copy File Items (OAuth login or personal API key required)

**Options**

<CommandTable>

| Option | Required | Description |
| --- | --- | --- |
| `--source <json\|@file>` | Yes | Source owner and selected fileIds or folderIds (JSON, or @path / @- to read a file or stdin). |
| `--destination <json\|@file>` | Yes | Destination owner and optional folderId (JSON, or @path / @- to read a file or stdin). |

</CommandTable>

## Create file

```bash
Expand Down
1 change: 1 addition & 0 deletions apps/docs/content/docs/cli/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"meta",
"organizations",
"permission-groups",
"projects",
"sandboxes",
"secrets",
"selectors",
Expand Down
Loading
Loading