Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
112 commits
Select commit Hold shift + click to select a range
5e40716
docs: tell the local-first story (URLs, Atomic Sync, Flutter)
claude Sep 18, 2026
803aeaf
docs: local-first guide, server-optional Store docs, always-on framing
claude Sep 18, 2026
b0c604c
Pin Rust builds and enforce Server/SaaS dependency alignment (#1499)
joepio Sep 18, 2026
5403ff4
fix(server,lib): security hygiene from the September 2026 audit (#1558)
joepio Sep 19, 2026
da88d84
planning: retire the #1500 session artifacts and reconcile the index …
joepio Sep 18, 2026
58bc532
Reconcilable host-to-Drive mappings, for hosted vanity subdomains (#1…
joepio Sep 19, 2026
b79754a
fix(lib): write datatype tags in the shared export path, after sealin…
joepio Sep 19, 2026
6b9f431
perf(lib): coalesce cold-load OPFS reads into one worker round trip p…
joepio Sep 19, 2026
fa1891a
fix(lib,react): emit LocalChange from Resource.remove/push; route use…
joepio Sep 19, 2026
b4036c3
refactor(lib): one server-managed property list and one client-db ser…
joepio Sep 19, 2026
e9ec2f3
fix(lib): route destroy through the durable outbox so offline deletes…
joepio Sep 19, 2026
a8b1f31
fix(lib): apply destroy removal in the same transaction as the commit…
joepio Sep 19, 2026
7f2c842
fix(lib): emit DbEvent::Destroyed for cascaded children only after th…
joepio Sep 19, 2026
33baaa8
fix(lib): classify commit refusals by error code, not message text (#…
joepio Sep 19, 2026
859af20
fix(query-index): list every isA encoding, check the index against th…
claude Sep 18, 2026
51a009f
feat(server,lib): startup store-size diagnostics and automatic redb c…
claude Sep 18, 2026
652c8a6
docs: address review on the overview and URLs pages
claude Sep 19, 2026
753a8a6
fix(data-browser): make page transitions opt-in until every browser w…
joepio Sep 19, 2026
086f4f1
Default the navbar to the bottom on touch devices (#1567)
joepio Sep 19, 2026
6d55826
Keep toasts clear of the bottom navbar, drop the old sidebar spacer (…
joepio Sep 19, 2026
5cca8a1
docs: rewrite the feature list (#1572)
joepio Sep 19, 2026
03c1a38
Converge JS and WASM plugins: one host, one manifest, one install pat…
joepio Sep 19, 2026
042f1ea
fix(lib,react): make "destroyed" one fact on the store (#1573)
joepio Sep 19, 2026
7d18a2a
Create a drive's plugin schema terms in one round, not nineteen (#1574)
joepio Sep 19, 2026
59b3c00
Stop filing every server error in Sentry twice (#1576)
joepio Sep 19, 2026
3598fa9
Change video link in README
joepio Sep 19, 2026
dd83bbe
Tell people the assistant can build apps and websites (#1577)
joepio Sep 19, 2026
ed7a7d7
Close three gaps the plugin convergence left behind (#1575)
joepio Sep 19, 2026
d14b485
Stop a stale auth proof from failing requests that needed no auth (#1…
joepio Sep 19, 2026
71d36bf
Give the plugin specs a budget that matches what creating a plugin co…
joepio Sep 19, 2026
aadab57
Format the tests that came with the stale-auth-proof fix (#1580)
joepio Sep 20, 2026
37eabba
Put back 184 UI strings that render blank in a production build (#1583)
joepio Sep 20, 2026
30499c8
Answer the integration spec's catalog mock in the shape the endpoint …
claude Sep 20, 2026
193cde7
Fix twenty-five e2e failures, and two real bugs hiding among them (#1…
joepio Sep 20, 2026
28f643a
Check the e2e port before wiping the store, and offer to run the mock…
joepio Sep 20, 2026
d2ff37f
Give the plugin sandbox round trips a budget they can actually meet
joepio Sep 20, 2026
b4a0fc6
Let the Clockify apply and its aborted run finish before asserting
joepio Sep 20, 2026
8e0a3ee
Let the Notion connection fail properly before reading the alert
joepio Sep 20, 2026
8312421
New video
joepio Sep 20, 2026
fe771a7
Revise README for better package descriptions
joepio Sep 20, 2026
fcc7eb4
Update README.md for clarity and formatting
joepio Sep 20, 2026
3b04a05
Show a shared chatroom's messages to the person it was shared with (#…
joepio Sep 20, 2026
4cf4a76
Build the local e2e server the way CI builds it
joepio Sep 20, 2026
8aca6c3
Do not read a missing lsof as a free port
joepio Sep 20, 2026
6ae867b
Script the README loop video instead of hand-cutting it (#1586)
joepio Sep 20, 2026
901f5a4
fix(collection): dedupe concurrent page fetches (#1587)
joepio Sep 20, 2026
bd9256b
Keep a chat thread live after scoping its query to the right drive
joepio Sep 20, 2026
0bce071
Make the e2e package typecheck clean
joepio Sep 20, 2026
195737d
Stop the slash menu positioning a destroyed renderer
joepio Sep 20, 2026
b2715d9
Tell an invited guest when browser pairing is not getting anywhere
joepio Sep 20, 2026
d9d2ed8
Typecheck the browser workspace in CI (#1590)
joepio Sep 20, 2026
707b7d8
Do not let the offline tables spec throw before the app has mounted
joepio Sep 20, 2026
38ec476
Revert the CI typecheck step, which cannot resolve in the Dagger cont…
joepio Sep 20, 2026
1959239
Don't delete a local database just because this page load can't open …
joepio Sep 20, 2026
97259b2
Improve AI chat on mobile (#1593)
joepio Sep 20, 2026
20fe0d7
Scroll again while the new-drive gallery is still growing
joepio Sep 20, 2026
044a967
Let the integration proxy live on a .localhost name (#1595)
joepio Sep 21, 2026
4fefc85
Mount the app SDK fixture in the container the e2e specs actually run in
joepio Sep 21, 2026
4a24f27
Follow the AI setup panel's renamed title in three specs
joepio Sep 21, 2026
50fe2dd
Reach the server from the test process, not from a name only Chromium…
joepio Sep 21, 2026
8ac8629
Typecheck the browser workspace in CI, this time against the containe…
joepio Sep 21, 2026
4de89a0
Coalesce concurrent recovery reads per account and API
joepio Sep 21, 2026
6ec26a1
Reach the server from the trigger POST too, not only from the sync shim
joepio Sep 21, 2026
379bef3
Give the devonian kanban test's sample-data setups their own budget
joepio Sep 21, 2026
f3ea489
Let the server resolve the name its own resources are addressed by
joepio Sep 21, 2026
9577dbf
Serve mapped drive as vanity host home (#1605)
joepio Sep 21, 2026
d03d4db
Give api.test.ts the budget its per-test module reload needs (#1606)
joepio Sep 21, 2026
0e74adb
Send the streamed reply whose chat was saved underneath it
joepio Sep 21, 2026
71932d0
Do not publish a draft AI chat just to give it a name
joepio Sep 21, 2026
e24d502
Report a failed plugin-class lookup instead of rendering the wrong page
joepio Sep 21, 2026
76655e7
Keep the columns that loaded when one of them will not
joepio Sep 21, 2026
7357cfd
Give the plugin-schema click in integration-visibility a real budget
joepio Sep 21, 2026
3c767cf
Let the e2e server reach the loopback address its own name now resolv…
joepio Sep 21, 2026
b0f8533
Make SaaS AI chat ready to use with account credits (#1609)
joepio Sep 21, 2026
93d9acb
Give the automation sample save the budget its three steps need
joepio Sep 21, 2026
c24a640
Give the duplicate-import save a budget, and correct 93d9acb's numbers
joepio Sep 21, 2026
74eccad
Fix hosted AI headers in Firefox and deduplicate chat errors (#1610)
joepio Sep 21, 2026
306f4c1
Wait for the app's write to land before reloading on top of it
joepio Sep 21, 2026
e30e67f
Send the fixture's plugin-run from the browser, not from Node
joepio Sep 21, 2026
6294f16
Wait for the outbox before two reloads, and budget the reads after them
joepio Sep 21, 2026
fc47e0a
Stop gating CI on a live third-party pkarr relay (#1613)
joepio Sep 21, 2026
20b4255
Ask the host for embedded vocabulary instead of the local database first
joepio Sep 21, 2026
f67935b
Tell the e2e server the name it is addressed by
joepio Sep 21, 2026
3f4cb74
Fix mobile AI chat navigation and clarify chat options (#1614)
joepio Sep 21, 2026
75041b1
Say which way the e2e report failed to publish
joepio Sep 21, 2026
fde0b5e
Give the MT940 import test a budget for the install it performs
joepio Sep 21, 2026
5f83217
Budget the two dashboard waits that sit on a commit
joepio Sep 21, 2026
346cea9
Unify resource creation, menu filtering and sidebar motion
joepio Sep 21, 2026
f662360
Merge creation catalog and sidebar consistency improvements
joepio Sep 21, 2026
c204234
Enable website release checks in local E2E runs and settle UI checks
joepio Sep 21, 2026
4ffd29a
Preserve pending document formatting across remote sync updates
joepio Sep 21, 2026
490597c
Keep installation validation available through cached loads and saves
joepio Sep 21, 2026
db8ae4d
Put the SSRF guard back on in the e2e container
joepio Sep 21, 2026
225b316
Budget the three onboarding waits that cover a round trip
joepio Sep 21, 2026
1544c41
Give the Notion proxy test a wall it can finish inside
joepio Sep 21, 2026
4ca732c
Preserve public server identity in CI browser fixtures
joepio Sep 22, 2026
a0d049d
Stop two e2e helpers taking budget away from their callers
joepio Sep 22, 2026
2332625
fix(apps): allow host recovery before expiring view requests
joepio Sep 22, 2026
62871ba
Make a catalog creation failure say which failure it was
joepio Sep 22, 2026
2a9d183
test(e2e): keep browser headroom and budget GitHub setup
joepio Sep 22, 2026
7203947
fix(build): isolate nested runtime and prepare Rust check assets
joepio Sep 22, 2026
748fd33
feat(sidebar): resize sections by dragging touch-friendly headers
joepio Sep 22, 2026
00f11ae
Fix mobile chat navigation and AI credit options (#1615)
joepio Sep 22, 2026
e2db698
Make the Clippy pre-commit hook incremental (#1548)
michielbdejong Sep 22, 2026
6b1ca6e
test: require usable private homes after sign-in without data (#1620)
joepio Sep 22, 2026
ae276d3
Make AI chat folders deterministic and discover chats across the driv…
joepio Sep 22, 2026
ead8382
Consolidate AI settings and add voice conversations (#1622)
joepio Sep 22, 2026
0a72f53
Adopt Atomic Place wordmark and web icons (#1623)
joepio Sep 22, 2026
1da4e17
Keep presence avatars visible in compact navigation and back off retr…
joepio Sep 22, 2026
8e47fc3
Fix local sign-in redirects and preserve account settings continuatio…
joepio Sep 22, 2026
3a89270
Resume safe file operations after database leader handoff (#1628)
joepio Sep 22, 2026
0dabf1f
Merge current documentation refresh while preserving updated product …
joepio Sep 22, 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
  •  
  •  
  •  
243 changes: 223 additions & 20 deletions .dagger/src/index.ts

Large diffs are not rendered by default.

16 changes: 13 additions & 3 deletions .github/workflows/main-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,19 @@ jobs:
# the argument.
args: ci --netlify-auth-token env://NETLIFY_TOKEN --host-profile ${{ inputs.host-profile }} --playwright-mode ${{ inputs.e2e-mode }} ${{ startsWith(github.ref, 'refs/tags/v') && !contains(github.ref_name, '-') && '--publish-docs' || '' }}
- name: Upload artifacts
# `always()`: the e2e traces exported above are only interesting when
# the CI step failed, and without this the upload is skipped exactly
# then.
# `always()`: whatever lands in ./artifact is only interesting when the
# CI step failed, and without this the upload is skipped exactly then.
#
# Nothing writes ./artifact today, so this step uploads nothing on
# every run. The comment here used to say "the e2e traces exported
# above", which is what it was meant to carry and never has: the
# Dagger container holding playwright-report and test-results is
# discarded when the `ci` call throws, and `.dagger` has no host
# export. The disabled wiring is still in browser/e2e/playwright.config.ts
# (`// outputFolder: '/artifact/test-report'`). Until one of those is
# finished, a failed run's only evidence is the per-shard log tail in
# the thrown error, plus the Netlify report when NETLIFY_TOKEN is set —
# which it currently is not on the self-hosted runner.
if: always()
uses: actions/upload-artifact@v4
with:
Expand Down
91 changes: 29 additions & 62 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,25 +19,19 @@ concurrency:
cancel-in-progress: ${{ github.ref_type == 'branch' && github.ref_name != 'develop' }}

# Main prefers Mancave (self-hosted) so Dagger cache volumes stay warm.
# GitHub-hosted runs ONLY when Mancave is unavailable — never as a retry
# GitHub-hosted runs only when explicitly selected or required for PRs, never as a retry
# after a red test suite.
#
# Flow:
# 1. Pick runner — online self-hosted? (optional CI_RUNNER_STATUS_TOKEN)
# 1. Pick runner — trusted self-hosted or explicitly hosted
# 2. Main (Mancave) XOR Main (GitHub) — one path, not failure-failover
# 3. Main — aggregator for the required status check
#
# Availability check needs a PAT that can list repo runners (GITHUB_TOKEN
# cannot). Store it as Actions secret CI_RUNNER_STATUS_TOKEN. Without that
# secret we assume Mancave is up (same as before) and will not fall back
# when tests fail.
#
# Escape hatch (force hosted, skip Mancave):
# Settings -> Secrets and variables -> Actions -> Variables
# CI_RUNNER = ["ubuntu-latest"]
#
# Only this workflow uses the self-hosted runner. Releasing/deploying stay
# on ubuntu-latest — a release must not depend on one PC being awake.
# Trusted runs start directly on Mancave, including selector and result jobs.
# There is no GitHub-hosted prerequisite, so exhausted Actions budgets do not
# block self-hosted CI. If Mancave is offline, jobs queue; explicitly set the
# repository variable CI_RUNNER = ["ubuntu-latest"] to use hosted runners.
# No runner-status PAT is needed. Deployments retain their existing runners.
#
# SECURITY: pull_request / pull_request_target are forced onto hosted
# runners (never Mancave).
Expand All @@ -47,7 +41,9 @@ name: "Main pipeline: build, lint, test"
jobs:
pick:
name: Pick runner
runs-on: ubuntu-latest
# Trusted runs can start without a GitHub-hosted billing prerequisite.
# Mancave must be online; use CI_RUNNER to explicitly select hosted runners.
runs-on: ${{ fromJSON((github.event_name == 'pull_request_target' || github.event_name == 'pull_request' || vars.CI_RUNNER == '["ubuntu-latest"]') && '["ubuntu-latest"]' || (vars.CI_RUNNER || '["self-hosted", "Linux", "X64"]')) }}
permissions:
contents: read
pull-requests: read
Expand All @@ -57,7 +53,6 @@ jobs:
steps:
- id: pick
env:
GH_TOKEN: ${{ secrets.CI_RUNNER_STATUS_TOKEN }}
FORCE_RUNNER: ${{ vars.CI_RUNNER }}
EVENT_NAME: ${{ github.event_name }}
REPO: ${{ github.repository }}
Expand All @@ -76,37 +71,8 @@ jobs:
exit 0
fi

if [ -z "${GH_TOKEN:-}" ]; then
echo "No CI_RUNNER_STATUS_TOKEN — assuming Mancave online"
echo "host=mancave" >> "$GITHUB_OUTPUT"
exit 0
fi

# Any online runner carrying the self-hosted label counts as
# available (busy is fine — the job will wait its turn).
# On API errors (bad/insufficient PAT), prefer Mancave — do NOT
# treat a 403 as "offline" or we skip the warm box forever.
set +e
body=$(gh api "repos/$REPO/actions/runners" 2>/tmp/runner-api.err)
api_status=$?
set -e
if [ "$api_status" -ne 0 ]; then
echo "Runner API failed (is CI_RUNNER_STATUS_TOKEN a fine-grained PAT with Repository Administration: Read?):"
cat /tmp/runner-api.err || true
echo "Assuming Mancave online"
echo "host=mancave" >> "$GITHUB_OUTPUT"
exit 0
fi

if printf '%s' "$body" | jq -e \
'any(.runners[]; .status == "online" and any(.labels[]; .name == "self-hosted"))' \
>/dev/null; then
echo "Self-hosted runner online — using Mancave"
echo "host=mancave" >> "$GITHUB_OUTPUT"
else
echo "No online self-hosted runner — falling back to GitHub-hosted"
echo "host=hosted" >> "$GITHUB_OUTPUT"
fi
echo "Selector is running on the self-hosted runner — using Mancave"
echo "host=mancave" >> "$GITHUB_OUTPUT"

- id: e2e
env:
Expand Down Expand Up @@ -206,7 +172,7 @@ jobs:
id: saas
env:
GH_TOKEN: ${{ secrets.ATOMIC_SAAS_DISPATCH_TOKEN }}
BRANCH: ${{ github.ref_name }}
BRANCH: ${{ github.head_ref || github.ref_name }}
run: |
set -euo pipefail
if [ -z "${GH_TOKEN:-}" ]; then
Expand Down Expand Up @@ -238,6 +204,13 @@ jobs:
# (where `clean: false` keeps the checkout around between runs).
persist-credentials: false

- name: Set up Python for Rust alignment checks
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Verify paired Rust toolchains and dependencies
run: python3 atomic-server/scripts/check-rust-alignment.py --server atomic-server --saas atomic-saas

- name: Install Rust
uses: dtolnay/rust-toolchain@1.98.1
with:
Expand Down Expand Up @@ -267,28 +240,22 @@ jobs:
npm ci
npm run build

# Not `--locked`: this commit may have changed atomic_lib's own
# dependencies, which legitimately moves atomic-saas's lockfile. What is
# being checked is that the code still builds and passes; a lock update
# is reported so the saas side commits it on its next touch.
# Both lockfiles must describe the tested pair; update them in paired PRs.
- name: cargo check, clippy and test atomic-saas against this commit
working-directory: atomic-saas
run: |
set -euo pipefail
cargo check --all-targets
cargo clippy --all-targets -- -D warnings
cargo test --all-targets
cargo check --locked --all-targets
cargo clippy --locked --all-targets -- -D warnings
cargo test --locked --all-targets
# The managed node embeds this repo's server crate and is not a
# default workspace member, so the root build does not touch it.
# Its own CI runs check, clippy and test; the same here.
cargo clippy -p atomic-managed-node --all-targets -- -D warnings
cargo test -p atomic-managed-node
if ! git diff --quiet -- Cargo.lock; then
git diff --stat -- Cargo.lock
echo "::warning::atomic-saas's Cargo.lock drifted against this commit; run cargo check there and commit Cargo.lock."
fi
cargo clippy --locked -p atomic-managed-node --all-targets -- -D warnings
cargo test --locked -p atomic-managed-node
git diff --exit-code -- Cargo.lock

# Hosted only when pick said Mancave is unavailable (or escape/PR).
# Hosted only when explicitly selected or required for PR events.
# Deliberately does NOT run when Mancave finished with test failures.
github:
name: Main (GitHub)
Expand All @@ -312,7 +279,7 @@ jobs:
name: Main
needs: [pick, mancave, github, downstream-saas]
if: always() && needs.pick.result == 'success'
runs-on: ubuntu-latest
runs-on: ${{ fromJSON(needs.pick.outputs.host == 'hosted' && '["ubuntu-latest"]' || (vars.CI_RUNNER || '["self-hosted", "Linux", "X64"]')) }}
steps:
- name: Resolve runner outcome
run: |
Expand Down
15 changes: 5 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,9 @@ jobs:
- uses: actions/checkout@v4
with:
ref: ${{ inputs.tag || github.ref }}
- uses: actions-rs/toolchain@v1
- uses: dtolnay/rust-toolchain@1.98.1
with:
toolchain: stable
override: true
target: wasm32-unknown-unknown
targets: wasm32-unknown-unknown

# `version: 8` used to be pinned here while browser/package.json declares
# `packageManager: pnpm@10.15.1`, and there was no Node at all — so this
Expand Down Expand Up @@ -281,7 +279,7 @@ jobs:
permissions:
contents: write
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2.0.1
name: Install pnpm
id: pnpm-install
Expand Down Expand Up @@ -392,12 +390,9 @@ jobs:
version: 10
run_install: false

- uses: actions-rs/toolchain@v1
- uses: dtolnay/rust-toolchain@1.98.1
with:
profile: minimal
toolchain: stable
override: true
target: wasm32-unknown-unknown
targets: wasm32-unknown-unknown
- uses: taiki-e/upload-rust-binary-action@v1
with:
# (required)
Expand Down
17 changes: 17 additions & 0 deletions .github/workflows/rust-alignment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Rust build policy
on:
pull_request:
push:
branches: [develop]
permissions:
contents: read
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- run: python3 -m unittest discover -s scripts -p 'test_rust_alignment.py' -v
- run: python3 scripts/check-rust-alignment.py
6 changes: 3 additions & 3 deletions .github/workflows/tauri-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ jobs:
version: 10
run_install: false

- uses: dtolnay/rust-toolchain@stable
- uses: dtolnay/rust-toolchain@1.98.1
with:
targets: ${{ matrix.rust-targets }}

Expand Down Expand Up @@ -400,7 +400,7 @@ jobs:
sdkmanager --install "ndk;27.2.12479018" >/dev/null
echo "NDK_HOME=${ANDROID_SDK_ROOT}/ndk/27.2.12479018" >> "$GITHUB_ENV"

- uses: dtolnay/rust-toolchain@stable
- uses: dtolnay/rust-toolchain@1.98.1
with:
# arm64 only: phones/tablets we ship to. The other three Android
# targets were Tauri's generated default and made the universal APK
Expand Down Expand Up @@ -547,7 +547,7 @@ jobs:
version: 10
run_install: false

- uses: dtolnay/rust-toolchain@stable
- uses: dtolnay/rust-toolchain@1.98.1
with:
targets: aarch64-apple-ios,aarch64-apple-ios-sim,x86_64-apple-ios,wasm32-unknown-unknown

Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,5 @@ scratchpad
node_modules/
# Generated integration certification evidence
/artifacts/integration-certification/
# Raw footage and cuts from browser/e2e/scripts/record-*.mjs
/browser/e2e/recordings/
17 changes: 17 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,16 @@ second writer on tracked files. Four ways that has cost real time:
vite sees a file change, and the page reloads. That is not cosmetic: a reload
abandons in-flight work, and this silently cancelled a destroy mid-test. If
`git status` shows `.po` churn on a clean checkout, settle them and commit.
- **The compiled catalogs are a second artifact.** Wuchale compiles the `.po`
files into `src/locales/.wuchale/`, which is gitignored. `git checkout --
src/locales/` resets the `.po` files and leaves the compiled output from
another state; the two then disagree and *every indexed string shifts*.
Missing entries show as `[i18n-404:NNN]`; shifted entries show a different
real string, so nothing looks wrong and tests fail on the wrong element.
Whenever you reset the `.po` files, also `rm -rf
browser/data-browser/src/locales/.wuchale` and restart vite. Do not make
the `.po` files read-only to stop the rewrite; the compiled output goes
stale instead.
- **`pnpm clean-translations` is not the same writer.** It extracts from test
files too, which the vite plugin does not, so its output is a *different*
fixed point. Settling by running the app is what matches the dev server.
Expand Down Expand Up @@ -283,6 +293,13 @@ cd browser && pnpm run test-e2e:light # Playwright @smoke (feature-br
cd browser && pnpm run test-e2e # Full Playwright suite (develop / tags)
```

When you restart an `atomic-server` for tests, gate on `curl` returning HTTP
200, never on the port: redb's lock outlives the listening socket by several
seconds, so an immediate restart exits with "Database already open" and the
suite runs against nothing, failing in ways that look like product bugs. Retry
the spawn when the log says so, and give a fresh server about ten seconds
before the first spec.

`atomic_lib`'s unit tests need the `db` feature — `hierarchy.rs`'s test module
calls `Db::init_temp` and `test_utils::setup_test_env`, both gated behind it. So
`cargo test -p atomic_lib --no-default-features` does **not** compile; don't
Expand Down
Loading
Loading