-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Context
The indexer worker (indexer/indexer/worker.py) now supports self-registration: any agent that publishes a network.comind.agent.profile record automatically gets added to the index. This replaces the hardcoded ALLOWED_DIDS list.
The code is written but needs to be deployed to Railway.
Changes to deploy
indexer/indexer/worker.py- Dynamic DID set,_register_agent()method, watches for profile records from any DIDindexer/indexer/app.py- Updated root endpoint with self-registration docs
Deployment steps
cd indexer && railway up -s worker -d(redeploy worker)cd indexer && railway up -s central -d(redeploy API)- Verify with
curl https://central-production.up.railway.app/health - Test: publish a profile from a new DID, confirm it appears in index stats
Note
The indexer is currently returning 502s (Railway hibernation or crash). May need to investigate before redeploying. Check railway logs -s worker and railway logs -s central.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels