Update hivegrid-cloud reference to latest main

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
davidandClaude Fable 5 committed 2026-07-08 16:15:37 +02:00
1 parent e98d38e716
commit 7b21524c86
3781 files changed
+373484 -225607

No files matched your search

@@ -1,8 +1,5 @@
import { describe, expect, test, vi } from "vitest";
import {
buildAiBrowserTaskJob,
buildAiChatCompletionJob,
buildAiEmbeddingJob,
buildBrowserSessionCleanupJob,
buildBrowserSessionRunJob,
buildBrowserUsageFlushJob,
@@ -30,11 +27,6 @@ type RetryMetrics = Pick<
>;
const descriptorBuilders = {
buildAiBrowserTaskJob: () => buildAiBrowserTaskJob({ tenantId: "tenant_1", task: { action: "research" } }),
buildAiChatCompletionJob: () =>
buildAiChatCompletionJob({ tenantId: "tenant_1", messages: [{ role: "user", content: "Hello" }] }),
buildAiEmbeddingJob: () =>
buildAiEmbeddingJob({ tenantId: "tenant_1", messages: [{ role: "user", content: "Embed this" }] }),
buildBrowserSessionCleanupJob: () => buildBrowserSessionCleanupJob({ tenantId: "tenant_1", sessionId: "session_1" }),
buildBrowserSessionRunJob: () =>
buildBrowserSessionRunJob({ tenantId: "tenant_1", sessionId: "session_1", task: { action: "capture" } }),
@@ -111,33 +103,6 @@ describe("queue retry metrics snapshot", () => {
test("locks retry defaults for every queue producer descriptor", () => {
expect(sortedRetryMetricsSnapshot()).toMatchInlineSnapshot(`
{
"${queueNames.aiChatbot}:browser-task": {
"attempts": 2,
"backoff": {
"delay": 5000,
"type": "exponential",
},
"removeOnComplete": true,
"removeOnFail": 1000,
},
"${queueNames.aiChatbot}:chat-completion": {
"attempts": 3,
"backoff": {
"delay": 2000,
"type": "exponential",
},
"removeOnComplete": true,
"removeOnFail": 1000,
},
"${queueNames.aiChatbot}:create-embedding": {
"attempts": 3,
"backoff": {
"delay": 2000,
"type": "exponential",
},
"removeOnComplete": true,
"removeOnFail": 1000,
},
"${queueNames.browserAutomation}:browser-session-cleanup": {
"attempts": 3,
"backoff": {