Skip to content

t3316: fix validatePositionalParams — add pipe-delimited cell exclusion#4614

Merged
alex-solovyev merged 1 commit intomainfrom
bugfix/t3316-positional-params-detection
Mar 14, 2026
Merged

t3316: fix validatePositionalParams — add pipe-delimited cell exclusion#4614
alex-solovyev merged 1 commit intomainfrom
bugfix/t3316-positional-params-detection

Conversation

@marcusquinn
Copy link
Copy Markdown
Owner

Summary

  • Adds $[1-9]\s*\| pattern to the false-positive exclusion block in validatePositionalParams(), covering pipe-delimited table cells where $N appears before a | character (e.g. echo "$5 | next column")
  • The existing ^\s*\| check only caught markdown table rows that start with |; this adds coverage for cells where $N precedes a pipe mid-line
  • JS syntax verified; 5 targeted test cases all pass

Findings addressed

  • Gemini (medium): Consolidate consecutive if statements — the suggestion also included the missing $[1-9]\s*\| pattern; that pattern is the actionable fix (the if blocks were already consolidated in the prior PR)
  • CodeRabbit (medium): Already addressed in commit 07b8c65 (line-wide escaped-dollar skip replaced with strip-then-check approach); no further change needed

Closes #3316

…sitionalParams

Address Gemini review feedback from PR #2388: add $[1-9]\s*\| pattern to
skip pipe-delimited table cells where $N appears before a pipe character.
The existing check only caught rows starting with | (markdown table rows);
this adds coverage for cells like 'echo "$5 | next column"'.

Closes #3316
@gemini-code-assist
Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Mar 14, 2026

Important

Review skipped

Auto reviews are limited based on label configuration.

🚫 Review skipped — only excluded labels are configured. (1)
  • no-review

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 0ee5d4f0-6537-4f5c-abbf-de54c63031db

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch bugfix/t3316-positional-params-detection
📝 Coding Plan
  • Generate coding plan for human review comments

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions github-actions bot added the bug Auto-created from TODO.md tag label Mar 14, 2026
@github-actions
Copy link
Copy Markdown
Contributor

🔍 Code Quality Report

�[0;35m[MONITOR]�[0m Code Review Monitoring Report

�[0;34m[INFO]�[0m Latest Quality Status:
SonarCloud: 0 bugs, 0 vulnerabilities, 413 code smells

�[0;34m[INFO]�[0m Recent monitoring activity:
Sat Mar 14 05:33:10 UTC 2026: Code review monitoring started
Sat Mar 14 05:33:10 UTC 2026: SonarCloud - Bugs: 0, Vulnerabilities: 0, Code Smells: 413

📈 Current Quality Metrics

  • BUGS: 0
  • CODE SMELLS: 413
  • VULNERABILITIES: 0

Generated on: Sat Mar 14 05:33:13 UTC 2026


Generated by AI DevOps Framework Code Review Monitoring

@sonarqubecloud
Copy link
Copy Markdown

@alex-solovyev alex-solovyev merged commit ce86c9e into main Mar 14, 2026
17 checks passed
@alex-solovyev alex-solovyev deleted the bugfix/t3316-positional-params-detection branch March 14, 2026 05:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Auto-created from TODO.md tag

Projects

None yet

Development

Successfully merging this pull request may close these issues.

quality-debt: .agents/plugins/opencode-aidevops/index.mjs — PR #2388 review feedback (medium)

2 participants