santifer/career-ops · warning
follow-ups.md: of rows will be skipped by stats.mjs and…
Error message
follow-ups.md: ${fups.unparsedLines.length} of ${fups.dataRows} rows will be skipped by stats.mjs and followup-cadence.mjs (line${fups.unparsedLines.length === 1 ? '' : 's'} ${fups.unparsedLines.join(', ')}) — expected ${FOLLOWUPS_COLUMNS} What it means
verify-pipeline.mjs Check (follow-ups schema) validates data/follow-ups.md rows against the expected column set FOLLOWUPS_COLUMNS. When some but not all data rows fail to parse, it warns that stats.mjs and followup-cadence.mjs will silently skip those lines, undercounting follow-ups.
Solutions
- Open follow-ups.md and fix the listed line numbers to match the header's column order (see modes/followup.md)
- If the whole file uses an old schema, regenerate rows per the current FOLLOWUPS_COLUMNS order
- Re-run `node verify-pipeline.mjs` — expect the 'schema valid (N logged follow-ups)' ok line
- Avoid hand-editing; prefer the followup mode tooling to append rows
Example fix
// before (missing a column) | 2026-09-01 | Acme | sent nudge | // after (matches FOLLOWUPS_COLUMNS) | 2026-09-01 | Acme | Backend Engineer | sent nudge | waiting |
Defensive patterns
Strategy: validation
Validate before calling
const cols = headerRow.split('|').map(s => s.trim()).filter(Boolean);
for (const [i, line] of dataLines.entries()) {
if (line.split('|').filter(c => c.trim()).length !== cols.length) console.warn(`row ${i} malformed`);
} Type guard
const parsesAsFollowup = (line, cols) => line.split('|').filter(c => c.trim()).length === cols.length; Prevention
- Append rows via the followup mode, not by hand
- Match the header's column order exactly
- Run verify-pipeline.mjs after editing follow-ups.md
- Migrate old-schema files wholesale, not row-by-row
When it happens
Trigger: Running `node verify-pipeline.mjs` after hand-editing follow-ups.md and adding rows whose column order/count deviates from the header — e.g. a missing date, an extra free-text field, or a row written in a different column order.
Common situations: Manual row insertion with columns transposed; pasting rows from an older schema version; partial failure of an earlier migration leaving mixed-format rows.
Understand the failure class
Background: Schema validation failed / invalid input schema: payload rejected because its shape doesn't match the expected schema — this error's family across 28 libraries.
Related errors
- ⚠️ Additions carry a URL but this tracker has no URL…
- apify: entry has invalid field_map. Each of title, url…
- Existing candidates file at
- ⚠️ : carries via= but the tracker has no Via column — value…
- ⚠️ : ignoring unrecognized header column(s)
AI-assisted analysis of santifer/career-ops@e7abd431fc (2026-09-16).
Data as JSON: /api/errors/c44701a90f76078b.
Report an issue: GitHub.
Appendix: source
Thrown at verify-pipeline.mjs:508
// Path resolution deliberately matches the two consumers (CAREER_OPS/data/...)
// rather than APPS_FILE's directory: the check exists to predict what they will
// do, so it has to read the same file they read.
const FOLLOWUPS_FILE = join(CAREER_OPS, 'data', 'follow-ups.md');
const FOLLOWUPS_COLUMNS = '| num | appNum | date | company | role | channel | contact | notes |';
if (!existsSync(FOLLOWUPS_FILE)) {
ok('No follow-ups.md yet — nothing to schema-check');
} else {
const fups = checkFollowupsSchema(readFileSync(FOLLOWUPS_FILE, 'utf-8'));
if (fups.pipeLines === 0) {
ok('follow-ups.md has no table rows yet');
} else if (!fups.sawSeparator) {
error(`follow-ups.md has table rows but no header delimiter row, so every row is skipped — expected ${FOLLOWUPS_COLUMNS} (see modes/followup.md)`);
} else if (fups.dataRows === 0) {
ok('follow-ups.md has no logged follow-ups yet');
} else if (fups.parsed === 0) {
error(`follow-ups.md: none of its ${fups.dataRows} row(s) parse, so stats.mjs and followup-cadence.mjs will both report zero follow-ups — expected column order ${FOLLOWUPS_COLUMNS} (see modes/followup.md)`);
} else if (fups.unparsedLines.length > 0) {
warn(`follow-ups.md: ${fups.unparsedLines.length} of ${fups.dataRows} rows will be skipped by stats.mjs and followup-cadence.mjs (line${fups.unparsedLines.length === 1 ? '' : 's'} ${fups.unparsedLines.join(', ')}) — expected ${FOLLOWUPS_COLUMNS}`);
} else {
ok(`follow-ups.md schema valid (${fups.parsed} logged follow-up${fups.parsed === 1 ? '' : 's'})`);
}
}
// --- Check 15: portals.yml entries no provider claims (#3251) ---
// Coverage rot is invisible from every other check here: an entry with
// `enabled: true` and a careers_url nothing matches reads as a tracked company
// in the config and contributes zero postings on every scan. Twelve of those
// were live on 2026-08-26, one of them a company whose real board existed and
// was one character off the slug in the file.
//
// Only the OFFLINE half of audit-portals.mjs runs here — provider resolution is
// pure config matching, so this check stays as fast and network-free as the rest
// of verify-pipeline. The live half (does the board answer, and with whose
// jobs?) needs 170 fetches and stays a separate command: `node audit-portals.mjs`.
//
// portals.yml is user-layer and gitignored, so its absence is not a finding.View on GitHub (pinned to e7abd431fc)