-
Notifications
You must be signed in to change notification settings - Fork 46
ci(cloud-agent-next): add staging worker config #4118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -111,4 +111,86 @@ | |
| "secret_name": "INTERNAL_API_SECRET_PROD", | ||
| }, | ||
| ], | ||
| "env": { | ||
| "staging": { | ||
| "name": "session-ingest-staging", | ||
| "workers_dev": true, | ||
| "routes": [], | ||
| "placement": { | ||
| "mode": "smart", | ||
| }, | ||
| "observability": { | ||
| "enabled": true, | ||
| }, | ||
| "logpush": true, | ||
| "kv_namespaces": [ | ||
| { | ||
| "binding": "USER_EXISTS_CACHE", | ||
| "id": "ab836697b6034a95beb92aceea474b10", | ||
| }, | ||
| ], | ||
| "hyperdrive": [ | ||
| { | ||
| "binding": "HYPERDRIVE", | ||
| "id": "624ec80650dd414199349f4e217ddb10", | ||
| "localConnectionString": "postgres://postgres:postgres@localhost:5432/postgres", | ||
| }, | ||
| ], | ||
| "durable_objects": { | ||
| "bindings": [ | ||
| { | ||
| "name": "SESSION_INGEST_DO", | ||
| "class_name": "SessionIngestDO", | ||
| }, | ||
| { | ||
| "name": "SESSION_ACCESS_CACHE_DO", | ||
| "class_name": "SessionAccessCacheDO", | ||
| }, | ||
| { | ||
| "name": "USER_CONNECTION_DO", | ||
| "class_name": "UserConnectionDO", | ||
| }, | ||
| ], | ||
| }, | ||
| "r2_buckets": [ | ||
| { | ||
| "binding": "SESSION_INGEST_R2", | ||
| "bucket_name": "session-ingest-staging", | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. WARNING: Staging shares the same R2 bucket as the default environment
Reply with |
||
| }, | ||
| ], | ||
| "queues": { | ||
| "producers": [ | ||
| { | ||
| "binding": "INGEST_QUEUE", | ||
| "queue": "session-ingest-processing-staging", | ||
| }, | ||
| ], | ||
| "consumers": [ | ||
| { | ||
| "queue": "session-ingest-processing-staging", | ||
| "max_retries": 3, | ||
| "dead_letter_queue": "session-ingest-dlq-staging", | ||
| }, | ||
| ], | ||
| }, | ||
| "services": [ | ||
| { | ||
| "binding": "O11Y", | ||
| "service": "o11y", | ||
| }, | ||
| ], | ||
| "secrets_store_secrets": [ | ||
| { | ||
| "binding": "NEXTAUTH_SECRET_PROD", | ||
| "store_id": "342a86d9e3a94da698e82d0c6e2a36f0", | ||
| "secret_name": "NEXTAUTH_SECRET_DEV", | ||
| }, | ||
| { | ||
| "binding": "INTERNAL_API_SECRET_PROD", | ||
| "store_id": "342a86d9e3a94da698e82d0c6e2a36f0", | ||
| "secret_name": "INTERNAL_API_SECRET_PROD", | ||
| }, | ||
| ], | ||
| }, | ||
| }, | ||
| } | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
WARNING: Staging dependencies are not declared in this repo
cloud-agent-nextnow binds tosession-ingest-staging,git-token-service-staging, andnotifications-staging, but this repo only definessession-ingest,git-token-service/git-token-service-dev, andnotifications. That means the new staging environment depends on out-of-band worker provisioning and cannot be reproduced frommain; if those workers are not already deployed separately, the staging worker will fail to resolve its service bindings.Reply with
@kilocode-bot fix itto have Kilo Code address this issue.