Skip to content

fix: pipeline success rate, tail_lines conflict, running tasks, sort order#55

Merged
geored merged 1 commit into
mainfrom
fix/pipeline-status-and-ordering
Jun 22, 2026
Merged

fix: pipeline success rate, tail_lines conflict, running tasks, sort order#55
geored merged 1 commit into
mainfrom
fix/pipeline-status-and-ordering

Conversation

@geored

@geored geored commented Jun 21, 2026

Copy link
Copy Markdown
Member

Fixes

  1. BUG: get_tekton_pipeline_runs_status reports 0% success rate when all pipelines are running #48: Success rate excludes running pipelines (was 0% when all running → now "100% (3 still running)")
  2. BUG: conservative_namespace_overview — tail_lines conflicts with adaptive since_seconds #49: Remove tail_lines=200 that conflicts with adaptive since_seconds
  3. BUG: analyze_failed_pipeline counts Running tasks as failed #50: Exclude Running/Started/Pending from failed task count + deduplicate recommendations
  4. BUG: list_pipelineruns returns oldest first when limit is applied #51: Sort list_pipelineruns results newest-first

Testing

get_tekton_pipeline_runs_status → "Pipeline success rate: 100.0% (3 still running)"

Closes #48, #49, #50, #51

… sort order

1. get_tekton_pipeline_runs_status: success rate excludes running pipelines
   from denominator (was reporting 0% when all running). Closes #48

2. conservative_namespace_overview: remove tail_lines=200 that conflicts
   with adaptive since_seconds in smart_summarize_pod_logs. Closes #49

3. analyze_failed_pipeline: exclude Running/Started/Pending tasks from
   failed count + deduplicate recommended_actions. Closes #50

4. list_pipelineruns: sort results newest-first by started_at. Closes #51
@geored geored merged commit e103b5c into main Jun 22, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BUG: get_tekton_pipeline_runs_status reports 0% success rate when all pipelines are running

2 participants