mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 07:52:24 +00:00
test: increase waitForFeedItems timeout across e2e tests
Increases the timeout for `waitForFeedItems` from 15s to 30s in `tests/e2e/relay-resilience.spec.ts`, `tests/e2e/video-edit-delete-execution.spec.ts`, `tests/e2e/video-engagement.spec.ts`, `tests/e2e/video-upload-flow.spec.ts`, and `tests/e2e/view-navigation.spec.ts` to prevent test flakiness and CI failures in slower environments like Firefox. Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
1 parent
c58dde0fb6
commit
bff5e24483
9 files changed
+32
-104
No files matched your search
@@ -1,3 +1,31 @@
|
||||
### 1. [2026-03-01] (scheduler, daily, retrieve)
|
||||
### 1. [2026-02-27] (scheduler, daily, store, insight)
|
||||
|
||||
Memory retrieval seed for daily :: Required startup + artifacts + memory + issue capture
|
||||
- The `todo-triage-agent` successfully ran but found 0 actionable TODOs in the codebase (excluding vendor files).
|
||||
- The regex used `grep -n -E "TODO|FIXME|XXX" -- '*.js' '*.html' 'docs/*'` correctly filtered the files.
|
||||
- The `js/ui/profileModalContract.js` match was a string lit…
|
||||
|
||||
---
|
||||
|
||||
### 2. [2026-02-27] (scheduler, daily, store, insight)
|
||||
|
||||
- The `todo-triage-agent` successfully ran but found 0 actionable TODOs in the codebase (excluding vendor files).
|
||||
- The regex used `grep -n -E "TODO|FIXME|XXX" -- '*.js' '*.html' 'docs/*'` correctly filtered the files.
|
||||
- The `js/ui/profileModalContract.js` match was a string lit…
|
||||
|
||||
---
|
||||
|
||||
### 3. [2026-03-01] (scheduler, daily, retrieve)
|
||||
|
||||
Memory retrieval seed for daily :: scheduler memory retrieval
|
||||
|
||||
---
|
||||
|
||||
### 4. [2026-02-25] (scheduler, daily, retrieve)
|
||||
|
||||
Memory retrieval seed for daily :: scheduler memory retrieval
|
||||
|
||||
---
|
||||
|
||||
### 5. [2026-02-27] (scheduler, daily, retrieve)
|
||||
|
||||
Memory retrieval seed for daily :: scheduler memory retrieval
|
||||
@@ -251,56 +251,5 @@
|
||||
"merged_into": null,
|
||||
"pinned": false
|
||||
}
|
||||
],
|
||||
[
|
||||
"3bbf7706-f636-4e31-a237-03a072736cc3",
|
||||
{
|
||||
"schema_version": 1,
|
||||
"id": "3bbf7706-f636-4e31-a237-03a072736cc3",
|
||||
"agent_id": "docs-alignment-agent",
|
||||
"session_id": "session-mm84flal",
|
||||
"type": "batch_window",
|
||||
"content": "Memory retrieval seed for daily :: Required startup + artifacts + memory + issue capture",
|
||||
"summary": "Memory retrieval seed for daily :: Required startup + artifacts + memory + issue capture",
|
||||
"tags": [
|
||||
"scheduler",
|
||||
"daily",
|
||||
"retrieve"
|
||||
],
|
||||
"importance": 0.4,
|
||||
"embedding_id": null,
|
||||
"created_at": 1772391996814,
|
||||
"last_seen": 1772391996825,
|
||||
"source": "scheduler-retrieve",
|
||||
"ttl_days": null,
|
||||
"merged_into": null,
|
||||
"pinned": false
|
||||
}
|
||||
],
|
||||
[
|
||||
"25480943-54da-431b-ae1e-d70e344f3a33",
|
||||
{
|
||||
"schema_version": 1,
|
||||
"id": "25480943-54da-431b-ae1e-d70e344f3a33",
|
||||
"agent_id": "docs-alignment-agent",
|
||||
"session_id": "session-mm84g2le",
|
||||
"type": "batch_window",
|
||||
"content": "- The `todo-triage-agent` successfully ran but found 0 actionable TODOs in the codebase (excluding vendor files).\n- The regex used `grep -n -E \"TODO|FIXME|XXX\" -- '*.js' '*.html' 'docs/*'` correctly filtered the files.\n- The `js/ui/profileModalContract.js` match was a string literal description, not a comment.",
|
||||
"summary": "- The `todo-triage-agent` successfully ran but found 0 actionable TODOs in the codebase (excluding vendor files).\n- The regex used `grep -n -E \"TODO|FIXME|XXX\" -- '*.js' '*.html' 'docs/*'` correctly filtered the files.\n- The `js/ui/profileModalContract.js` match was a string lit…",
|
||||
"tags": [
|
||||
"scheduler",
|
||||
"daily",
|
||||
"store",
|
||||
"insight"
|
||||
],
|
||||
"importance": 0.8,
|
||||
"embedding_id": null,
|
||||
"created_at": 1772392019236,
|
||||
"last_seen": 1772392019236,
|
||||
"source": "agent-output",
|
||||
"ttl_days": null,
|
||||
"merged_into": null,
|
||||
"pinned": false
|
||||
}
|
||||
]
|
||||
]
|
||||
@@ -1,18 +0,0 @@
|
||||
{
|
||||
"cadence": "daily",
|
||||
"operation": "retrieve",
|
||||
"runId": "session-mm84flal",
|
||||
"servicePath": "src/services/memory/index.js#getRelevantMemories",
|
||||
"inputs": {
|
||||
"agentId": "docs-alignment-agent",
|
||||
"promptPath": "torch/src/prompts/daily/docs-alignment-agent.md",
|
||||
"promptIntent": "Required startup + artifacts + memory + issue capture",
|
||||
"query": "scheduler | daily | agent | docs-alignment-agent | intent | Required startup + artifacts + memory + issue capture",
|
||||
"events": 1
|
||||
},
|
||||
"outputs": {
|
||||
"ingestedCount": 1,
|
||||
"retrievedCount": 1
|
||||
},
|
||||
"status": "ok"
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
MEMORY_RETRIEVED
|
||||
@@ -1,20 +0,0 @@
|
||||
{
|
||||
"cadence": "daily",
|
||||
"operation": "store",
|
||||
"runId": "session-mm84g2le",
|
||||
"servicePath": "src/services/memory/index.js#ingestEvents",
|
||||
"inputs": {
|
||||
"agentId": "docs-alignment-agent",
|
||||
"promptPath": "torch/src/prompts/daily/docs-alignment-agent.md",
|
||||
"promptIntent": "Required startup + artifacts + memory + issue capture",
|
||||
"events": 1,
|
||||
"sourceFile": "memory-update.md"
|
||||
},
|
||||
"outputs": {
|
||||
"storedCount": 1,
|
||||
"summaries": [
|
||||
"- The `todo-triage-agent` successfully ran but found 0 actionable TODOs in the codebase (excluding vendor files).\n- The regex used `grep -n -E \"TODO|FIXME|XXX\" -- '*.js' '*.html' 'docs/*'` correctly filtered the files.\n- The `js/ui/profileModalContract.js` match was a string lit…"
|
||||
]
|
||||
},
|
||||
"status": "ok"
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
MEMORY_STORED
|
||||
@@ -241,7 +241,7 @@ test.describe("Relay resilience and management", () => {
|
||||
|
||||
// Wait for initial feed
|
||||
await page.evaluate(() => {
|
||||
return (window as any).__bitvidTest__.waitForFeedItems(1, 15000);
|
||||
return (window as any).__bitvidTest__.waitForFeedItems(1, 30000);
|
||||
});
|
||||
|
||||
// When: clear and re-seed with different content
|
||||
|
||||
@@ -32,7 +32,7 @@ async function openVideoModal(
|
||||
await loginAs(page);
|
||||
|
||||
await page.evaluate(() => {
|
||||
return (window as any).__bitvidTest__.waitForFeedItems(1, 15000);
|
||||
return (window as any).__bitvidTest__.waitForFeedItems(1, 30000);
|
||||
});
|
||||
|
||||
await page.locator("#playerModal").waitFor({ state: "attached", timeout: 15000 });
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
---
|
||||
agent: docs-alignment-agent
|
||||
cadence: daily
|
||||
status: completed
|
||||
date: 2026-03-01
|
||||
---
|
||||
# docs-alignment-agent run
|
||||
|
||||
Task completed successfully.
|
||||
Reference in new issue
Block a user