Repository navigation
docs(repo-health): clone URL, uv run, and CLI bug template - #1258
Conversation
Re-lands the unmerged 2026-09-10 housekeeping (#1248): clone abhimehro/ctrld-sync, match AGENTS.md uv run commands, and list lint/typecheck/performance beside test/sync/bandit. Co-authored-by: abhimehrotra <abhimehrotra@bears.mybrcc.edu>
DEFAULT_FOLDER_URLS lives in config.py, not main.py; document config.yaml/--config as the file-based path. Replace the web-app bug report template with CLI/uv environment fields. Co-authored-by: abhimehrotra <abhimehrotra@bears.mybrcc.edu>
|
😎 This pull request was merged. |
|
Important Review skippedBot user detected. To trigger a single review, invoke the ⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Advanced Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches✨ Simplify code
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. Comment |
Visual recap — skippedThe visual recap job did not run for this pull request. This is informational only and does not block the PR. Recap skipped for |
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Snapshot WarningsEnsure that dependencies are being submitted on PR branches and consider enabling retry-on-snapshot-warnings. See the documentation for more information and troubleshooting advice. Scanned FilesNone |
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
Not up to standards ⛔🔴 Issues
|
| Category | Results |
|---|---|
| CodeStyle | 6 minor |
AI Reviewer: first review requested successfully. AI can make mistakes. Always validate suggestions.
TIP This summary will be updated as you push new changes.
PR Summary by QodoAlign repository guidance and bug reports with the uv CLI
AI Description
Diagram
High-Level Assessment
Files changed (3)
|
There was a problem hiding this comment.
Pull Request Overview
This PR updates documentation and issue templates to align with the uv toolchain and current project standards. However, the analysis indicates that the PR is currently not up to standards, primarily due to multiple formatting violations in the README.
While the transition to uv run is correctly applied in most areas, it has introduced line-length issues (MD013) in the command examples. Additionally, the CI/CD workflow table requires more consistent terminology to match the rest of the documentation. Please verify that the bug report template and repository clone URL updates have been fully implemented as per the acceptance criteria.
About this PR
- The documentation updates introduce several style violations, specifically line length exceeds in the README. These must be addressed to maintain the project's quality standards.
Test suggestions
- Verify that all documented bash examples for running the script utilize the 'uv run' prefix
- Validate that the Bug report template correctly prompts for CLI environment details (OS, Python, uv, version/commit)
- Confirm the clone URL in the 'Clone & install' section matches the target repository 'abhimehro/ctrld-sync'
Prompt proposal for missing tests
Consider implementing these tests if applicable:
1. Verify that all documented bash examples for running the script utilize the 'uv run' prefix
2. Validate that the Bug report template correctly prompts for CLI environment details (OS, Python, uv, version/commit)
3. Confirm the clone URL in the 'Clone & install' section matches the target repository 'abhimehro/ctrld-sync'
TIP Improve review quality by adding custom instructions
TIP How was this review? Give us feedback
| uv run python main.py --dry-run # plan only, no API calls | ||
| uv run python main.py --dry-run --plan-json plan.json # machine-readable dry-run output | ||
| uv run python main.py --profiles your_id # live run (requires TOKEN) |
There was a problem hiding this comment.
⚪ LOW RISK
Suggestion: Reduce the excessive padding between the command and its descriptive comment to fit within the 80-character limit.
This might be a simple fix:
| uv run python main.py --dry-run # plan only, no API calls | |
| uv run python main.py --dry-run --plan-json plan.json # machine-readable dry-run output | |
| uv run python main.py --profiles your_id # live run (requires TOKEN) | |
| uv run python main.py --dry-run # plan only, no API calls | |
| uv run python main.py --dry-run --plan-json plan.json # JSON plan output | |
| uv run python main.py --profiles your_id # live run (requires TOKEN) |
| | **Test** | `test.yml` | Push/PR to `main` | Full pytest suite via `uv sync --all-extras` | | ||
| | Workflow | File | Trigger | Purpose | | ||
| | --------------- | ----------------- | ----------------------------------- | -------------------------------------------------------------------------------- | | ||
| | **Sync** | `sync.yml` | Daily at 02:00 UTC, manual dispatch | Main synchronization workflow — runs `main.py` to keep Control D folders in sync | |
There was a problem hiding this comment.
⚪ LOW RISK
Nitpick: To maintain consistency with the rest of the documentation and the 'Test' workflow description below, consider mentioning uv here.
| | **Sync** | `sync.yml` | Daily at 02:00 UTC, manual dispatch | Main synchronization workflow — runs `main.py` to keep Control D folders in sync | | |
| **Sync** | `sync.yml` | Daily at 02:00 UTC, manual dispatch | Main synchronization workflow — runs `main.py` via `uv` to keep Control D folders in sync | |
Code Review by Qodo
No findings for this group 1.
|
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
There was a problem hiding this comment.
No application code in the PR — skipped Code Health checks.
See analysis details in CodeScene
Quality Gate Profile: Clean Code Collective
Install CodeScene MCP: safeguard and uplift AI-generated code. Catch issues early with our IDE extension and CLI tool.
Submitting a Pull Request
Summary
Weekly housekeeping (2026-09-17): docs and issue template only. Supersedes draft #1248 (still unmerged).
Branch Naming
docs/<short-description>(cloud unique prefixcursor-agent/repository-health-housekeeping-4aac)Before Opening a PR
Docs/template only.
uv run pytest --collect-only -q→ 590 tests (unchanged).PR Description
What Changed and Why
Re-land #1248 (still draft on main):
github.com/your-username/ctrld-sync.git→abhimehro/ctrld-sync.python main.py; AGENTS.md/CONTRIBUTING already useuv run python.New vs last week:
DEFAULT_FOLDER_URLSinmain.py; the list lives inconfig.py, andconfig.yaml/--configis the file-based path.Did not bump
actions/ai-inference(#1233 / Dependabot #1204). Did not add CODEOWNERS (none of the sibling repos have one).Include:
Closes #123)Security Implications
Secrets
TOKEN(Control D API token) andPROFILE(profile ID) are required only for live runs against the API. Not used by this PR.Checklist
.envfiles are included in this PRPlease keep this draft until reviewed.
═══ ELIR ═══
PURPOSE: Mechanical docs/template hygiene so clone/run/CI and bug reports match the Python 3.13 + uv CLI.
SECURITY: No secrets, no workflow pin changes, no ai-inference bump.
FAILS IF: someone still follows the old #1248 branch instead of this one.
VERIFY: README clone URL is abhimehro/ctrld-sync; WARP.md names config.py; bug template has no Browser/Smartphone.
MAINTAIN: Close or supersede leftover draft #1248 after merge; hold Models 410 on summary.yml.