GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — CI and doc hardening: release lint, source-wide deprecated-API scan, VirusTotal links, brace-expansion floors, doc drift by ckelsoe · Pull Request #38 · ckelsoe/obsidian-annoteca Conversation
|
|
Warning Review limit reached
Next review available in: 50 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 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 configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📝 WalkthroughSummary by CodeRabbit
WalkthroughThe PR updates marker-format and diagnostics documentation, pins CI and release actions, broadens deprecated API scanning, adds release linting and VirusTotal links, and raises ChangesMarker Guidance and Diagnostics
CI and Release Automation
Dependency Override Maintenance
Estimated code review effort: 3 (Moderate) | ~20 minutes Sequence Diagram(s)sequenceDiagram
participant ReleaseWorkflow
participant VirusTotal
participant ReleaseNotes
ReleaseWorkflow->>VirusTotal: Upload artifacts and receive analysis output
ReleaseWorkflow->>ReleaseNotes: Read extracted release notes
ReleaseWorkflow->>ReleaseNotes: Append VirusTotal links when notes contain non-whitespace content
Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
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 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Hardens the repo’s CI/release pipeline and documentation to close gaps called out in the handoff: ensuring releases run the same lint gates as PR CI, expanding the deprecated-Obsidian-API scan to all TypeScript sources, surfacing VirusTotal analysis links in release notes, tightening the brace-expansion override floors, and updating docs to reflect recent marker-format and lint-policy behavior.
Changes:
npm run lint to the release workflow and append VirusTotal analysis URLs into CHANGELOG-derived release notes.main.ts to all root *.ts sources.brace-expansion override floors and update README / Copilot instructions to reflect shipped features and format/tooling drift.Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| README.md | Documents orphaned-star cleanup and the broken-marker warning behavior. |
| package.json | Raises brace-expansion override minimums to patched versions. |
| .github/workflows/release.yml | Runs lint in releases and appends VirusTotal links into release notes. |
| .github/workflows/ci.yml | Scans all .ts sources for deprecated Obsidian API usage (but needs a small grep fix). |
| .github/copilot-instructions.md | Updates instructions to reflect opener+terminator escaping and lookbehind lint rules. |
.github/workflows/ci.yml:98
\b is not a word-boundary in default grep, so this check may miss .noticeEl usage. Use an explicit boundary in an ERE (or grep -P). if grep -n "\.noticeEl\b" $SOURCES; then
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
|
||
| # workspace.activeLeaf — deprecated, use getActiveViewOfType() | ||
| if grep -n "\.activeLeaf\b" main.ts; then | ||
| if grep -n "\.activeLeaf\b" $SOURCES; then |
Every action in ci.yml and release.yml is pinned to a full commit SHA with the version kept as a trailing comment, so a moved tag cannot swap the action out from under a build (including inside the attestation-signing job). Closes the SHA-pin gap for annoteca. Annoteca only, on purpose: the standing rule is to leave every other plugin alone, so this is NOT rolled out to the template or the other plugins. A fleet pass (template + back-fill + a Dependabot github-actions config so the pins do not rot) is a separate task for when that freeze lifts.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 3
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 @.github/workflows/release.yml:
- Line 94: Update the release-note guard in the workflow to test for
non-whitespace content rather than file size, and apply the identical check in
the create-release branch that chooses between --notes-file and
--generate-notes. Preserve the existing behavior for genuinely empty or
whitespace-only release notes.
- Around line 23-27: Disable dependency caching in the release workflow’s “Use
Node.js” setup-node step by setting package-manager-cache to false, removing the
existing npm cache configuration as appropriate while preserving the Node.js
version and release behavior.
- Line 21: Disable checkout credential persistence by adding
persist-credentials: false to the checkout steps at
.github/workflows/release.yml:21, .github/workflows/ci.yml:21,
.github/workflows/ci.yml:124, and .github/workflows/ci.yml:140; no other
workflow behavior should change.
Fix all unresolved CodeRabbit comments on this PR:
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro Plus
Run ID: 247b26f3-ea66-489b-93b1-b7bc6d43b46f
.github/copilot-instructions.md.github/workflows/ci.yml.github/workflows/release.ymlREADME.mdpackage.json
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
- ci.yml: rewrite the deprecated-API scan as a shell function with recursive --include/--exclude, so it depends on neither a word-split file list (which breaks under zsh) nor \b (which grep without -P treats as a backspace). Explicit ERE boundaries instead. Verified locally: clean on the tree, and it still catches a planted usage. - Both workflows: persist-credentials: false on every checkout that does not run authenticated git later, so a compromised step cannot reuse the job token. - release.yml: drop the npm cache in the release job. It runs with contents, id-token, and attestations write plus VT_API_KEY, so it must not restore an untrusted dependency cache. CI keeps its cache. - release.yml: guard the release notes on non-whitespace content, not file size, in both the VirusTotal-append step and the create-release branch, so a lone blank line from awk is not mistaken for real notes.
|
@coderabbitai review |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
✅ Action performedReview finished.
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
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 @.github/workflows/release.yml:
- Around line 25-30: Update the “Use Node.js” setup-node configuration to
explicitly set package-manager-cache to false, preserving the existing no-cache
intent and explanatory comment.
Fix all unresolved CodeRabbit comments on this PR:
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro Plus
Run ID: 56f9d5e7-4e1b-4ddb-b1da-670898e8c822
.github/workflows/ci.yml.github/workflows/release.yml
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
setup-node auto-caches (package-manager-cache defaults true) when package.json declares npm, so omitting cache: npm was not enough to keep the privileged release job off an untrusted dependency cache. Addresses CodeRabbit on #38.
|
@coderabbitai review |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.