t161+t162(Arcrun@9f777ff):/health 吐 bundle_version(解假警報迴圈)+portal session 過期說原因

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-31 15:35:15 +08:00
parent 0a043701d0
commit ba291f83d4
3 changed files with 10 additions and 8 deletions
+3 -3
View File
@@ -1,7 +1,7 @@
{
"schema": "arcrun-rag-bundles/v1",
"built": "2026-07-31",
"source": "Arcrun@341bcb1",
"source": "Arcrun@9f777ff",
"core": [
{
"name": "arcrun-array-ops",
@@ -503,7 +503,7 @@
"tier": 2,
"main_file": "tier2/cypher/index.js",
"main_module": "index.js",
"sha256": "0761688567af20a0ccaca1ee07258e5500514703ae1b40d74e5bf6575aad452f",
"sha256": "aa65d7fa72ce4684de4f0289694bac0a988406086c09ebceda4098fded7008be",
"compat_date": "2025-02-19",
"compat_flags": [
"nodejs_compat",
@@ -634,7 +634,7 @@
"tier": 2,
"main_file": "tier2/ui/index.js",
"main_module": "index.js",
"sha256": "2e6ce19476444e30ec4c0cb2a6869dbb9c50db3d0b82e18adf05830a05514cba",
"sha256": "30ea47698513e66df985cd54a0d3235ca226a8300326c70b2b358f31bc81e44d",
"compat_date": "2026-07-01",
"compat_flags": [],
"modules": [],
+6 -4
View File
@@ -9876,10 +9876,12 @@ init_virtual_unenv_global_polyfill_cloudflare_unenv_preset_node_console();
init_performance2();
init_dist();
var healthRouter = new Hono2();
healthRouter.get(
"/health",
(c) => c.json({ ok: true })
);
healthRouter.get("/health", (c) => {
const bundleVersion = c.env.ARCRUN_BUNDLE_VERSION;
return c.json(
bundleVersion ? { ok: true, bundle_version: bundleVersion } : { ok: true }
);
});
healthRouter.get(
"/",
(c) => c.json({
+1 -1
View File
File diff suppressed because one or more lines are too long