Skip to content
This repository was archived by the owner on Nov 20, 2026. It is now read-only.

[AI] CHE-1024: Two-client persistence journey and multi-currency docs - #133

Draft
congvc-bot-x99[bot] wants to merge 5 commits into
author/CHE-1023/c094bf249ff2from
author/CHE-1024/86629bea3e0c
Draft

congvc-bot-x99[bot] wants to merge 5 commits into
author/CHE-1023/c094bf249ff2from
author/CHE-1024/86629bea3e0c

Conversation

@congvc-bot-x99

@congvc-bot-x99 congvc-bot-x99 Bot commented Oct 5, 2026 •

Copy link
Copy Markdown

🤖 Status: Parked — CHE-3439, 2026-11-04 ICT. Head e240bc17539f0b56fe28e658f4c3929dca433c64. Preserve the currency continuation stack rooted at #123. The root still has red autofix/lint checks. The stack owner must propagate the CI repair and current master, rerun this layer against its actual base, and reconcile independent PASS on the resulting head. Preserve the existing base branch; do not merge or close layers as duplicates.

Description

CHE-1024 (CHE-835 v3 layer 12/12): two-client persistence journey and user guidance for multi-currency. AI-authored (Claude Opus, Multica agent x99-claude-opus).

  • Base: CHE-1023 head 6645d03f733a0ff4c19bfc48cb5dcda527557723 (PR [AI] CHE-1023: Enforce denomination in derived report widgets #132, branch author/CHE-1023/c094bf249ff2). The head moved twice while this ran (00ef2a12a, then daecdc62c); merged in (latest merge 99b45615a).
  • packages/desktop-client/e2e/currency-sync.test.ts: two isolated browser clients (own storage each) against a disposable local sync server (E2E_SYNC_SERVER_URL; skipped without it). Client A creates the budget, uploads it; client B downloads it. Checked on both clients after real sync round trips: Main currency, manual rate, custom unit and unit rate, a saved report, manual edit (1.1 → 1.25), manual removal (total becomes unavailable), cached automatic rate (1.2 → 1.3, no network: rate hosts are blocked and asserted untouched), and reload. A before/after snapshot of transactions (amounts 50000 and 10000) and budget category cells is identical on both clients.
  • packages/docs/docs/budgeting/multi-currency.md: replaces "does not support multi-currency" with Main currency, manual/automatic rates, current-rate estimate, missing-rate behavior, off-budget foreign accounts, deferred crypto and unsupported formulas. The old rule-template method is kept as a labeled legacy section. Vietnamese visibility stays gated.
  • Release note upcoming-release-notes/che-1024-multi-currency-docs.md.

Run it: start ACTUAL_DATA_DIR=<empty dir> ACTUAL_PORT=5106 node packages/sync-server/build/app.js (after yarn build:server) and the web app, then E2E_START_URL=http://localhost:3001 E2E_SYNC_SERVER_URL=http://127.0.0.1:5106 E2E_EVIDENCE_DIR=<dir> yarn workspace @actual-app/web run playwright test currency-sync --browser=chromium --retries=0. Use a fresh data dir per run (login rate limit).

Refs CHE-1024
Refs CHE-835


Bundle Stats

Bundle Files count Total bundle size % Changed
desktop-client 44 14.16 MB 0%
loot-core 1 4.67 MB 0%
api 2 3.88 MB 0%
cli 1 8.02 MB 0%
crdt 1 11.16 kB 0%
View detailed bundle stats

desktop-client

Total

Files count Total bundle size % Changed
44 14.16 MB 0%
View detailed bundle breakdown

Added
No assets were added

Removed
No assets were removed

Bigger
No assets were bigger

Smaller
No assets were smaller

Unchanged

Asset File Size % Changed
static/js/index.js 1.78 MB 0%
static/js/BackgroundImage.js 121.09 kB 0%
static/js/DateSelect.js 2.37 MB 0%
static/js/FormulaEditor.js 767.24 kB 0%
static/js/ManageRules.js 83.15 kB 0%
static/js/NotesTagFormatter.js 25.94 kB 0%
static/js/PayeeRuleCountLabel.js 12.81 kB 0%
static/js/ReportRouter.js 1.57 MB 0%
static/js/ScheduleEditForm.js 75.41 kB 0%
static/js/SchedulesTable.js 171.25 kB 0%
static/js/TourHost.js 169.22 kB 0%
static/js/TourProvider.js 1.54 kB 0%
static/js/TransactionList.js 79.22 kB 0%
static/js/TransactionList2.js 168.62 kB 0%
static/js/Value.js 1.8 MB 0%
static/js/bootstrapHyperFormula.js 302 B 0%
static/js/ca.js 170.64 kB 0%
static/js/client.js 452.05 kB 0%
static/js/columns.js 673.76 kB 0%
static/js/de.js 186.43 kB 0%
static/js/en-GB.js 13.69 kB 0%
static/js/en.js 272.82 kB 0%
static/js/es.js 183.73 kB 0%
static/js/fr.js 178.59 kB 0%
static/js/indexeddb-main-thread-worker-e59fee74.js 13.46 kB 0%
static/js/it.js 152.08 kB 0%
static/js/months.js 593.39 kB 0%
static/js/narrow.js 290.14 kB 0%
static/js/nb-NO.js 135.89 kB 0%
static/js/nl.js 151.78 kB 0%
static/js/pl.js 148.93 kB 0%
static/js/pt-BR.js 178.74 kB 0%
static/js/ru.js 211 kB 0%
static/js/theme.js 31.68 kB 0%
static/js/uk.js 210.69 kB 0%
static/js/useAccountBalances.js 220.92 kB 0%
static/js/useFormatList.js 10.4 kB 0%
static/js/useLocalPref.js 97.2 kB 0%
static/js/useReducedMotion.js 594 B 0%
static/js/vi.js 15.89 kB 0%
static/js/wide.js 285.94 kB 0%
static/js/workbox-window.prod.es5.js 7.21 kB 0%
static/js/zh-Hans.js 107.31 kB 0%
static/js/zh-Hant.js 130.92 kB 0%

loot-core

Total

Files count Total bundle size % Changed
1 4.67 MB 0%
View detailed bundle breakdown

Added
No assets were added

Removed
No assets were removed

Bigger
No assets were bigger

Smaller
No assets were smaller

Unchanged

Asset File Size % Changed
kcab.worker.CfRaXv_7.js 4.67 MB 0%

api

Total

Files count Total bundle size % Changed
2 3.88 MB 0%
View detailed bundle breakdown

Added
No assets were added

Removed
No assets were removed

Bigger
No assets were bigger

Smaller
No assets were smaller

Unchanged

Asset File Size % Changed
index.js 3.88 MB 0%
models.js 0 B 0%

cli

Total

Files count Total bundle size % Changed
1 8.02 MB 0%
View detailed bundle breakdown

Added
No assets were added

Removed
No assets were removed

Bigger
No assets were bigger

Smaller
No assets were smaller

Unchanged

Asset File Size % Changed
cli.js 8.02 MB 0%

crdt

Total

Files count Total bundle size % Changed
1 11.16 kB 0%
View detailed bundle breakdown

Added
No assets were added

Removed
No assets were removed

Bigger
No assets were bigger

Smaller
No assets were smaller

Unchanged

Asset File Size % Changed
index.js 11.16 kB 0%

…rts (CHE-1024)

Two isolated browser clients against a disposable local sync server check Main currency, manual and cached automatic rates, custom units and saved reports after sync and reload, and that stored scale-100 amounts and budget category cells are unchanged.
@github-actions github-actions Bot added the AI generated PR authored with AI assistance label Oct 5, 2026
@autofix-troubleshooter

Copy link
Copy Markdown

Hi! I'm the autofix logoautofix.ci troubleshooter bot.

It looks like you correctly set up a CI job that uses the autofix.ci GitHub Action, but the autofix.ci GitHub App has not been installed for this repository. This means that autofix.ci unfortunately does not have the permissions to fix this pull request. If you are the repository owner, please install the app and then restart the CI workflow! 😃

congvc-bot[bot] added 3 commits October 5, 2026 17:21
…eport surfaces across two clients (CHE-1024)

- Assert persisted prefs (Main, manual rates, custom unit and rate) and the saved
  report's real settings on both clients after sync and after a full reload.
- Use an aligned January 2017 fixture: assert finite budget, spent, leftover and
  carryover values before comparing snapshots through every rate edit.
- Add a manual custom-unit (X-POINTS) account and assert rendered numeric or
  unavailable results on the receiving client for sidebar, net worth, cash flow,
  spending, summary, calendar, balance forecast, budget analysis, crossover state
  and the saved custom report, through rate changes, rate removal and reload.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

AI generated PR authored with AI assistance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant