Skip to content

ci(link-check): exclude flaky aicpa-cima.com from lychee - #221

Open
ethanolivertroy wants to merge 2 commits into
mainfrom
cursor/lychee-exclude-aicpa-4980
Open

ci(link-check): exclude flaky aicpa-cima.com from lychee#221
ethanolivertroy wants to merge 2 commits into
mainfrom
cursor/lychee-exclude-aicpa-4980

Conversation

@ethanolivertroy

@ethanolivertroy ethanolivertroy commented Aug 7, 2026

Copy link
Copy Markdown
Collaborator

Summary

The AICPA SOC overview link in plugins/frameworks/us-sox/skills/us-sox-expert/SKILL.md intermittently returns 502 Bad Gateway to lychee's client (bot protection) while returning 200 OK to curl and browsers. It was failing the link-check workflow on unrelated PRs, most recently the lychee failure on #218. Adds aicpa-cima.com to the lychee.toml exclusion list with the same rationale as the existing ecfr.gov and canada.ca entries.

Verified the link is alive, so this is a flake exclusion, not a dead link being hidden:

$ curl -sI https://www.aicpa-cima.com/topic/audit-assurance/audit-and-assurance-greater-than-soc
HTTP/1.1 200 OK

Type of change

  • Connector
  • Framework plugin
  • Persona plugin
  • Documentation
  • Community / governance
  • CI / automation
  • Other

Schema impact

  • No schema changes
  • schemas/finding.schema.json changed
  • Another schema or contract surface changed

Test plan

Config-only change to lychee.toml; the link-check workflow on this PR exercises it directly (the workflow triggers on lychee.toml changes).

CHANGELOG

  • No CHANGELOG entry needed
  • I added a CHANGELOG entry
  • A maintainer should add the CHANGELOG entry during merge

Notes for reviewers

Domain-level exclusion rather than URL-level, so future AICPA references (likely for a SOC 2-focused repo) do not re-introduce the flake.

Open in Web Open in Cursor 

Summary by CodeRabbit

  • Chores
    • Excluded aicpa-cima.com from automated link checking due to intermittent validation failures.
    • Added documentation explaining the exclusion and successful access through browsers and curl.

The AICPA SOC overview link in the us-sox skill intermittently returns
502 Bad Gateway to lychee's client (bot protection) while returning 200
to curl and browsers. It was failing the link-check workflow on
unrelated PRs, most recently #218. Same rationale as the existing
ecfr.gov and canada.ca exclusions.

Co-authored-by: Ethan Troy <ethanolivertroy@users.noreply.github.com>
@coderabbitai

coderabbitai Bot commented Aug 7, 2026

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

@cursor[bot], you've reached your PR review limit, so we couldn't start this review.

Next review available in: 22 minutes

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

How can I continue?

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 reviews.

How do review limits work?

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

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, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 500ac8c0-4379-4bb7-a66b-cb9267b08380

📥 Commits

Reviewing files that changed from the base of the PR and between 8de2fe4 and 0f49259.

📒 Files selected for processing (1)
  • lychee.toml
📝 Walkthrough

Walkthrough

The Lychee configuration excludes all https://www.aicpa-cima.com links. Comments document intermittent 502 responses from Lychee despite successful access by browsers and curl.

Changes

Link validation

Layer / File(s) Summary
Add aicpa-cima.com exclusion
lychee.toml
Documents intermittent Lychee 502 responses and excludes all https://www.aicpa-cima.com links.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Possibly related PRs

Suggested reviewers: abdie-grcengineer, ajy0127, andr2sn

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely describes the CI change to exclude the flaky aicpa-cima.com domain from lychee checks.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch cursor/lychee-exclude-aicpa-4980

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.

@greptile-apps

greptile-apps Bot commented Aug 7, 2026

Copy link
Copy Markdown

Greptile Summary

The PR prevents intermittent AICPA-CIMA bot-protection responses from failing unrelated link-check runs.

  • Adds a host-boundary exclusion for www.aicpa-cima.com to lychee.toml.
  • Documents why the domain is excluded from automated link validation.

Confidence Score: 5/5

The PR appears safe to merge.

No blocking failure remains.

Important Files Changed

Filename Overview
lychee.toml Adds a valid, narrowly host-boundary-matched exclusion for the flaky AICPA-CIMA domain without introducing a blocking failure.

Reviews (2): Last reviewed commit: "ci(link-check): anchor aicpa-cima.com ex..." | Re-trigger Greptile

@ethanolivertroy
ethanolivertroy marked this pull request as ready for review August 7, 2026 12:47
@ethanolivertroy
ethanolivertroy requested a review from a team as a code owner August 7, 2026 12:47
@qodo-code-review

Copy link
Copy Markdown

ⓘ Qodo reviews are paused because the subscription is no longer active. Ask your workspace admin to reactivate the subscription to resume reviews. Manage billing

@coderabbitai coderabbitai 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.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@lychee.toml`:
- Around line 29-31: Update the aicpa-cima.com exclusion pattern in lychee.toml
to require a host boundary immediately after `.com`, allowing only the exact
domain or valid URL delimiter/end while preventing matches such as
`aicpa-cima.com.evil.example`.
🪄 Autofix

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 764dfadc-b0bd-47ce-8fea-f750ce580cc1

📥 Commits

Reviewing files that changed from the base of the PR and between e98e63e and 8de2fe4.

📒 Files selected for processing (1)
  • lychee.toml

Comment thread lychee.toml Outdated
Without the boundary the pattern would also exclude lookalike hosts such
as aicpa-cima.com.evil.example.

Co-authored-by: Ethan Troy <ethanolivertroy@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.

2 participants