Skip to content

Commit

Permalink
Merge pull request #271 from midday-ai/feature/engine-observability
Browse files Browse the repository at this point in the history
Feature/engine observability
  • Loading branch information
pontusab authored Oct 3, 2024
2 parents 87f99b2 + ea6d6da commit 89c7725
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/preview-engine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@ jobs:
packageManager: bun
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
workingDirectory: "apps/engine"
wranglerVersion: "3.76.0"
wranglerVersion: "3.79.0"
command: deploy --minify src/index.ts --env staging
2 changes: 1 addition & 1 deletion .github/workflows/production-engine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@ jobs:
packageManager: bun
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
workingDirectory: "apps/engine"
wranglerVersion: "3.76.0"
wranglerVersion: "3.79.0"
command: deploy --minify src/index.ts --env production
10 changes: 5 additions & 5 deletions apps/engine/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,17 @@
},
"dependencies": {
"@hono/swagger-ui": "^0.4.1",
"@hono/zod-openapi": "^0.16.0",
"@hono/zod-validator": "^0.2.2",
"hono": "^4.6.2",
"@hono/zod-openapi": "^0.16.3",
"@hono/zod-validator": "^0.3.0",
"hono": "^4.6.3",
"plaid": "^27.0.0",
"typesense": "^1.8.2",
"xior": "^0.6.1",
"zod": "^3.23.8"
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20240909.0",
"@types/bun": "^1.1.9",
"wrangler": "^3.78.3"
"@types/bun": "^1.1.10",
"wrangler": "^3.79.0"
}
}
5 changes: 4 additions & 1 deletion apps/engine/wrangler.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
compatibility_date = "2023-12-01"
compatibility_date = "2024-09-02"
workers_dev = false
logpush = true

[observability]
enabled = true

[env.production]
name = "engine"
route = { pattern = "engine.midday.ai/*", zone_name = "midday.ai" }
Expand Down
Binary file modified bun.lockb
Binary file not shown.

0 comments on commit 89c7725

Please sign in to comment.