Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

chore: save work in progress before updating from main

Ademílson Tonato29a125b33c61
diff --git a/apps/api/requests/v2/map.requests.http b/apps/api/requests/v2/map.requests.http
index eb96552a5..976aaf2d3 100644
--- a/apps/api/requests/v2/map.requests.http
+++ b/apps/api/requests/v2/map.requests.http
@@ -10,7 +10,8 @@ Authorization: Bearer {{$dotenv TEST_API_KEY}}
content-type: application/json
{
- "url": "https://firecrawl.dev"
+ "url": "https://firecrawl.dev",
+ "limit": 2
}
# {
diff --git a/apps/api/src/__tests__/snips/v2/crawl.test.ts b/apps/api/src/__tests__/snips/v2/crawl.test.ts
index f202ff55e..419635c75 100644
--- a/apps/api/src/__tests__/snips/v2/crawl.test.ts
+++ b/apps/api/src/__tests__/snips/v2/crawl.test.ts
@@ -389,7 +389,7 @@ describe("Crawl tests", () => {
});
}
- it.concurrent(
+ it.only(
"shows warning when robots.txt blocks URLs",
async () => {
// Test with a site that has robots.txt blocking some paths
diff --git a/apps/api/src/harness.ts b/apps/api/src/harness.ts
index 695cbcfe7..ab332818d 100644
--- a/apps/api/src/harness.ts
+++ b/apps/api/src/harness.ts
@@ -340,6 +340,7 @@ function startServices(command?: string[]): Services {
{
NUQ_REDUCE_NOISE: "true",
NUQ_POD_NAME: "worker",
+ WORKER_PORT: String(3005),
},
);
@@ -351,6 +352,7 @@ function startServices(command?: string[]): Services {
{
NUQ_REDUCE_NOISE: "true",
NUQ_POD_NAME: "extract-worker",
+ EXTRACT_WORKER_PORT: String(3012),
},
);
@@ -368,20 +370,19 @@ function startServices(command?: string[]): Services {
),
);
- const nuqPrefetchWorker =
- process.env.NUQ_RABBITMQ_URL
- ? execForward(
- "nuq-prefetch-worker",
- process.argv[2] === "--start-docker"
- ? "node --import ./dist/src/otel.js dist/src/services/worker/nuq-prefetch-worker.js"
- : "pnpm nuq-prefetch-worker:production",
- {
- NUQ_PREFETCH_WORKER_PORT: String(3011),
- NUQ_REDUCE_NOISE: "true",
- NUQ_POD_NAME: "nuq-prefetch-worker",
- },
- )
- : undefined;
+ const nuqPrefetchWorker = process.env.NUQ_RABBITMQ_URL
+ ? execForward(
+ "nuq-prefetch-worker",
+ process.argv[2] === "--start-docker"
+ ? "node --import ./dist/src/otel.js dist/src/services/worker/nuq-prefetch-worker.js"
+ : "pnpm nuq-prefetch-worker:production",
+ {
+ NUQ_PREFETCH_WORKER_PORT: String(3011),
+ NUQ_REDUCE_NOISE: "true",
+ NUQ_POD_NAME: "nuq-prefetch-worker",
+ },
+ )
+ : undefined;
const indexWorker =
process.env.USE_DB_AUTHENTICATION === "true"
diff --git a/apps/nuq-postgres/nuq.sql b/apps/nuq-postgres/nuq.sql
index f22a6b83a..8d1f876df 100644
--- a/apps/nuq-postgres/nuq.sql
+++ b/apps/nuq-postgres/nuq.sql
@@ -53,3 +53,5 @@ $$);
SELECT cron.schedule('nuq_queue_scrape_reindex', '0 9 * * *', $$
REINDEX TABLE CONCURRENTLY nuq.queue_scrape;
$$);
+
+ALTER TABLE nuq.queue_scrape ADD COLUMN listen_channel_id text;