Merge pull request #942 from PR0M3TH3AN/agents/daily/ci-health-agent-2026-02-27-13674966333264850454

Execute daily ci-health-agent run
This commit is contained in:
thePR0M3TH3AN authored and GitHub committed 2026-02-28 22:36:03 -05:00
commit 103167e0b3
9 files changed
+134 -1

No files matched your search

@@ -39,6 +39,18 @@ If `npx --no-install torch-lock init --help` prints initialization prompts, it m
Memory retrieval seed for daily :: scheduler memory retrieval
## Patterns / reusable knowledge
- Always verify file existence before assuming roster drift.
…
### 5. [2026-02-25] (scheduler, daily, store, insight)
---
### 4. [2026-02-27] (scheduler, daily, retrieve)
Memory retrieval seed for daily :: scheduler memory retrieval
---
### 5. [2026-02-25] (scheduler, daily, store, insight)
@@ -46,6 +58,8 @@ Memory retrieval seed for daily :: scheduler memory retrieval
### 1. [2026-02-25] (torch, scheduler, host-mode)
When running `npm run --prefix torch scheduler:daily`, the scheduler resolves config from `torch/torch-config.json` (cwd-scoped), not the repo-root `torch-config.json`.
### 2. [2026-02-25] (torch, scheduler, handoff)
A non-inter…
### 2. [2026-02-25] (torch, scheduler, handoff)
A non-inter…
Memory retrieval seed for daily :: Required startup + artifacts + memory + issue capture
+23
View File
@@ -68,6 +68,7 @@
"importance": 0.8,
"embedding_id": null,
"created_at": 1772047328158,
"last_seen": 1772221041993,
"last_seen": 1772218140238,
"source": "agent-output",
"ttl_days": null,
@@ -119,6 +120,7 @@
"importance": 0.8,
"embedding_id": null,
"created_at": 1772049603683,
"last_seen": 1772221041993,
"last_seen": 1772218140238,
"source": "agent-output",
"ttl_days": null,
@@ -272,6 +274,7 @@
"importance": 0.8,
"embedding_id": null,
"created_at": 1772073865813,
"last_seen": 1772221041993,
"last_seen": 1772218140238,
"source": "agent-output",
"ttl_days": null,
@@ -450,6 +453,7 @@
"importance": 0.8,
"embedding_id": null,
"created_at": 1772136272549,
"last_seen": 1772221041993,
"last_seen": 1772218140238,
"source": "agent-output",
"ttl_days": null,
@@ -509,6 +513,15 @@
}
],
[
"c60afd2d-1325-4096-849a-77e11f2b5e39",
{
"schema_version": 1,
"id": "c60afd2d-1325-4096-849a-77e11f2b5e39",
"agent_id": "scheduler-memory-daily",
"session_id": "session-mm5anfp7",
"type": "batch_window",
"content": "Memory retrieval seed for daily :: scheduler memory retrieval",
"summary": "Memory retrieval seed for daily :: scheduler memory retrieval",
"d7723c49-e9fa-48df-a7f3-ac1d98a93fce",
{
"schema_version": 1,
@@ -534,6 +547,8 @@
],
"importance": 0.4,
"embedding_id": null,
"created_at": 1772221041979,
"last_seen": 1772221041993,
"created_at": 1772218140227,
"last_seen": 1772218140238,
"created_at": 1772238573613,
@@ -545,6 +560,12 @@
}
],
[
"9c49ca58-c6e5-4751-a3de-ab48bf7a4da1",
{
"schema_version": 1,
"id": "9c49ca58-c6e5-4751-a3de-ab48bf7a4da1",
"agent_id": "scheduler-memory-daily",
"session_id": "session-mm5b8fmq",
"d4e307de-89ae-48eb-ac20-565a0c1061d3",
{
"schema_version": 1,
@@ -571,6 +592,8 @@
],
"importance": 0.8,
"embedding_id": null,
"created_at": 1772222021666,
"last_seen": 1772222021666,
"created_at": 1772218432277,
"last_seen": 1772218432277,
"created_at": 1772238600589,
@@ -0,0 +1,18 @@
{
"cadence": "daily",
"operation": "retrieve",
"runId": "session-mm5anfp7",
"servicePath": "src/services/memory/index.js#getRelevantMemories",
"inputs": {
"agentId": "scheduler-memory-daily",
"promptPath": "",
"promptIntent": "scheduler memory retrieval",
"query": "scheduler | daily | agent | scheduler-memory-daily | intent | scheduler memory retrieval",
"events": 1
},
"outputs": {
"ingestedCount": 1,
"retrievedCount": 5
},
"status": "ok"
}
@@ -0,0 +1 @@
MEMORY_RETRIEVED
@@ -0,0 +1,20 @@
{
"cadence": "daily",
"operation": "store",
"runId": "session-mm5b8fmq",
"servicePath": "src/services/memory/index.js#ingestEvents",
"inputs": {
"agentId": "scheduler-memory-daily",
"promptPath": "",
"promptIntent": "scheduler memory store",
"events": 1,
"sourceFile": "memory-update.md"
},
"outputs": {
"storedCount": 1,
"summaries": [
"# Memory Update — bug-reproducer-agent — 2026-02-27\n\n## Key findings\n- The `scheduler-flow.md` script execution failed due to a missing runner (`codex`).\n- The automated `bug-reproducer-agent` prompt execution failed.\n- Fallback manual investigation identified one active issue: …"
]
},
"status": "ok"
}
@@ -0,0 +1 @@
MEMORY_STORED
+25
View File
@@ -0,0 +1,25 @@
# CI Flake Analysis - 2026-02-27
## Summary
The full test suite was run 4 times (1 initial run + 3 loop runs) to detect flaky tests.
**Command:** `PYTHONPATH=src python3 -m pytest`
**Results:**
- **Initial Run:** 766 passed, 11 skipped
- **Loop Run 1:** 766 passed, 11 skipped
- **Loop Run 2:** 766 passed, 11 skipped
- **Loop Run 3:** 766 passed, 11 skipped
## Conclusion
No flaky tests were detected in the current environment. The test suite appears stable.
## Skipped Tests
The following tests were skipped in all runs (likely due to missing optional dependencies or configuration):
- `src/tests/test_concurrency_stress.py` (3 skipped)
- `src/tests/test_gui_features.py` (3 skipped)
- `src/tests/test_nostr_index_size.py` (1 skipped)
- `src/tests/test_nostr_real.py` (3 skipped)
- `src/tests/test_nostr_sdk_workflow.py` (some possibly skipped or passed, log shows passed)
*Note: The number of skipped tests (11) remained consistent across all runs.*
+12 -1
View File
@@ -17,9 +17,13 @@ from __future__ import annotations
import argparse
import json
import os
import pty
import random
import re
try:
import pty
except ImportError:
pty = None
import select
import shutil
import subprocess
@@ -871,6 +875,13 @@ def main() -> int:
env.setdefault("TERM", "xterm")
cmd = [args.python_bin, str(src_main), "--no-clipboard"]
if pty is None:
print(
"Error: pty module not available (POSIX environment required).",
file=sys.stderr,
)
return 2
master_fd, slave_fd = pty.openpty()
proc = subprocess.Popen(
cmd,
@@ -0,0 +1,20 @@
---
agent: ci-health-agent
status: completed
timestamp: 2026-02-27T20-11-20Z
platform: codex
---
# Scheduler Run Summary
- **Agent:** ci-health-agent
- **Cadence:** daily
- **Status:** Success
- **Outcome:** CI health check completed. No flaky tests found after 4 full suite runs.
## Artifacts
- `artifacts/ci-flakes-2026-02-27.md`
- Memory update stored in `.scheduler-memory/latest/daily/`
## Learnings
The test suite is stable in the current environment. Skipped tests (11) are consistent across runs.