You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Investigate auth session issuance failure at migration 80 on 4218 #610
The packaged auth CLI on checkpoint 0.1.8-nightly.20261105.4218 fails to issue an operator session against an existing installation home:
MigrationHistoryError: Database migration history cannot be converted safely: effect_sql_migrations contains an unknown or non-contiguous identity 80_ScheduledTaskThreadMode
The installed app and its running server both report 4218. The attempt used that same installed package's server entry and an explicit existing base directory, with auth session issue, ordinary read/settings-write scopes, and a short TTL. It exited 1 without issuing a bearer token. A browser without an existing session then correctly requires pairing, so it cannot supply an operator fallback by itself.
The same packaged CLI succeeds against a newly created disposable home. This narrows the observation to the existing migration history, not general inability to issue a session. No migration ledger was deleted, repaired, or rewritten, and no alternate CLI was used against the existing home. The cause of the history disagreement is not yet established.
Investigate apps/server/src/persistence/DatabaseMigrations.ts and auth CLI database initialization. Preserve the migration safety guard; provide a compatible supported operator path or an actionable explanation before changing state. Regression coverage should use a synthetic history reproducing the observed identity/ledger shape, without private database contents.
Found while preparing isolated native acceptance for #482. A clean disposable backend unblocked that QA; it does not repair authentication against the existing home.
Activity