Repository navigation
Conversation
Primary-source comparison of Portainer Agent, Komodo Periphery, Arcane Agent, Hawser, Docker-native access, socket proxies, and adjacent agents, plus the website and docs surfaces that carry those claims. - 📝 docs(landscape): add COMPETITIVE-LANDSCAPE.md and the docs page - ✨ feat(website): add the Arcane comparison route, sitemap entry, and llms.txt links - 🔄 refactor(website): fold comparison-rows.ts into per-competitor route data - 📝 docs(claims): correct stale Komodo auth/edge claims and separate agent features from Drydock controller responsibilities - 📝 docs(roadmap): record the pre-v1 competitive review gate, post-v1 candidates, and explicit security non-goals - 🔧 config(git): ignore the generated website/vercel.json
- 🐛 fix(compose): stat .env.drydock through os.Root so a planted symlink cannot redirect --env-file outside STACKS_DIR, and ignore non-regular files (go/path-injection, alert #18) - 🐛 fix(edge): sanitize execID and error on the initial resize-failure log, the only unsanitized log call in tunnel.go (go/log-injection, alert #190) - 🧪 test(compose): cover env-file symlink escape and non-regular env file
- 📦 deps(actions): repin every action to current, incl. actions/checkout v7 and actions/setup-go v7 (ESM migrations; no pull_request_target or workflow_run in any workflow, so the v7 fork-ref restriction is moot) - 📦 deps(docker): bump the wolfi-base digest - 📦 deps(npm): TypeScript 7, Next 16.3, @types/node 26, npm 12, plus the in-range tree - 🔧 config(ts): drop baseUrl from docs/tsconfig.json, removed in TypeScript 7, matching the paths-only form website/tsconfig.json already used - 🗑️ remove(npm): drop the dead js-yaml override, nothing resolves to it - 🔧 config(renovate): stop reporting stable-by-design libraries as abandoned
- 📝 docs(changelog): close the v0.9.2 entry and reopen Unreleased - 📝 docs(roadmap): mark v0.9.2 as the current pre-v1 release - 📝 docs(compare): retire the stale v0.8.1 version claims on the comparison pages
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
📝 WalkthroughWalkthroughThe pull request updates release metadata from v0.9.1 to v0.9.2, refreshes pinned CI and release actions, and updates Wolfi image digests. It secures Compose environment-file lookup, validates forwarded client IPs, preserves active rate-limit entries, and sanitizes resize-failure logs. It adds competitive-landscape documentation and comparison data for Arcane and Hawser. It updates website tooling, API examples, installation instructions, verification examples, and roadmap content. Possibly related issues
Possibly related PRs
🚥 Pre-merge checks | ✅ 2✅ Passed checks (2 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 |
There was a problem hiding this comment.
Actionable comments posted: 6
🤖 Prompt for all review comments with AI agents
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 `@COMPETITIVE-LANDSCAPE.md`:
- Line 43: Align the current comparison version scope across
COMPETITIVE-LANDSCAPE.md:43-43 and docs/design/ed25519-auth.md:406-410 by
changing each Portwing matrix label to the prepared v0.9.2 release version, or
consistently marking both matrices as historical. Ensure the current-comparison
heading and table labels use the same scope in both locations.
In `@internal/docker/compose.go`:
- Around line 360-363: Update the error handling around cm.rootedPath in the
compose setup flow to wrap failures with fmt.Errorf, adding clear context while
preserving the original error via %w before returning it.
In `@package.json`:
- Around line 20-25: Regenerate the dependency lockfiles for package.json (lines
20-25), docs/package.json (lines 18-31), and website/package.json (lines 22-34),
ensuring the root lockfile records both workspace lockfile entries; then run npm
ci to validate the combined installation.
In `@website/src/app/compare/page.tsx`:
- Around line 115-116: Update the comparison page content around the
reviewed-date text to identify the specific reviewed product releases and add a
visible link to the versioned comparison evidence record. Keep the existing
documentation-sourcing statement and review date, using the project’s
established evidence URL or reference symbol if available.
In `@website/src/lib/comparison-route-data/portainer.tsx`:
- Line 17: Update the Portainer Agent entry in the comparison route data to
remove the incorrect “~300 MB node image” implementation and size claim.
Preserve the existing “No” value if it represents container-only distribution,
and replace only the inaccurate descriptive text with a factually correct
description consistent with the official Go-based agent images.
In `@website/src/lib/comparison-route-data/watchtower.tsx`:
- Around line 24-26: Update the Watchtower metrics entries in the comparison
data: revise the activity highlight and the existing “Prometheus metrics|No”
table row to indicate that Watchtower provides an opt-in experimental Prometheus
endpoint at /v1/metrics enabled by --http-api-metrics, while preserving the
Portwing metrics description.
🪄 Autofix
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro Plus
Run ID: 93d1bdba-1e7b-4643-bf0e-9e839c3c3597
⛔ Files ignored due to path filters (3)
CHANGELOG.mdis excluded by!CHANGELOG.mdpackage-lock.jsonis excluded by!**/package-lock.json,!**/package-lock.jsonwebsite/public/llms.txtis excluded by!website/public/**
📒 Files selected for processing (43)
.github/workflows/ci.yml.github/workflows/quality-bench-monthly.yml.github/workflows/quality-fuzz-monthly.yml.github/workflows/quality-fuzz-nightly.yml.github/workflows/quality-integration.yml.github/workflows/quality-mutation-monthly.yml.github/workflows/quality-soak-weekly.yml.github/workflows/release-cut.yml.github/workflows/release.yml.github/workflows/security-grype.yml.github/workflows/security-scorecard.yml.gitignoreCOMPETITIVE-LANDSCAPE.mdDockerfileDockerfile.releaseREADME.mdROADMAP.mddocs/content/docs/competitive-landscape.mdxdocs/content/docs/index.mdxdocs/content/docs/meta.jsondocs/design/ed25519-auth.mddocs/package.jsondocs/tsconfig.jsoninternal/docker/compose.gointernal/docker/compose_helpers_test.gointernal/edge/tunnel.gopackage.jsonrenovate.jsonwebsite/package.jsonwebsite/src/app/compare/page.tsxwebsite/src/app/data/comparison-rows.tswebsite/src/app/data/roadmap.tswebsite/src/app/sitemap.tswebsite/src/components/compare-matrix.tsxwebsite/src/components/compare-section.tsxwebsite/src/lib/comparison-route-data.tsxwebsite/src/lib/comparison-route-data/arcane.tsxwebsite/src/lib/comparison-route-data/diun.tsxwebsite/src/lib/comparison-route-data/hawser.tsxwebsite/src/lib/comparison-route-data/komodo.tsxwebsite/src/lib/comparison-route-data/portainer.tsxwebsite/src/lib/comparison-route-data/watchtower.tsxwebsite/src/lib/comparison-route.tsx
💤 Files with no reviewable changes (2)
- docs/tsconfig.json
- website/src/app/data/comparison-rows.ts
clientIP required every X-Forwarded-For hop to parse as an IP address but returned the X-Real-IP fallback verbatim. Behind a configured trusted proxy a caller could send a distinct arbitrary string per request, mint a fresh limiter bucket each time, and walk past the 10-failures-per-minute throttle on the auth path, while writing that string into audit records as the actor. The fallback now applies the same rules as the chain walk: parse as an IP and not itself a trusted proxy, else use the direct peer. - 🧪 test(server): cover non-IP and trusted-proxy X-Real-IP values - 🔧 config(lefthook): add -count=1 to the pre-push race run so a cached pass cannot mask a newly-introduced race
|
Found a third security issue while sweeping for more of the same class, so it's in this PR too.
The fallback now applies the same rules the chain walk already did: parse as an IP, and not itself a trusted proxy, otherwise fall back to the direct peer. Two regression tests cover non-IP values (including a newline-bearing one) and trusted-proxy values. CodeQL didn't flag this one — the logging path was already sanitized, so there was no taint sink for it to find. The bug was in what the value was used for, not where it was printed. Also added |
The release-contract gate caught a half-finished bump: ROADMAP.md had been moved to v0.9.2 while the other surfaces it pins still said v0.9.1. - 📝 docs(version): bump README, COMPATIBILITY, openapi, llms.txt, site-config, get-started, installation, verification, standalone-mode, api-reference, observability, security-model, and the observability example - 🔧 config(contract): pin the contract to 0.9.2 and derive the CHANGELOG date from a variable instead of a hardcoded one - ✨ feat(contract): reject any stale previous-version reference outside the changelog. The enumerated checks only cover surfaces someone remembered to enumerate — this immediately caught a "v0.9.1 is the current release" callout in README and an rpm example beside an already-checked deb example
|
The GoReleaser Config failure was real and worth keeping.
Fixed by doing the bump properly across README, COMPATIBILITY, openapi.yaml, llms.txt, site-config, get-started, installation, verification, standalone-mode, api-reference, observability, security-model, and the observability example. The contract's CHANGELOG date is now derived from a variable instead of a hardcoded I also added a catch-all, because the enumerated checks had holes: they verified the new version is present on twelve named surfaces, but never that the old one is gone. So
Enumerating surfaces only ever finds the surfaces someone remembered to enumerate. |
- 📦 deps(docker): bump the wolfi-base runtime digest to 003627d. The changelog already claimed this pin was current and it wasn't; d2ad9a7 was two rebuilds behind, so the runtime rootfs was missing the newest upstream Wolfi package fixes. - 📦 deps(ci): move the Homebrew cask gate from macos-15 to macos-26. The job only runs post-publish on GA tags and has passed on every release, so the image swap is the whole change.
biggest-littlest
left a comment
There was a problem hiding this comment.
Approving the v0.9.2 cut. Reviewed the two security fixes (X-Real-IP validation before it keys the limiter, os.Root containment on the compose env-file stat), the release-contract hardening, and the dependency refresh.
ALARGECOMPANY
left a comment
There was a problem hiding this comment.
Approving the v0.9.2 cut. Reviewed the two security fixes (X-Real-IP validation before it keys the limiter, os.Root containment on the compose env-file stat), the release-contract hardening, and the dependency refresh.
CI read 95.9% against a 96% floor. main was already sitting exactly on 96.0 with no margin, so the three uncovered error branches statRootedEnvFile added were enough to tip it red. - 🧪 test(docker): cover statRootedEnvFile's two reachable error paths — a stack dir escaping STACKS_DIR (rejected lexically, before any syscall) and a missing stacks dir (caught at os.OpenRoot). The filepath.Abs branch stays uncovered; it only fails if os.Getwd does. - 🔄 refactor(server): split the rate limiter's prune loop out of cleanup into sweepExpired(now). The rules were unreachable in tests only because the ticker period is hardcoded at five minutes. - 🧪 test(server): cover sweepExpired, including the two entries that must survive a sweep — in-flight ones, whose firstFail is not final and whose concurrency count would be lost, and zero-firstFail ones. - 🎨 style(docs): qlty fmt the two competitive-landscape files (MD012). - 📝 docs(ci): correct the coverage-gate comment. It claimed ~1.5% of slack below an achieved 97.5%; actual is 96.3% against a floor of 96, and linux CI reads ~0.1 under a darwin dev box.
4338246
biggest-littlest
left a comment
There was a problem hiding this comment.
Re-approving on 4338246. Adds the coverage the two new statRootedEnvFile error branches were missing, splits the rate limiter's prune loop into sweepExpired so its rules are testable without the five-minute ticker, and clears the markdownlint findings on the competitive-landscape files.
ALARGECOMPANY
left a comment
There was a problem hiding this comment.
Re-approving on 4338246. Adds the coverage the two new statRootedEnvFile error branches were missing, splits the rate limiter's prune loop into sweepExpired so its rules are testable without the five-minute ticker, and clears the markdownlint findings on the competitive-landscape files.
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
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 `@scripts/package-release-config-test.sh`:
- Around line 73-76: Update the git grep invocation in the stale-version check
to scan all tracked files instead of restricting matches to the current
extension allowlist, while retaining only the necessary exclusions for
CHANGELOG.md and scripts/package-release-config-test.sh. Ensure files such as
Dockerfile, package.json, and TOML configuration are included.
🪄 Autofix
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro Plus
Run ID: cf6547f9-2fb6-435e-9bd5-8108a23d8ddd
⛔ Files ignored due to path filters (2)
CHANGELOG.mdis excluded by!CHANGELOG.mdwebsite/public/llms.txtis excluded by!website/public/**
📒 Files selected for processing (22)
.github/workflows/ci.yml.github/workflows/release.ymlCOMPATIBILITY.mdCOMPETITIVE-LANDSCAPE.mdDockerfileREADME.mdapi/openapi.yamldocs/content/docs/api-reference.mdxdocs/content/docs/competitive-landscape.mdxdocs/content/docs/installation.mdxdocs/content/docs/observability.mdxdocs/content/docs/security-model.mdxdocs/content/docs/standalone-mode.mdxdocs/content/docs/verification.mdxexamples/observability/docker-compose.ymlinternal/docker/compose_helpers_test.gointernal/server/coverage2_test.gointernal/server/middleware.golefthook.ymlscripts/package-release-config-test.shwebsite/src/components/get-started.tsxwebsite/src/lib/site-config.ts
💤 Files with no reviewable changes (2)
- docs/content/docs/competitive-landscape.mdx
- COMPETITIVE-LANDSCAPE.md
🚧 Files skipped from review as they are similar to previous changes (5)
- Dockerfile
- internal/docker/compose_helpers_test.go
- README.md
- .github/workflows/ci.yml
- .github/workflows/release.yml
| if git grep -n -F -- "$previous_version" -- \ | ||
| '*.md' '*.mdx' '*.ts' '*.tsx' '*.yaml' '*.yml' '*.txt' \ | ||
| ':(exclude)CHANGELOG.md' \ | ||
| ':(exclude)scripts/package-release-config-test.sh'; then |
There was a problem hiding this comment.
🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win
Scan all tracked release and configuration files.
The extension allowlist skips files such as Dockerfile, package.json, and TOML configuration. A stale 0.9.1 reference in those files passes this release gate. Search all tracked files and retain only the required exclusions.
Expand the stale-version check
if git grep -n -F -- "$previous_version" -- \
- '*.md' '*.mdx' '*.ts' '*.tsx' '*.yaml' '*.yml' '*.txt' \
':(exclude)CHANGELOG.md' \
':(exclude)scripts/package-release-config-test.sh'; then📝 Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
| if git grep -n -F -- "$previous_version" -- \ | |
| '*.md' '*.mdx' '*.ts' '*.tsx' '*.yaml' '*.yml' '*.txt' \ | |
| ':(exclude)CHANGELOG.md' \ | |
| ':(exclude)scripts/package-release-config-test.sh'; then | |
| if git grep -n -F -- "$previous_version" -- \ | |
| ':(exclude)CHANGELOG.md' \ | |
| ':(exclude)scripts/package-release-config-test.sh'; then |
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@scripts/package-release-config-test.sh` around lines 73 - 76, Update the git
grep invocation in the stale-version check to scan all tracked files instead of
restricting matches to the current extension allowlist, while retaining only the
necessary exclusions for CHANGELOG.md and
scripts/package-release-config-test.sh. Ensure files such as Dockerfile,
package.json, and TOML configuration are included.
There was a problem hiding this comment.
The current source audit found the previous release string in excluded JSON only in package-lock.json and archive-provenance.json, where those records are legitimate. Binaries and native packages derive their version from GoReleaser; current site, OpenAPI and deployment examples have explicit checks. A blanket all-file grep would also flag unrelated dependency and archive records. The remaining guard-scope question stays open.
There was a problem hiding this comment.
@scttbnsn I withdraw the suggestion to scan all tracked files with only the two exclusions. That scan would flag legitimate dependency and archive records.
The current allowlist still leaves some release-owned fields outside the guard. The supplied audit does not show a stale release value in those fields. Define which fields need coverage, then check them without rejecting legitimate records.
I am not marking the finding as addressed while the guard scope remains undecided.
Learnings added
-
Learnt from: scttbnsn Repo: CodesWhat/portwing PR: 83 File: scripts/package-release-config-test.sh:73-76 Timestamp: 2026-11-13T00:05:37.449Z Learning: Within repository "CodesWhat/portwing", only for files matching one of ["scripts/package-release-config-test.sh"]: When reviewing the stale-version guard in scripts/package-release-config-test.sh, account for legitimate previous-version matches in package-lock.json dependency records and archive-provenance.json archive records. Check the context of matches before treating them as stale Portwing release references; a blanket all-file grep without suitable exclusions can reject legitimate records.Note: Learnings are effective only in the context of similar code segments. To apply general coding guidelines, please configure review instructions. You can manage existing learnings in the app.
You are interacting with an AI system.
Clears everything that was open on the tracker and cuts v0.9.2.
What was open
What's in here
Competitive landscape — the primary-source audit of Portainer Agent, Komodo Periphery, Arcane, Hawser, Docker-native access, and socket proxies. Corrects stale Komodo auth/edge claims, adds the Arcane comparison route, folds
comparison-rows.tsinto per-competitor route data, and records the pre-v1 review gate plus explicit security non-goals. This work was written against the pre-v0.9.0 tree, so the merge conflicts were resolved claim-by-claim: the audit wins on content, theportwing.codeswhat.comdomain andDrydock v1.6.0-rc.11+version strings from v0.9.x win where they overlap.Both code-scanning alerts closed, and one was a real bug.
buildCommandchecked for a stack's.env.drydockwith a plainos.Stat, which follows symlinks — a symlink planted at that path resolves outsideSTACKS_DIRand gets handed todocker compose --env-file. The stack-file writer already refused to create symlinks, so this needed a symlink planted by other means, but the check now goes throughos.Rootlike the writer does, and non-regular files are ignored. Covered by two new tests. The log-injection alert was the single unsanitizedslogcall intunnel.go— every sibling line already usedapplog.Sanitize.Dashboard cleared, including the majors. Every pinned action moved to current,
actions/checkoutv7 andactions/setup-gov7 included — both are ESM migrations, and checkout v7's fork-ref restriction doesn't apply since no workflow usespull_request_targetorworkflow_run. TypeScript 7 neededbaseUrldropped fromdocs/tsconfig.json(removed in TS 7; the website config was already on the paths-only form). npm 12 neededengines.nodeto state its actual requirement instead of a looser>=22.0.0. Thejs-yamloverride was dead — nothing in the tree resolves to it. The 4 "abandoned" packages are stable by design, not unmaintained, so renovate.json now says so.Branch hygiene — the 4 merged branches are deleted, along with 11 more stale local ones.
Verification
Local gate from RELEASING.md, all green: gofmt,
go vet,go test -race ./...(17 packages), golangci-lint (0 issues), govulncheck (0 reachable),goreleaser check+ snapshot (all archives, deb/rpm, cask, checksums). Website and docs typecheck and build,/compare/arcanerenders. actionlint and zizmor 1.29 clean on the rewritten workflows. Lefthook pre-push gate passed.Changelog
✨ Added
.env.drydockpaths and rate-limiter edge cases.🔧 Changed
-count=1.🐛 Fixed
.env.drydockpaths.execIDand error messages before logging.X-Real-IPbefore rate limiting.X-Real-IPfallback values.🗑️ Removed
ComparisonRowinterface andcomparisonRowsdataset.js-yamlnpm override.🔒 Security
.env.drydocksymlink escapes outsideSTACKS_DIR.X-Real-IPvalues from creating rate-limit buckets.Concerns
comparisonRowsexport.os.Rootsupport on every target platform.