Repository navigation
Closed
Description
Problem
- The nightly suite has failed three nights in a row (2026-11-14 to 2026-11-16) on one test:
packages/core/test/extensionPackageServers.test.ts, "a matching run launches the package through the stdio bridge for Claude and Codex; …", errorNo reply to initialize. The bridge config'sexecutableis/usr/local/bin/node(correct inside the agent image,packages/core/src/extensions/packageLaunch.ts). The test helperbridgeSession()rewritesconfig.args[0]for running outside a container but leavesexecutable, soscripts/extension-stdio-bridge.mjsexits atrealpath(config.executable)on any host where/usr/local/bin/nodedoes not exist (the self-hosted nightly runner, developer machines). It reproduces locally every time. - Starting an older ProPR image on a database that a newer version migrated stops with knex's message
The migration directory is corrupt, the following files are missing: 20261111000000_add_reasoning_level_columns.js, …and the container restarts in a loop. This took the public demo down for a day (its pinned 0.9.1 image received a database copied from an instance running newer code). The message suggests file corruption; the real cause is a version mismatch. - In demo mode the web UI requests administrator-only endpoints and logs 403 errors in the browser console on Dashboard, Analytics, Coding agents, LLM Log, Settings and New automation:
/api/config/agent-tank/detect,/status,/history,/api/config/agent-tank,/api/instance/extensions/v1,/api/agent-runtime/packages,/api/config/visual-preview-auth,/api/config/preview-storage.
Expected / acceptance criteria
- 1: the test sets the bridge executable to
process.execPathwhen it runs the bridge outside a container, and passes on a host without/usr/local/bin/node. Check the other tests that spawn the bridge for the same assumption. - 2: before running migrations, when the database lists applied migrations that this version does not ship, the process logs and exits with:
This database was migrated by a newer ProPR version (N newer migrations, latest: <name>). Start that version or newer, or restore a backup taken before the upgrade.No stack trace. Covered by a test. - 3: in demo mode the UI does not request endpoints the demo viewer may not read (or the API answers them with an empty read-only result); no 4xx console errors on those pages in a demo-mode browser test.
Implementation
1: packages/core/test/extensionPackageServers.test.ts. 2: packages/core/src/db/migrationGate.ts / connection.ts (compare knex_migrations names with the migration directory listing before migrate.latest()). 3: gate the queries in the UI on the demo-mode flag from /api/auth/demo-mode, or add the read routes to the demo viewer allow-list in packages/api/demoViewerRoutes.ts where they expose nothing sensitive.
Notes
ProPR runs on SQLite only: do not add code or tests for other databases. Do not make an older version run on a newer schema; only improve the message.
Activity
propr-dev commentedon Nov 17, 2026
🤖 AI processing has started for this issue using claude agent with claude-opus-5-5 model.
I'll analyze the problem and work on a solution. This may take a few minutes.
Processing Details:
claudeclaude-opus-5-53620/claude-opus-5-5-nightly-test-fails-on-hos-20261117-0305-q6v3616-epic-0-9-d8bissue-3620-20261117-0305-claude-opus-5-5-q6v🔍 Track Task Execution
I fixed all three parts of #3620, and each fix has a test.
I fixed it: a run that commits changes but opens no PR now ends as a …
[3688 by Claude Opus 5.5] A run reports completion without opening a …