ci: harden Cloud Agent apt keyrings (signed-by) and document .cursor - #265
ci: harden Cloud Agent apt keyrings (signed-by) and document .cursor#265seonghobae wants to merge 4 commits into
Conversation
Follow-up to #258 (merged): - Store CRAN and r2u keys under /etc/apt/keyrings and bind each repo with signed-by, replacing global /etc/apt/trusted.gpg.d trust (CodeRabbit). - Print resolved R + mirt/testthat/roxygen2/rcmdcheck versions after provisioning; cross-agent reproducibility is pinned by the environment build snapshot (this block only reprovisions a bare image). - Add .cursor/README.md documenting the environment. Validated: shellcheck clean; signed-by repos trusted by apt update; r-cran-mirt resolves from r2u. Co-authored-by: Seongho Bae <seonghobae@users.noreply.github.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
Included review availability: Your plan includes up to 1 review per rolling hour; 0 remain after this review. 📝 WalkthroughWalkthroughCloud Agent의 R 환경 설치가 저장소별 keyring과 ChangesCloud Agent R 환경
Estimated code review effort: 2 (Simple) | ~10 minutes Merge Risk: ⚪ Minimal · up to This PR limits its behavior change to Cloud Agent APT keyring handling, version reporting, and maintainer documentation; no actionable merge-blocking risk remains beyond normal checks and review. Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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 |
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
Document the per-repo signed-by APT keyrings added in this PR (and refresh the head so the transient-503 Strix check re-runs on a healthy API).
The prior noema-review/strix failures were transient: their internal gh API calls returned HTTP 503 during a GitHub platform incident (repo is public; the same calls succeed now). No code change is needed; this empty commit re-runs the required review workflows on a healthy API. Co-authored-by: Seongho Bae <seonghobae@users.noreply.github.com>
Adds a filter example for testthat::test_local(). Also re-runs the required review workflows via a user-token commit; the prior noema-review/strix reds were transient GitHub HTTP 503s inside those workflows' gh calls, and an installation-token push does not re-trigger pull_request_target workflows.
Pull Request
Summary
.cursor/install.sh./etc/apt/keyringsand bind eachdebentry withsigned-by, replacing the global-trust/etc/apt/trusted.gpg.dapproach so a key can only vouch for its own source.mirt/testthat/roxygen2/rcmdcheckversions after provisioning. Cross-agent reproducibility is pinned by the environment-build snapshot; the apt block only reprovisions a bare image..cursor/README.mddocumenting the Cloud Agent environment for maintainers..cursor/tooling; no package code changes.Validation
R CMD check(or equivalent CI) succeeded — no package code touched (.cursor/is in.Rbuildignore)..cursor/README.mdis outside the linted globs; no workflow/YAML changes.shellcheck .cursor/install.shclean; thesigned-bykeyrings were exercised withapt update(both CRAN and r2u repos trusted,r-cran-mirtresolves from r2u).Risk and Rollback
.cursor/install.shchanges; the snapshot-based boot path is unaffected.Behavioral Impact
R/aFIPC.RunchangedChecklist
.cursor/README.md.Summary by CodeRabbit
문서
개선 사항
signed-by설정을 적용해 패키지 저장소 인증 보안을 강화했습니다.