Skip to content

Commit 91f7b83

Browse files
authored
Fixes (#813)
Various, small. Mostly toward correctly rendering CourseCardBrowser in context of - scaffolded courses - with static datalayers
2 parents 62d3426 + a423151 commit 91f7b83

File tree

6 files changed

+748
-262
lines changed

6 files changed

+748
-262
lines changed

agent/a.1.assessment.md

Lines changed: 0 additions & 211 deletions
This file was deleted.

cron/README.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# Cron Automation Scripts
2+
3+
This directory contains dev-local cron automation scripts for agentic quality control and CI/CD monitoring.
4+
5+
## Scripts
6+
7+
### `nightly-ci-check.ts`
8+
9+
**Purpose**: Automated nightly CI health check and fix attempt
10+
11+
**Requirements**:
12+
- Node.js with `tsx` for TypeScript execution
13+
- GitHub CLI (`gh`) authenticated
14+
- Claude Code CLI (`claude`)
15+
- Git 2.5+ with worktree support
16+
17+
**Schedule**: Runs at 2:00 AM daily via cron
18+
19+
**Workflow**:
20+
1. Checks recent GitHub workflow runs using GitHub CLI
21+
2. Filters for scheduled workflows with unresolved failures/cancellations
22+
3. For each failure, creates a dedicated worktree using `nt` command
23+
4. Collects failure data: logs, metadata, commit ranges, PR information
24+
5. Invokes Claude Code for root cause analysis in isolated worktree
25+
6. Generates assessment reports and attempts fixes based on confidence level
26+
27+
### Configure Cron Job
28+
29+
Add to your crontab (`crontab -e`):
30+
31+
```cron
32+
# Nightly CI health check at 2:00 AM
33+
0 2 * * * cd /path/to/your/repo && npx tsx cron/nightly-ci-check.ts
34+
```
35+
36+
### Manual Testing
37+
38+
```bash
39+
cd /path/to/your/repo
40+
npx tsx cron/nightly-ci-check.ts
41+
```

0 commit comments

Comments
 (0)