Repository navigation
feat(manager): APM manifests and apm.lock.yaml - #43
Conversation
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
count-patchula | 7b878b0 | Commit Preview URL Branch Preview URL |
Oct 26 2026, 07:18 AM |
|
|
Overall Grade |
Security Reliability Complexity Hygiene |
Code Review Summary
| Analyzer | Status | Updated (UTC) | Details |
|---|---|---|---|
| Rust | Oct 26, 2026 7:34a.m. | Review ↗ | |
| JavaScript | Oct 26, 2026 7:34a.m. | Review ↗ | |
| Shell | Oct 26, 2026 7:34a.m. | Review ↗ | |
| Secrets | Oct 26, 2026 7:34a.m. | Review ↗ |
Important
AI Review is run only on demand for your team. We're only showing results of static analysis review right now. To trigger AI Review, comment @deepsourcebot review on this thread.
|
[Medium impact] The PR appears safe to merge; no new actionable issues were found. Reviews (5) · Last reviewed commit: "refactor(manager): read the APM entry li..." · Reviewed by Greptile |
Extract the Git-pinned entries under dependencies.apm and devDependencies.apm in apm.yml, looked up as GitHub tags or forge tags. Like actions, tags are pinned to commits with the tag kept in a comment by default, and new tags are written exactly as tagged. Entries with no ref, branches, untagged commit pins, URL, object and registry entries, and hosts with no tag source are listed as skipped with a reason. apm.lock.yaml is refreshed with apm lock, APM's lock-only mode, from the tool store; apm_modules never enters the commit. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
2d75a7f to
7b878b0
Compare
…ases Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Adds an
apmmanager for APM manifests, matching the scope of Renovate'sapmdocs.Extraction.
apm.yml/apm.yaml: string entries underdependencies.apmanddevDependencies.apm(kindsproduction/development), written[host/]owner/repo[/path]#ref. GitHub entries usegithub-tags; GitLab, Codeberg, Gitea and Forgejo hosts useforge-tags. A full-SHA pin is tracked through its# tagcomment. Entries the Count can't update go on the report'sskippedlist with a reason: no#ref, branches or non-version tags, short SHAs, SHAs with no tag comment, URL / object / registry / marketplace entries, and hosts with no tag source (Bitbucket, Azure DevOps, custom ports). Local paths, MCP and LSP are ignored.Security defaults, same as Actions. APM entries go through the Actions tag/digest path (
tagged_action()). That means commit pinning through theactionDigestsdefault, the 24h release-age wait, and no auto-merge. New tags are written exactly as upstream tagged them, throughexact_tag_ref(). The edit reuses the Actions replacement with#as the ref separator, so quoting and the rest of a comment are kept.Lockfile.
apm.lock.yamlbeside anapm.ymlis refreshed withapm lock(--updatefor maintenance), APM 0.35.0 from the tool store, in the existing sandboxed runner. This is APM's lock-only mode: it resolves and downloads intoapm_modules/to hash, but deploys nothing to agent directories. Under strace it spawned only git.apm_modulesis excluded from the collected tree, andapm.lock.yamlis added towritable(). Git getshttps:filefor this tool only, because APM clones from its own local bare cache.Departures (
departures.md):apm lockinstead of Renovate'sapm install; commit pins on by default instead of behindpinDigests; no genericgit-tagssource.Tests. Extraction, edit and lockfile-runner unit tests; a real offline
apm locktest (apmadded to the test task's tools); an engine test replaying a newfixtures/engine/apm.jsoncassette (gitlab.com forge tags, pin plus minor update with commit digests). The corpus gainstools/apmfrom microsoft/apm (MIT), and the snapshot diff is one row.Docs. managers.md, lockfiles.md (command, tool store pin), compatibility.md (
apmtaken off the missing list), departures.md, README and the index.