Give nothing_to_process its own pipeline run status and keep it out of the failed trend
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 52/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- typescript
- Domain
- backend, cli, documentation, frontend
Research direction
Start with PIPELINE_RUN_STATUS_SQL in backend/src/services/compute-pipeline-progress.ts and TREND_SQL in backend/src/services/compute-pipeline-grid.ts, then read compute-pipeline-grid.test.ts, which compares the status logic. Trace where the run status labels appear in the admin CLI and website, and find the docs listing statuses. Done means nothing_to_process has its own status, is excluded from the failed trend (with the ended-count decision resolved), and labels and docs are updated.
Written by the indexing model from the issue text.
Description
A pipeline stamp that ends nothing_to_process (#2065: the job's entry exited with one of its recipe's terminalEntryExits) keeps state = 'failed'. The admin pipeline views treat it as a failure:
PIPELINE_RUN_STATUS_SQL(backend/src/services/compute-pipeline-progress.ts, around line 327) maps everys.state IN ('failed', 'refused')stamp to the run statusfailed, so a dataset with nothing to process shows as failed.TREND_SQL(backend/src/services/compute-pipeline-grid.ts, around lines 203-208) counts everys.state = 'failed'stamp in the day'sfailedcolumn, so these outcomes inflate the failure trend.
This becomes common for nemar-ica: #2704 adds exit 17 (ica_data_gated, a dataset whose every recording nemar-ica's data gate rules out) to its terminal exits. Such datasets are expected and are never retried, but they would appear as failures.
Proposed:
- Give
nothing_to_processits own run status inPIPELINE_RUN_STATUS_SQLand inpipelineRunStatus, whichcompute-pipeline-grid.test.tsholds equal to the SQL. The test means:s.state = 'failed' AND s.refusal_code = 'nothing_to_process', checked before thefailedbranch. - Leave those stamps out of
TREND_SQL'sfailedcount, and decide whether they count asendedor get a column of their own. - Update the admin CLI and website labels that read the run status, and the docs that list the statuses.
Refs #2065 (the nothing_to_process outcome) and #2704 (nemar-ica's exit 17).
Posted with the help of an AI agent (Claude).
- Dominant language
- TypeScript
- Stars
- 0
- Forks
- 1
- Avg merge
- 4h 48m
- Merged PRs (30d)
- 468
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from nemarOrg/nemar-cli
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
Maintainers usually reply within 1 day
-
testing
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
All issues in nemarOrg/nemar-cli
Similar issues
-
Codex使用可 かんたん コード
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
ryuki-moro/Nicomaru#348 ·
Maintainers usually reply within 1 day
-
Bug
Difficulty 1/5 Under an hour Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
area-integrations
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day