Skip to content

feat: implement issue #207 — [Fleet Monitor] petry-projects/TalkTerm — copilot-setup-steps.yml#269

Merged
don-petry merged 11 commits into
mainfrom
dev-lead/issue-207-20260609-2144
Jun 20, 2026
Merged

feat: implement issue #207 — [Fleet Monitor] petry-projects/TalkTerm — copilot-setup-steps.yml#269
don-petry merged 11 commits into
mainfrom
dev-lead/issue-207-20260609-2144

Conversation

@don-petry

Copy link
Copy Markdown
Contributor

Closes #207

Implemented by dev-lead agent. Please review.

@don-petry don-petry requested a review from a team as a code owner June 9, 2026 21:50
Copilot AI review requested due to automatic review settings June 9, 2026 21:50
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@coderabbitai

coderabbitai Bot commented Jun 9, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@don-petry, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 31 minutes and 34 seconds. Learn how PR review limits work.

Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file).

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based credits.

🚦 How do rate limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan refill rate.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, the refill rate gradually slows as usage increases. The highest same-day bursts are limited more strictly.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: bdbb9bdf-e81c-4ebd-98c0-20457571ff63

📥 Commits

Reviewing files that changed from the base of the PR and between 40f0aae and b4131df.

📒 Files selected for processing (2)
  • .github/workflows/copilot-setup-steps.yml
  • scripts/test-copilot-setup-steps-workflow.sh
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch dev-lead/issue-207-20260609-2144

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.

@don-petry

Copy link
Copy Markdown
Contributor Author

Dev-Lead — review-changes (no-changes)

No changes were needed for this PR.

@don-petry don-petry enabled auto-merge (squash) June 9, 2026 21:51

@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 introduces a new bash script, scripts/test-copilot-setup-steps-workflow.sh, designed to verify that the .github/workflows/copilot-setup-steps.yml workflow correctly uses npm ci --ignore-scripts and includes a hashFiles conditional guard. The review feedback suggests making the script's assertions more robust by using regular expressions that can handle variations in spacing, quoting, and intermediate flags in the workflow file.

Comment thread scripts/test-copilot-setup-steps-workflow.sh Outdated
Comment thread scripts/test-copilot-setup-steps-workflow.sh Outdated

Copilot AI 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.

Pull request overview

This PR addresses issue #207 by aligning the repository’s Copilot cloud-agent setup workflow with the org-standard Node/npm installation pattern (notably using npm ci --ignore-scripts) and adding a small regression-guard script to validate key workflow invariants.

Changes:

  • Update .github/workflows/copilot-setup-steps.yml to run npm ci --ignore-scripts (still gated by hashFiles('package-lock.json')).
  • Add scripts/test-copilot-setup-steps-workflow.sh to sanity-check the workflow for the expected npm ci --ignore-scripts and hashFiles('package-lock.json') guard.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
scripts/test-copilot-setup-steps-workflow.sh Adds a regression-guard script to validate key expectations in copilot-setup-steps.yml.
.github/workflows/copilot-setup-steps.yml Updates dependency installation to npm ci --ignore-scripts under the existing package-lock guard.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread scripts/test-copilot-setup-steps-workflow.sh Outdated
@don-petry don-petry disabled auto-merge June 9, 2026 21:51
@don-petry

Copy link
Copy Markdown
Contributor Author

Dev-Lead — fix-bot-comment (applied)

Changes committed and pushed.

@don-petry don-petry enabled auto-merge (squash) June 9, 2026 21:53
@don-petry don-petry disabled auto-merge June 9, 2026 21:54
@don-petry

Copy link
Copy Markdown
Contributor Author

Dev-Lead — review-changes (no-changes)

No changes were needed for this PR.

@donpetry-bot donpetry-bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Automated review — APPROVED ✓

Risk: LOW
Reviewed commit: 6ffc25d5d8e1ae5dc061602be128d2af7bfc5ac3
Review mode: triage-approved (single reviewer)

Summary

Hardens the copilot-setup-steps.yml install step (npm ci → npm ci --ignore-scripts, aligning with the org canonical template) and adds a regression-guard script. Confirms the triage low-risk assessment.

Linked issue analysis

Closes #207 (Fleet Monitor flagged copilot-setup-steps.yml as DEGRADED, 42.9% failure rate). The change aligns the npm install step with the org standard and adds scripts/test-copilot-setup-steps-workflow.sh as a regression guard for the expected invocation and the package-lock hashFiles condition — substantively addressing the workflow-health concern.

Findings

  • npm ci --ignore-scripts under the existing hashFiles('package-lock.json') guard: a security-positive change (no lifecycle-script execution), not a smell.
  • New guard script uses robust regex assertions (grep -qE), matching the suggestion from the gemini bot review; the assertion logic for the --ignore-scripts and hashFiles checks is correct.
  • Bot review suggestions (gemini, copilot) were non-blocking and already addressed by the committed script; no unresolved human review threads.

CI status

All checks SUCCESS or SKIPPED — no failures or cancellations. CodeQL (actions/python), SonarCloud, AgentShield, gitleaks, copilot-setup-steps, and dependency-audit all green or appropriately skipped.


Reviewed automatically by the PR-review agent (single-reviewer mode: fable 5). Reply if you need a human review.

@don-petry don-petry enabled auto-merge (squash) June 20, 2026 10:43
@sonarqubecloud

Copy link
Copy Markdown

@don-petry don-petry merged commit e1b3f1a into main Jun 20, 2026
18 of 21 checks passed
@don-petry don-petry deleted the dev-lead/issue-207-20260609-2144 branch June 20, 2026 10:46
@github-actions

Copy link
Copy Markdown
Contributor

CI Failure: SonarCloud Code Analysis

Step: SonarCloud Quality Gate
Root cause: Lint/style

SonarCloud static analysis failed after the new file scripts/test-copilot-setup-steps-workflow.sh was introduced. SonarCloud scans shell scripts for code smells, complexity, and reliability issues; the new script's multi-branch conditional logic with overlapping extended-regex patterns (npm ci([[:space:]]|$) followed by a ! grep guard) likely triggered one or more rule violations, causing the quality gate to reject the changes. The workflow YAML change itself (npm cinpm ci --ignore-scripts) is clean.

Suggested fix: Open the SonarCloud dashboard linked below, navigate to the "Issues" tab filtered to this branch, and resolve each flagged rule in scripts/test-copilot-setup-steps-workflow.sh — commonly by simplifying the overlapping grep conditions into a single authoritative check (e.g., only test for npm ci --ignore-scripts presence and fail if absent).

View run logs

don-petry added a commit that referenced this pull request Jun 20, 2026
…— copilot-setup-steps.yml (#269)

* feat: implement issue #207 — [Fleet Monitor] petry-projects/TalkTerm — copilot-setup-steps.yml

* fix(bot): address bot feedback [skip ci-relay]

---------

Co-authored-by: donpetry-bot <281750570+donpetry-bot@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
don-petry added a commit that referenced this pull request Jun 20, 2026
…— copilot-setup-steps.yml (#269)

* feat: implement issue #207 — [Fleet Monitor] petry-projects/TalkTerm — copilot-setup-steps.yml

* fix(bot): address bot feedback [skip ci-relay]

---------

Co-authored-by: donpetry-bot <281750570+donpetry-bot@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
don-petry added a commit that referenced this pull request Jun 20, 2026
…— copilot-setup-steps.yml (#269)

* feat: implement issue #207 — [Fleet Monitor] petry-projects/TalkTerm — copilot-setup-steps.yml

* fix(bot): address bot feedback [skip ci-relay]

---------

Co-authored-by: donpetry-bot <281750570+donpetry-bot@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
don-petry added a commit that referenced this pull request Jun 20, 2026
…— copilot-setup-steps.yml (#269)

* feat: implement issue #207 — [Fleet Monitor] petry-projects/TalkTerm — copilot-setup-steps.yml

* fix(bot): address bot feedback [skip ci-relay]

---------

Co-authored-by: donpetry-bot <281750570+donpetry-bot@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
don-petry added a commit that referenced this pull request Jun 21, 2026
…— copilot-setup-steps.yml (#269)

* feat: implement issue #207 — [Fleet Monitor] petry-projects/TalkTerm — copilot-setup-steps.yml

* fix(bot): address bot feedback [skip ci-relay]

---------

Co-authored-by: donpetry-bot <281750570+donpetry-bot@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
don-petry added a commit that referenced this pull request Jun 21, 2026
…— copilot-setup-steps.yml (#269)

* feat: implement issue #207 — [Fleet Monitor] petry-projects/TalkTerm — copilot-setup-steps.yml

* fix(bot): address bot feedback [skip ci-relay]

---------

Co-authored-by: donpetry-bot <281750570+donpetry-bot@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
don-petry added a commit that referenced this pull request Jun 22, 2026
…— copilot-setup-steps.yml (#269)

* feat: implement issue #207 — [Fleet Monitor] petry-projects/TalkTerm — copilot-setup-steps.yml

* fix(bot): address bot feedback [skip ci-relay]

---------

Co-authored-by: donpetry-bot <281750570+donpetry-bot@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
don-petry added a commit that referenced this pull request Jun 22, 2026
…— copilot-setup-steps.yml (#269)

* feat: implement issue #207 — [Fleet Monitor] petry-projects/TalkTerm — copilot-setup-steps.yml

* fix(bot): address bot feedback [skip ci-relay]

---------

Co-authored-by: donpetry-bot <281750570+donpetry-bot@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
don-petry added a commit that referenced this pull request Jun 22, 2026
…— copilot-setup-steps.yml (#269)

* feat: implement issue #207 — [Fleet Monitor] petry-projects/TalkTerm — copilot-setup-steps.yml

* fix(bot): address bot feedback [skip ci-relay]

---------

Co-authored-by: donpetry-bot <281750570+donpetry-bot@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
don-petry added a commit that referenced this pull request Jun 22, 2026
…— copilot-setup-steps.yml (#269)

* feat: implement issue #207 — [Fleet Monitor] petry-projects/TalkTerm — copilot-setup-steps.yml

* fix(bot): address bot feedback [skip ci-relay]

---------

Co-authored-by: donpetry-bot <281750570+donpetry-bot@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
don-petry added a commit that referenced this pull request Jun 22, 2026
…— copilot-setup-steps.yml (#269)

* feat: implement issue #207 — [Fleet Monitor] petry-projects/TalkTerm — copilot-setup-steps.yml

* fix(bot): address bot feedback [skip ci-relay]

---------

Co-authored-by: donpetry-bot <281750570+donpetry-bot@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
don-petry added a commit that referenced this pull request Jun 22, 2026
…— copilot-setup-steps.yml (#269)

* feat: implement issue #207 — [Fleet Monitor] petry-projects/TalkTerm — copilot-setup-steps.yml

* fix(bot): address bot feedback [skip ci-relay]

---------

Co-authored-by: donpetry-bot <281750570+donpetry-bot@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
don-petry added a commit that referenced this pull request Jun 23, 2026
…— copilot-setup-steps.yml (#269)

* feat: implement issue #207 — [Fleet Monitor] petry-projects/TalkTerm — copilot-setup-steps.yml

* fix(bot): address bot feedback [skip ci-relay]

---------

Co-authored-by: donpetry-bot <281750570+donpetry-bot@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
don-petry added a commit that referenced this pull request Jun 23, 2026
…— copilot-setup-steps.yml (#269)

* feat: implement issue #207 — [Fleet Monitor] petry-projects/TalkTerm — copilot-setup-steps.yml

* fix(bot): address bot feedback [skip ci-relay]

---------

Co-authored-by: donpetry-bot <281750570+donpetry-bot@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
don-petry added a commit that referenced this pull request Jun 23, 2026
…— copilot-setup-steps.yml (#269)

* feat: implement issue #207 — [Fleet Monitor] petry-projects/TalkTerm — copilot-setup-steps.yml

* fix(bot): address bot feedback [skip ci-relay]

---------

Co-authored-by: donpetry-bot <281750570+donpetry-bot@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
don-petry added a commit that referenced this pull request Jun 23, 2026
…— copilot-setup-steps.yml (#269)

* feat: implement issue #207 — [Fleet Monitor] petry-projects/TalkTerm — copilot-setup-steps.yml

* fix(bot): address bot feedback [skip ci-relay]

---------

Co-authored-by: donpetry-bot <281750570+donpetry-bot@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
don-petry added a commit that referenced this pull request Jun 23, 2026
…— copilot-setup-steps.yml (#269)

* feat: implement issue #207 — [Fleet Monitor] petry-projects/TalkTerm — copilot-setup-steps.yml

* fix(bot): address bot feedback [skip ci-relay]

---------

Co-authored-by: donpetry-bot <281750570+donpetry-bot@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
don-petry added a commit that referenced this pull request Jun 23, 2026
…— copilot-setup-steps.yml (#269)

* feat: implement issue #207 — [Fleet Monitor] petry-projects/TalkTerm — copilot-setup-steps.yml

* fix(bot): address bot feedback [skip ci-relay]

---------

Co-authored-by: donpetry-bot <281750570+donpetry-bot@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
don-petry added a commit that referenced this pull request Jun 23, 2026
…— copilot-setup-steps.yml (#269)

* feat: implement issue #207 — [Fleet Monitor] petry-projects/TalkTerm — copilot-setup-steps.yml

* fix(bot): address bot feedback [skip ci-relay]

---------

Co-authored-by: donpetry-bot <281750570+donpetry-bot@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
don-petry added a commit that referenced this pull request Jun 23, 2026
…— copilot-setup-steps.yml (#269)

* feat: implement issue #207 — [Fleet Monitor] petry-projects/TalkTerm — copilot-setup-steps.yml

* fix(bot): address bot feedback [skip ci-relay]

---------

Co-authored-by: donpetry-bot <281750570+donpetry-bot@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
don-petry added a commit that referenced this pull request Jun 23, 2026
…— copilot-setup-steps.yml (#269)

* feat: implement issue #207 — [Fleet Monitor] petry-projects/TalkTerm — copilot-setup-steps.yml

* fix(bot): address bot feedback [skip ci-relay]

---------

Co-authored-by: donpetry-bot <281750570+donpetry-bot@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
don-petry added a commit that referenced this pull request Jun 23, 2026
…— copilot-setup-steps.yml (#269)

* feat: implement issue #207 — [Fleet Monitor] petry-projects/TalkTerm — copilot-setup-steps.yml

* fix(bot): address bot feedback [skip ci-relay]

---------

Co-authored-by: donpetry-bot <281750570+donpetry-bot@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
don-petry added a commit that referenced this pull request Jun 23, 2026
…— copilot-setup-steps.yml (#269)

* feat: implement issue #207 — [Fleet Monitor] petry-projects/TalkTerm — copilot-setup-steps.yml

* fix(bot): address bot feedback [skip ci-relay]

---------

Co-authored-by: donpetry-bot <281750570+donpetry-bot@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
don-petry added a commit that referenced this pull request Jun 23, 2026
…— copilot-setup-steps.yml (#269)

* feat: implement issue #207 — [Fleet Monitor] petry-projects/TalkTerm — copilot-setup-steps.yml

* fix(bot): address bot feedback [skip ci-relay]

---------

Co-authored-by: donpetry-bot <281750570+donpetry-bot@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
don-petry added a commit that referenced this pull request Jun 23, 2026
…— copilot-setup-steps.yml (#269)

* feat: implement issue #207 — [Fleet Monitor] petry-projects/TalkTerm — copilot-setup-steps.yml

* fix(bot): address bot feedback [skip ci-relay]

---------

Co-authored-by: donpetry-bot <281750570+donpetry-bot@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.

[Fleet Monitor] petry-projects/TalkTerm — copilot-setup-steps.yml

3 participants