Skip to content

Name the Host's Crawl Exemption as What Lets Staging Run the Whole Contract - #511

Merged
ptr727 merged 5 commits into
developfrom
docs-510-crawl-whitelist
Oct 25, 2026
Merged

ptr727 merged 5 commits into
developfrom
docs-510-crawl-whitelist

Conversation

@ptr727

@ptr727 ptr727 commented Oct 25, 2026 •

Copy link
Copy Markdown
Owner

Summary

This is the docs half of #510. The host side now exempts the site's own names from the VPS edge's CrowdSec crawl scenario, so the full contract check passes on VPS staging. The docs gave the crawl ban as the reason a full run from the runner fails. They now say:

  • The crawl exemption is what lets staging check the whole contract, so a staging run that ends in empty 403s points at the exemption first.
  • The probing scenario is not exempted.
  • Production's sampled run stays under both limits without relying on the exemption.

"Who Owns What" lists CrowdSec and its exemptions on the host side.

The touched statements are in OPERATIONS.md ("Deploying" and "Logs and Debugging"), checks/README.md, deploy/README.md, README.md, ENVIRONMENT.md, AUDIT.md, and two comments, in .github/actions/deploy/action.yml and checks/check-live-urls.sh. The comment edits are why this carries the comments label.

Verification

  • With the exemption live, the 1.0.263 VPS staging deploy passed the whole contract (1296 URLs). The production deploy passed its sample through Cloudflare, with both hosts printing proxied.
  • prose_lint.py passes with its default checks and with --check sentence-length, and markdownlint-cli2 passes on the touched Markdown.
  • Five local strict review passes ran, and every finding is fixed. The last pass found nothing.

🤖 Generated with Claude Code

ptr727 and others added 3 commits October 24, 2026 19:39
…ntract

The VPS edge's CrowdSec crawl scenario is now exempted host-side for the
site's own names, so a full run passes on VPS staging. The docs said
production samples because a full run gets banned. They now say the
exemption is what lets staging check everything, and that production's
sample stays inside both limits without it. Who Owns What names CrowdSec
and its exemptions as the host's.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Copilot AI lite review requested due to automatic review settings October 25, 2026 02:48
@ptr727 ptr727 added the comments Permits the comment lines the pull request adds or edits, which the prose gate otherwise refuses label Oct 25, 2026
@coderabbitai

coderabbitai Bot commented Oct 25, 2026 •

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 6e96be07-5f0e-4a8a-a0dc-c997bd093e12
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

@ptr727

ptr727 commented Oct 25, 2026

Copy link
Copy Markdown
Owner Author

A recorded local strict-review pass covers head 9d463db613842f0f8357b43a0efa07695766a083, the content this pull request carries at that commit against develop, and it recorded 1 finding.

@codecov

codecov Bot commented Oct 25, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (develop@5eae753). Learn more about missing BASE report.

Additional details and impacted files
@@            Coverage Diff             @@
##             develop     #511   +/-   ##
==========================================
  Coverage           ?   49.70%           
==========================================
  Files              ?       10           
  Lines              ?     3058           
  Branches           ?        0           
==========================================
  Hits               ?     1520           
  Misses             ?     1538           
  Partials           ?        0           
Flag Coverage Δ
python-3.13 49.70% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.

🟡 Changes recommended

OPERATIONS.md:132 cites an ownership table that does not establish which CrowdSec scenario is exempted.

1 open issue
What changed in this PR

This documentation-focused pull request explains that the host-side CrowdSec crawl exemption enables full VPS staging contract checks while production remains sampled within edge limits.

Changes:

  • Clarifies staging, production, audit, and environment-variable behavior.
  • Documents CrowdSec scenario ownership and exemption behavior.
  • Updates deployment and live-check comments to reflect production sampling.
File Description
README.md Explains production sampling and the host exemption.
OPERATIONS.md Documents CrowdSec behavior, staging diagnosis, and host ownership.
ENVIRONMENT.md Clarifies the SAMPLE_CONTRACT behavior.
deploy/​README.md Describes edge limits and staging exemption behavior.
checks/​README.md Updates live-contract verification guidance.
checks/​check-live-urls.sh Aligns sampling comments with current behavior.
AUDIT.md Updates VPS production audit instructions.
.github/​actions/​deploy/​action.yml Updates the deployment verification comment.

Review effort: Lite

Comment thread OPERATIONS.md Resolved
@ptr727

ptr727 commented Oct 25, 2026

Copy link
Copy Markdown
Owner Author

A recorded local strict-review pass covers head 39fd1517ea6b149e0ab36a2f52067a8e612ec4a2, the content this pull request carries at that commit against develop, and it recorded 0 findings.

@ptr727
ptr727 merged commit b13ce30 into develop Oct 25, 2026
12 checks passed
@ptr727
ptr727 deleted the docs-510-crawl-whitelist branch October 25, 2026 03:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comments Permits the comment lines the pull request adds or edits, which the prose gate otherwise refuses

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants