Skip to content

GH#28359: avoid substring replacement in workflow caller test#28364

Merged
alex-solovyev merged 2 commits into
mainfrom
feature/auto-20260720-211925-gh28359
Jul 21, 2026
Merged

GH#28359: avoid substring replacement in workflow caller test#28364
alex-solovyev merged 2 commits into
mainfrom
feature/auto-20260720-211925-gh28359

Conversation

@marcusquinn

Copy link
Copy Markdown
Owner

Summary

Restrict the workflow-expression null conversion to standalone null tokens so actor names and other words containing null remain unchanged.

Files Changed

.agents/scripts/tests/test-reusable-workflow-caller.sh

Runtime Testing

  • Risk level: Low (agent prompts / infrastructure scripts)
  • Verification: shellcheck .agents/scripts/tests/test-reusable-workflow-caller.sh; bash .agents/scripts/tests/test-reusable-workflow-caller.sh (26 tests passed)

Resolves #28359


aidevops.sh v3.32.159 plugin for OpenCode v1.18.4 with gpt-5.6-sol spent 1m and 36,121 tokens on this as a headless worker.

@marcusquinn marcusquinn added the origin:worker Auto-created by pulse labelless backfill (t2112) label Jul 20, 2026
@marcusquinn

marcusquinn commented Jul 20, 2026

Copy link
Copy Markdown
Owner Author

Completion Summary

  • What: Restrict the workflow-expression null conversion to standalone null tokens so actor names and other words containing null remain unchanged.
  • Issue: Review followup: PR #28353 — GH#28316: gate review concurrency after eligibility #28359
  • Files changed: .agents/scripts/tests/test-reusable-workflow-caller.sh
  • Testing: shellcheck .agents/scripts/tests/test-reusable-workflow-caller.sh; bash .agents/scripts/tests/test-reusable-workflow-caller.sh (26 tests passed)
  • Key decisions: Use Python regex word boundaries after deterministic expression substitutions to preserve embedded null substrings.

aidevops.sh v3.32.159 plugin for OpenCode v1.18.4 with gpt-5.6-sol spent 2m and 36,121 tokens on this as a headless worker.


Merged via PR #28364 to main.
Merged by deterministic merge pass (pulse-wrapper.sh).

@marcusquinn marcusquinn added the status:in-review PR open, awaiting review/merge label Jul 20, 2026
@github-actions

github-actions Bot commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Shell Function Complexity Regression Gate

No regression — no new function(s) >100 lines.

Metric Base (3aa92f5) Head (feae3bb)
Total function(s) >100 lines 0 0

@github-actions

github-actions Bot commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Bash 3.2 Compatibility Regression Gate

No regression — no new bash 3.2-incompatible construct(s).

Metric Base (3aa92f5) Head (feae3bb)
Total bash 3.2-incompatible construct(s) 0 0

@github-actions

Copy link
Copy Markdown
Contributor

🔍 Code Quality Report

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

SonarCloud: 0 bugs, 0 vulnerabilities, 1 code smells

Mon Jul 20 20:23:01 UTC 2026: Code review monitoring started
Mon Jul 20 20:23:01 UTC 2026: SonarCloud - Bugs: 0, Vulnerabilities: 0, Code Smells: 1

📈 Current Quality Metrics

  • BUGS: 0
  • CODE SMELLS: 1
  • VULNERABILITIES: 0

Generated on: Mon Jul 20 20:23:04 UTC 2026


Generated by AI DevOps Framework Code Review Monitoring

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the evaluation logic in .agents/scripts/tests/test-reusable-workflow-caller.sh to replace the literal string "null" with "None" using a regular expression with word boundaries (\bnull\b) instead of a simple dictionary replacement. The reviewer identified a potential bug where performing this regex substitution after replacing dynamic variables (such as github.actor) could inadvertently alter actor names containing "null" (e.g., changing "null-bot" to "None-bot"). The reviewer suggested executing the regex replacement before the dynamic variable loop to prevent this issue.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread .agents/scripts/tests/test-reusable-workflow-caller.sh Outdated
@github-actions

github-actions Bot commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Qlty Smell Regression Gate

No change — smell count unchanged.

Metric Base (3aa92f5) Head (feae3bb) Delta
Total smells 51 51 +0

@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

alex-solovyev
alex-solovyev previously approved these changes Jul 20, 2026

@alex-solovyev alex-solovyev left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto-approved by pulse runner @alex-solovyev — author @marcusquinn confirmed collaborator, pre-merge gates passed.


aidevops.sh v3.32.159 automated scan.

@github-actions

github-actions Bot commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Shell Nesting Depth Regression Gate

No regression — no new file(s) with nesting depth >8.

Metric Base (3aa92f5) Head (feae3bb)
Total file(s) with nesting depth >8 0 0

@coderabbitai

coderabbitai Bot commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are limited based on label configuration.

🏷️ Required labels (at least one) (1)
🚫 Excluded labels (none allowed) (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: 93072521-1e51-4797-a1f5-23a693a67fc6

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
  • Commit unit tests in branch feature/auto-20260720-211925-gh28359

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.

@github-actions

github-actions Bot commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

File Size Regression Gate

No regression — no new non-README Markdown file(s) >500 lines.

Metric Base (3aa92f5) Head (feae3bb)
Total non-README Markdown file(s) >500 lines 0 0

@alex-solovyev

Copy link
Copy Markdown
Collaborator

Stuck-merge detector: PR has been merge-eligible but unmerged past the threshold

The pulse merge pass has classified PR #28364 as STUCK_OTHER and it has been sitting unmerged longer than AIDEVOPS_MERGE_STUCK_AGE_MINUTES (currently 240m). The deterministic merge gates are evaluated every cycle (~120s) and this PR has consistently failed them.

Failing checks on PR #28364

  • (no FAILURE entries in rollup; check rollup manually)

Worker guidance for the next attempt

  1. Read PR GH#28359: avoid substring replacement in workflow caller test #28364 body + the latest check run logs:
    gh pr checks 28364 --repo marcusquinn/aidevops
  2. If the failing checks are environment/Setup-step (Format, Lint, Typecheck all FAIL at the same step), the canonical default branch likely has a broken lockfile or a CI infra change — fix at the base, not on this PR. Look for a sibling outage meta-issue in this repo (filed by the same detector) before forking off here.
  3. If the failures are PR-specific (e.g. a Typecheck error introduced by this PR's code), rebase onto the latest default branch and address the diagnosed errors. Use full-loop-helper.sh start from the linked PR's worktree.
  4. If the linked issue body lacks the worker-ready file paths and verification commands required by t1900, post a comment naming the missing context before dispatching another worker — the next attempt will burn tokens on exploration otherwise.

Why you're seeing this

Every pulse cycle (~120s) the deterministic merge pass re-evaluates open PRs. PRs that pass APPROVED + MERGEABLE but fail required checks have historically been re-evaluated silently every cycle until a human noticed. The stuck-merge detector (t3193) surfaces them after AIDEVOPS_MERGE_STUCK_AGE_MINUTES minutes idle. This comment is posted exactly once per linked issue — repeated stuck cycles will NOT spam the thread. If the PR merges and the issue is reopened later with a fresh stuck PR, the marker will allow a second comment.

Posted automatically by pulse-merge-stuck.sh (t3193 / GH#21895). Threshold env: AIDEVOPS_MERGE_STUCK_AGE_MINUTES=240.


aidevops.sh v3.32.161 automated scan.

@marcusquinn

Copy link
Copy Markdown
Owner Author

CLAIM_RELEASED reason=clean runner=marcusquinn ts=2026-07-21T15:21:28Z aidevops_version=3.32.161 opencode_version=1.18.4 exit=0 session_count=1


aidevops.sh v3.32.161 plugin for OpenCode v1.18.4

@marcusquinn marcusquinn added status:available Task is available for claiming and removed status:in-review PR open, awaiting review/merge labels Jul 21, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🔍 Code Quality Report

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

SonarCloud: 0 bugs, 0 vulnerabilities, 1 code smells

Tue Jul 21 15:21:45 UTC 2026: Code review monitoring started
Tue Jul 21 15:21:45 UTC 2026: SonarCloud - Bugs: 0, Vulnerabilities: 0, Code Smells: 1

📈 Current Quality Metrics

  • BUGS: 0
  • CODE SMELLS: 1
  • VULNERABILITIES: 0

Generated on: Tue Jul 21 15:21:48 UTC 2026


Generated by AI DevOps Framework Code Review Monitoring

@sonarqubecloud

Copy link
Copy Markdown

@vladimirdulov vladimirdulov left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto-approved by pulse runner @vladimirdulov — author @marcusquinn confirmed collaborator, pre-merge gates passed.


aidevops.sh v3.32.145 automated scan.

@alex-solovyev
alex-solovyev merged commit 0455e76 into main Jul 21, 2026
82 of 84 checks passed
@alex-solovyev
alex-solovyev deleted the feature/auto-20260720-211925-gh28359 branch July 21, 2026 15:31
@vladimirdulov vladimirdulov added the review-feedback-scanned Merged PR already scanned for quality feedback label Jul 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

origin:worker Auto-created by pulse labelless backfill (t2112) review-feedback-scanned Merged PR already scanned for quality feedback status:available Task is available for claiming

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Review followup: PR #28353 — GH#28316: gate review concurrency after eligibility

3 participants