Commit 7891b15
committed
fix(content-ingest, scripts): unify on JINA_API_KEY, no more silent free-tier fallback
docker-compose.yml and services/content-ingest/src/jina.ts have always
read JINA_API_KEY, but .env.example (and every local .env copied from
it) defined JINA_AI_API_KEY — so the paid key never actually reached
the container. It degraded gracefully to Jina's free/no-auth tier, so
nothing looked broken, but content-ingest has been running on free-tier
rate limits since day one, including on the deployed humain-vc
instance. scripts/jina-fetch-urls.mjs already carried a comment
documenting this exact mismatch as a deliberate workaround; standardized
on JINA_API_KEY everywhere instead of routing around it.
Production content-ingest on Railway now has JINA_API_KEY set (done
directly in the Railway dashboard) and has redeployed successfully.
DEPLOYMENT.md's "Known gaps" section updated to drop this entry.
Files changed:
- .env.example
- scripts/jina-fetch-urls.mjs
- DEPLOYMENT.md1 parent 9ef8244 commit 7891b15
3 files changed
Lines changed: 7 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
113 | | - | |
| 113 | + | |
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
| |||
220 | 220 | | |
221 | 221 | | |
222 | 222 | | |
223 | | - | |
224 | | - | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | | - | |
231 | 223 | | |
232 | 224 | | |
233 | 225 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
| 15 | + | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| |||
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
182 | | - | |
| 182 | + | |
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
| |||
0 commit comments