Commit e93ad52
ci(replatform): load the app as a component (fix ingest 404 → parity never passed)
The Replatform Parity workflow has never succeeded — every run fails at "Ingest
corpus" with `Ingest begin failed: 404 Not found`, so nothing past unit tests
(integration, e2e, parity, search-eval, chat-grounding) has ever actually run.
Root cause: the workflow started Harper with `harper start`, which boots a bare
installed instance with none of the app's custom resources. The ingest client
POSTs to /Ingest (an exported Resource), which only exists when app/ is loaded as
a COMPONENT. Confirmed locally: /Ingest returns 401/500 under `harper dev/run .`
but 404 under `harper start`.
Fix: run the app as a component — `harper run .` from app/, backgrounded (env,
including the API keys, is inherited). Also wait on / then fail fast with the app
log if /Ingest still 404s, so a component-load regression is obvious instead of
silently cascading into the ingest step.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Eijma5uKcPZi9tqV2aJBeh1 parent ced5a44 commit e93ad52
1 file changed
Lines changed: 16 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
78 | | - | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
79 | 83 | | |
80 | 84 | | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
81 | 95 | | |
82 | 96 | | |
83 | 97 | | |
| |||
0 commit comments