Repository navigation
Fix the open code-scanning findings - #1572
Merged
Merged
Conversation
Signed-off-by: Lareb Zafar <[email protected]>
Resolve local actions from the workflow commit, verify translations from a scheduled job, install npm packages from lockfiles, and validate each docs destination as a parsed link. Signed-off-by: Lareb Zafar <[email protected]>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Signed-off-by: Lareb Zafar <[email protected]>
The plugin scanner requires a full SHA for action references it treats as remote. Signed-off-by: Lareb Zafar <[email protected]>
Finalizer polls and translation batches share one queue. Keep pending requests available while the current run finishes. Signed-off-by: Lareb Zafar <[email protected]>
4 of 6 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changelog category
Changelog entry
Omitted for CI.
Why
Coverage reports load their action from a full commit SHA, independent of the runner workspace. Translation finalization checks hosted CI on a trusted schedule before merging the exact validated commit. The comparison example installs its reference server from a committed lockfile. Release checks generate a fresh lock for the requested SDK release and peer, install that tree with lifecycle scripts disabled, and verify registry signatures before loading the SDK. The docs builder checks each parsed link destination before rewriting an English fallback.
Scope and risk
The coverage change affects report jobs. The WSL job launches its test script in the same Ubuntu distribution. Translation finalization runs on a 15-minute schedule. Finalizer runs and translation batches share a serialized queue that preserves pending manual requests. The translation producer keeps its existing triggers and six-hour schedule. The workflow linter understands the queue syntax and keeps the syntax, expression, and ShellCheck gates. The diff also formats the selector page and adds its route to the IndexNow test's expected list. Both checks fail on main without these corrections.
Compatibility, rollout and rollback
Tests
make format-check,make lint, andmake typecheck.node --test docs/scripts/*.test.mjsandnpm --prefix docs run build. 21 tests passed and the site built.AI assistance in the code
AI-generated (Codex). Codex ran the checks listed above.
I can explain every line of this diff and how it interacts with the rest of Loom.
Checklist
Note
Low Risk
Mostly CI, workflow, and docs-build behavior; no production runtime or auth paths change.
Overview
CI hardening and scanner fixes across workflows, release checks, i18n, and docs tooling.
Changed-line coverage jobs now call
patch-coverageby pinned commit (ClickHouse/loom@df405e9…) instead of./.github/actions/patch-coverage, and native SDK checkouts no longer sparse-checkout that action locally.i18n drops the
workflow_runhook onci; a 15-minute cron runs finalization,concurrency.queue: maxserializes finalize vs update batches, andupdateonly runs on the six-hour schedule (plus push/dispatch as before). CONTRIBUTING matches that model.Release smoke tests build a fresh
package.json/lock withnpm pkg set, thennpm ciwith--ignore-scriptsandnpm audit signaturesfor the SDK and peer matrix rows (peer name + semver requirement split fornpm pkg set).Plugin WSL logic moves to
dev/test_plugins_wsl.sh, invoked viawsl.exe; workflow path filters include the script. Workflow lint switches from actionlint to jactionlint (--profile correctness).The coding-agent comparison example installs
@modelcontextprotocol/server-memoryfrom a committed lockfile vianpm ciinstead ofnpm install @…@version.rewritePublishedDocLinksalways walks the AST and only rewrites when a link resolves—no blanket skip on missing blob text. Tests/IndexNow add/agent-memory-selector; selector Astro is formatting-only.Reviewed by Cursor Bugbot for commit 530efe4. Bugbot is set up for automated code reviews on this repo. Configure here.