Skip to content

Migrate pipeline lint rules to AST-grep#4381

Open
edmundmiller wants to merge 1 commit into
astgrep-stack-basefrom
astgrep-pipeline-lint-rules
Open

Migrate pipeline lint rules to AST-grep#4381
edmundmiller wants to merge 1 commit into
astgrep-stack-basefrom
astgrep-pipeline-lint-rules

Conversation

@edmundmiller

@edmundmiller edmundmiller commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Stack child of #4377.

Moves the pipeline/workflow lint examples onto AST-grep rule files: ifEmpty(null), TODO comments, and System.exit checks.

No subworkflow-specific changes here; subworkflow TODO lint delegates to the same shared pipeline TODO helper.

Stack

  1. Bump tree-sitter-nextflow parser pin #4378
  2. Add AST-grep lint foundations #4377
  3. Migrate pipeline lint rules to AST-grep #4381 👈 current
  4. Flag legacy versions.yml topic outputs #4379
  5. Flag legacy versions emits #4380

@codecov

codecov Bot commented Jul 7, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 78.10%. Comparing base (9500344) to head (1a08623).

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@mashehu mashehu added this to the 4.2.0 milestone Jul 7, 2026
@edmundmiller
edmundmiller force-pushed the astgrep-pipeline-lint-rules branch from d90cc75 to afe2bb4 Compare July 8, 2026 03:44
@edmundmiller
edmundmiller force-pushed the astgrep-pipeline-lint-rules branch from afe2bb4 to 1a08623 Compare July 8, 2026 03:50
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.

2 participants