Skip to content

chore(release): promote v1.2.1 - #487

Merged
scttbnsn merged 6 commits into
mainfrom
dev/v1.0
Nov 13, 2026
Merged

scttbnsn merged 6 commits into
mainfrom
dev/v1.0

Conversation

@scttbnsn

Copy link
Copy Markdown
Contributor

Promotes the reviewed dev tree for v1.2.1. Includes controller-URL credential redaction, exact Compose routing, SSE retry recovery, rooted stack aliases, corrected mutation evidence and Go 1.27.4 security builds. Release metadata and current examples are aligned for the patch.

The accepted trees from #480, #481, #482, #484, #485 and #486 are preserved. Corrected mutation run 43346075905 passed all 16 numeric package gates. Its 465 source, test and tooling inputs match this candidate; raw reports and survivor identities are retained. The config extra-mutator advisory has 57 timeouts and remains unmeasured.

Sockguard conformance run 42829815837 still fails its wget readiness probe against the shell-free image; the owner harness remains unchanged. New published-artifact, deployment and NAS verification will follow the protected promotion and existing release-cut workflow. Earlier conformance evidence does not verify this release.

renovate Bot and others added 6 commits November 10, 2026 14:37
* fix(deps): update non-major (npm)

* ci(web): align browser image with playwright update

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: scttbnsn <[email protected]>
* chore(deps): update non-major (github-actions)

* ci(security): run the intended gosec scanner image

* ci(security): preserve the action allowlist for gosec

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: scttbnsn <[email protected]>
* fix(quality): scale retained history byte budget

* test(quality): cover independent cache and validation branches

* fix(ci): verify effective probes and fuzz diagnostics

* fix(examples): update Prometheus for security fixes

* fix(compose): serialize symlink aliases of stack directories

* fix(ci): fail closed on Renovate ruleset lookups

(cherry picked from commit 8ef3a03)

* fix(compose): reject stack aliases outside the configured root

* test(auth): document failed enrollment restart boundaries

* fix(ci): exclude deleted branches and verify pagination fixtures

* test(release): scope build pins and reject scanner filters

* fix(compose): resolve configured stack roots before requests

* fix(release): detect mixed-case healthcheck overrides

* fix(compose): bound request metadata resolution to stack root

* build(deps): update Go builders to 1.27.4

* refactor(compose): rely on rooted containment before lookup
* fix(metrics): exclude audit reads from export counters

* fix(edge): redact controller credentials from diagnostics

* fix(adapter): preserve update kinds and exact compose routing

* fix(events): recover after a failed upstream subscription

* fix(quality): preserve mutation measurement evidence

* test(log): mark synthetic URL credentials as fixtures

* fix(quality): exclude unmeasured mutation ratchet samples

* fix(log): redact controller URLs repeated by error wrappers

* fix(events): log connections only after subscription succeeds

* fix(log): redact escaped URLs in quoted wrappers
* docs(edge): clarify signing and capability requirements

* docs(fuzz): correct saturated target cadence

* docs: reconcile current runtime and research claims

* docs: complete health and audit examples and evidence links

* style(web): format comparison evidence link

* docs: explain availability during release publication

* docs(auth): specify credential source precedence

* docs: align builder guidance with reviewed Go security patch

* docs: clarify enrollment audit and edge timing boundaries

* docs: distinguish enrollment validation from transport rejection
* docs(edge): clarify signing and capability requirements

* docs(fuzz): correct saturated target cadence

* docs: reconcile current runtime and research claims

* docs: complete health and audit examples and evidence links

* style(web): format comparison evidence link

* docs: explain availability during release publication

* docs(auth): specify credential source precedence

* docs: align builder guidance with reviewed Go security patch

* docs: clarify enrollment audit and edge timing boundaries

* docs: distinguish enrollment validation from transport rejection

* ci(mutation): score logging mutants with measured floors

* chore(release): prepare v1.2.1 metadata

* ci(mutation): declare disabled zero mode for workflow typing

* docs(release): describe the v1.2 line without a minor bump claim
@coderabbitai

coderabbitai Bot commented Nov 13, 2026

Copy link
Copy Markdown

Important

Review skipped

Too many files!

This PR contains 102 files, which is 2 over the limit of 100.

To get a review, reduce the PR to 100 files or fewer by splitting it into smaller PRs or changing its base branch.

Upgrade to a paid plan to raise the limit.

This review couldn't start because sufficient usage credits or metered capacity aren't available. Add credits or update usage-based reviews in the billing tab, then retry.

Check out review usage here.

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 2726fe9 and e0516e2.

Files ignored due to path filters: 3

  • CHANGELOG.md is excluded by !CHANGELOG.md
  • package-lock.json is excluded by !**/package-lock.json, !**/package-lock.json
  • website/public/llms.txt is excluded by !website/public/**
Files selected for processing: 102

  • .github/workflows/ci-verify.yml
  • .github/workflows/quality-fuzz-nightly.yml
  • .github/workflows/quality-integration-engines.yml
  • .github/workflows/quality-mutation-monthly.yml
  • .github/workflows/release-cut.yml
  • .github/workflows/release.yml
  • .github/workflows/security-grype.yml
  • .github/workflows/security-scorecard.yml
  • .grype.yaml
  • AGENTS.md
  • COMPATIBILITY.md
  • CONTRIBUTING.md
  • Dockerfile
  • Dockerfile.armv7
  • Dockerfile.dev
  • Dockerfile.release
  • README.md
  • RELEASING.md
  • ROADMAP.md
  • SPEC.md
  • STABILITY.md
  • analytics/package.json
  • analytics/src/contract.test.ts
  • api/openapi.yaml
  • cmd/portwing/main.go
  • docs/content/docs/current/api-reference.mdx
  • docs/content/docs/current/audit-logging.mdx
  • docs/content/docs/current/authentication.mdx
  • docs/content/docs/current/configuration.mdx
  • docs/content/docs/current/connection-modes.mdx
  • docs/content/docs/current/drydock-integration.mdx
  • docs/content/docs/current/getting-started.mdx
  • docs/content/docs/current/installation.mdx
  • docs/content/docs/current/mcp-server.mdx
  • docs/content/docs/current/migrating-from-watchtower.mdx
  • docs/content/docs/current/observability.mdx
  • docs/content/docs/current/security-model.mdx
  • docs/content/docs/current/stability-policy.mdx
  • docs/content/docs/current/standalone-mode.mdx
  • docs/content/docs/current/verification.mdx
  • docs/design/ed25519-auth.md
  • docs/design/mldsa-edge-auth.md
  • docs/drydock-integration.md
  • docs/migrating-from-watchtower.md
  • docs/package.json
  • examples/docker-compose.edge-with-exec.yml
  • examples/docker-compose.edge.yml
  • examples/docker-compose.standard.yml
  • examples/docker-compose.with-sockguard.yml
  • examples/kubernetes/edge.yaml
  • examples/kubernetes/observability-edge.yaml
  • examples/kubernetes/observability-standard.yaml
  • examples/kubernetes/standard.yaml
  • examples/observability/docker-compose.yml
  • go.mod
  • internal/adapter/drydock/container_wire_test.go
  • internal/adapter/drydock/wire.go
  • internal/adapter/refresh_diff_test.go
  • internal/audit/audit.go
  • internal/auth/enroll_test.go
  • internal/config/config.go
  • internal/config/controller_logging_test.go
  • internal/docker/compose.go
  • internal/docker/compose_execute_test.go
  • internal/edge/client.go
  • internal/edge/controller_logging_test.go
  • internal/edge/key_rotation.go
  • internal/edge/request_test.go
  • internal/edge/tunnel.go
  • internal/generic/events.go
  • internal/generic/events_uncovered_test.go
  • internal/log/url.go
  • internal/log/url_test.go
  • internal/mcp/mcp_test.go
  • internal/metrics/collector_proc_test.go
  • internal/server/audit_export.go
  • internal/server/audit_export_test.go
  • internal/server/coverage2_test.go
  • internal/server/coverage3_test.go
  • package.json
  • scripts/apply-renovate-branch-protection.sh
  • scripts/apply-renovate-branch-protection.test.mjs
  • scripts/cflite-initialize-test.sh
  • scripts/ci/mutation-ratchet.sh
  • scripts/ci/mutation-survivors-record.sh
  • scripts/ci/quality-history-append.sh
  • scripts/fuzz-history-merge-script-test.sh
  • scripts/fuzz-tier-config-test.sh
  • scripts/mutation-config.test.mjs
  • scripts/mutation-ratchet-script-test.sh
  • scripts/mutation-survivors-diff-test.sh
  • scripts/mutation-survivors-record-test.sh
  • scripts/package-release-config-test-test.sh
  • scripts/package-release-config-test.sh
  • scripts/quality-history-script-test.sh
  • scripts/validate-commit-msg.sh
  • scripts/web-ci-config.test.mjs
  • website/package.json
  • website/src/app/compare/page.tsx
  • website/src/app/data/faq.ts
  • website/src/components/get-started.tsx
  • website/src/lib/site-config.ts

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Share

@codecov

codecov Bot commented Nov 13, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 99.01961% with 1 line in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
internal/edge/client.go 92.85% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

@scttbnsn

scttbnsn commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor Author

@coderabbitai Please verify source preservation for promotion e0516e2. Its complete tree equals accepted #486 head 24f99b3. Each of the 105 raw changed file entries matches an accepted feature-PR entry, including mode, blob and path:

PR Accepted head
#480 b12d087
#481 6c1c0c5
#482 0e45055
#484 9639af2
#485 6c0cb2d
#486 24f99b3

Those PRs retain source reviews, approvals and verified protected merges. This promotion introduces no further content. The automatic review saw 102 files against its 100-file cap. Please inspect tree equality and the existing review lineage, and report any uncovered change. Threat model: a privileged single-host Docker agent with trusted maintainer changes; hostile local filesystem mutation is excluded.

@coderabbitai

coderabbitai Bot commented Nov 13, 2026

Copy link
Copy Markdown

Tip

For best results, initiate chat on the files or code changes.

Analysis chain

Script executed:

#!/bin/bash
set -u
printf '%s\n' '=== REPOSITORY ==='
git rev-parse HEAD
git rev-parse --is-shallow-repository
git remote -v | sed -E 's#(https?://)[^/@]+@#\1[redacted]@#g'
printf '%s\n' '=== EXPECTED COMMITS ==='
for sha in e0516e2a578e8cfad1217bbe48ea9fb27206ab79 b12d0872 6c1c0c5c 0e450555 9639af2f 6c0cb2d9 24f99b32; do
  printf '%s ' "$sha"
  git show -s --format='%H tree=%T parents=%P' "$sha" 2>&1 || true
done
printf '%s\n' '=== PR AND REVIEW METADATA ==='
python3 - <<'PY'
import json, subprocess
repo = "CodesWhat/portwing"
for number in (480, 481, 482, 484, 485, 486, 487):
    print(f"\n--- PR #{number} ---", flush=True)
    def api(path):
        p = subprocess.run(["gh", "api", "--paginate", path], capture_output=True, text=True)
        if p.returncode:
            print(f"API ERROR {path}: {p.stderr.strip()}")
            return None
        try:
            return json.loads(p.stdout)
        except json.JSONDecodeError:
            print(f"API PARSE ERROR {path}: {p.stdout[:500]}")
            return None
    p = api(f"repos/{repo}/pulls/{number}")
    if not p:
        continue
    print(json.dumps({
        "number": number, "state": p.get("state"), "draft": p.get("draft"),
        "created_at": p.get("created_at"), "closed_at": p.get("closed_at"),
        "merged_at": p.get("merged_at"), "merged_by": (p.get("merged_by") or {}).get("login"),
        "merge_commit_sha": p.get("merge_commit_sha"),
        "base_ref": p["base"]["ref"], "base_sha": p["base"]["sha"],
        "head_ref": p["head"]["ref"], "head_sha": p["head"]["sha"],
        "changed_files": p.get("changed_files"), "commits": p.get("commits"),
        "mergeable": p.get("mergeable"), "mergeable_state": p.get("mergeable_state")
    }))
    reviews = api(f"repos/{repo}/pulls/{number}/reviews?per_page=100")
    if isinstance(reviews, list):
        for r in reviews:
            print("REVIEW", json.dumps({"id": r.get("id"), "user": (r.get("user") or {}).get("login"),
                "state": r.get("state"), "commit_id": r.get("commit_id"),
                "submitted_at": r.get("submitted_at")}))
    commits = api(f"repos/{repo}/pulls/{number}/commits?per_page=100")
    if isinstance(commits, list):
        for c in commits:
            print("PR_COMMIT", c.get("sha"), (c.get("commit", {}).get("message", "").splitlines() or [""])[0])
PY

Length of output: 21564


Script executed:

#!/bin/bash
set -u
printf '%s\n' '=== FETCH FEATURE HEAD OBJECTS ==='
git fetch --no-tags --filter=blob:none origin \
  refs/pull/480/head refs/pull/481/head refs/pull/482/head \
  refs/pull/484/head refs/pull/485/head refs/pull/486/head 2>&1 || true

python3 - <<'PY'
import json, subprocess, collections

repo = "CodesWhat/portwing"
promotion = "e0516e2a578e8cfad1217bbe48ea9fb27206ab79"
promo_base = "2726fe9db895905b395521e060e12c5754a526e6"
prs = {
  480: ("088d70ab2413280413ed73866cfae52e1cdbfee0", "b12d08728efe2e7cfae5bd590f02c0fe48843258", "c76229758a1ad7e6cd9bbbaf0300bda4a0bc20db"),
  481: ("088d70ab2413280413ed73866cfae52e1cdbfee0", "6c1c0c5c27cbf0688e732824cffffa8eda70bea2", "bda8e0d5e9bf3e99fa7cdf9117cebbe9d899dbda"),
  482: ("8f5ecd37a1105870ba4f2da5750fefab2417c4e2", "0e4505550a33c5c14eb8fd47060680502ac462f5", "1e8ffd6b6cabc0b416f12acfe2b1f7d29a46f036"),
  484: ("0034faecbcb6ad4de7728148a97d49ef2ba68b66", "9639af2fb5f6899f6c69b2050f59dded36c6ba46", "8f5ecd37a1105870ba4f2da5750fefab2417c4e2"),
  485: ("bda8e0d5e9bf3e99fa7cdf9117cebbe9d899dbda", "6c0cb2d9fc0b619395a0fad8835209cfc5906e98", "0034faecbcb6ad4de7728148a97d49ef2ba68b66"),
  486: ("1e8ffd6b6cabc0b416f12acfe2b1f7d29a46f036", "24f99b32740a36c9e88da8680941370bba72fa12", promotion),
}
def run(*args):
    p = subprocess.run(args, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
    if p.returncode:
        raise RuntimeError(f"{' '.join(args)}: {p.stderr.decode(errors='replace').strip()}")
    return p.stdout

def api(path):
    p = subprocess.run(["gh", "api", "--paginate", "--slurp", path], text=True, capture_output=True)
    if p.returncode:
        print(f"API UNAVAILABLE {path}: {p.stderr.strip()}")
        return None
    try:
        return json.loads(p.stdout)
    except json.JSONDecodeError:
        print(f"API PARSE ERROR {path}: {p.stdout[:500]}")
        return None

def raw(base, head):
    mb = run("git", "merge-base", base, head).decode().strip()
    data = run("git", "diff", "--raw", "--no-renames", "--abbrev=40", "-z", mb, head)
    parts = data.split(b"\0")
    rows = []
    for i in range(0, len(parts) - 1, 2):
        if not parts[i]:
            break
        meta = parts[i].decode().split()
        if len(meta) != 5:
            raise ValueError(repr(meta))
        rows.append((meta[0][1:], meta[1], meta[2], meta[3], meta[4],
                     parts[i+1].decode("utf-8", "backslashreplace")))
    return mb, rows

print("\n=== TREE EQUALITY ===")
try:
    for sha in [promotion] + [x[1] for x in prs.values()]:
        print(sha, run("git", "rev-parse", sha + "^{tree}").decode().strip())
    promo_tree = run("git", "rev-parse", promotion + "^{tree}").decode().strip()
    head_tree = run("git", "rev-parse", prs[486][1] + "^{tree}").decode().strip()
    print("promotion_equals_486_head:", promo_tree == head_tree)
except Exception as e:
    print("TREE COMPARISON INCOMPLETE:", e)

print("\n=== RAW DIFF COVERAGE ===")
try:
    pmb, promo_rows = raw(promo_base, promotion)
    print("promotion_merge_base", pmb, "raw_entries", len(promo_rows))
    all_rows = collections.defaultdict(list)
    final_entries = collections.defaultdict(list)
    paths = collections.defaultdict(list)
    for n, (base, head, merge) in prs.items():
        mb, rows = raw(base, head)
        print(f"PR #{n}: merge_base={mb} raw_entries={len(rows)}")
        for r in rows:
            all_rows[r].append(n)
            # Include the old mode and old blob for deletions; otherwise compare final entry.
            key = (r[0], r[2], r[5], "D") if r[4] == "D" else (r[1], r[3], r[5], "present")
            final_entries[key].append(n)
            paths[r[5]].append((n, r))
    exact_missing = [r for r in promo_rows if r not in all_rows]
    final_missing = []
    assignment = collections.Counter()
    for r in promo_rows:
        key = (r[0], r[2], r[5], "D") if r[4] == "D" else (r[1], r[3], r[5], "present")
        if key in final_entries:
            assignment[tuple(final_entries[key])] += 1
        else:
            final_missing.append(r)
    print("full_raw_tuple_matches", len(promo_rows)-len(exact_missing), "of", len(promo_rows))
    print("final_mode_blob_path_matches_or_deleted_old_entry", len(promo_rows)-len(final_missing), "of", len(promo_rows))
    print("matching_PR_distribution", dict(assignment))
    for r in exact_missing:
        print("FULL_RAW_UNMATCHED", json.dumps(r), "same_path_feature_entries", json.dumps(paths.get(r[5], [])))
    for r in final_missing:
        print("FINAL_ENTRY_UNCOVERED", json.dumps(r), "same_path_feature_entries", json.dumps(paths.get(r[5], [])))
except Exception as e:
    print("RAW COVERAGE INCOMPLETE:", e)

print("\n=== MERGE COMMIT VERIFICATION ===")
for n, (_, head, merge) in prs.items():
    obj = api(f"repos/{repo}/commits/{merge}")
    if obj and isinstance(obj, list) and obj[0]:
        c = obj[0]
        v = c.get("commit", {}).get("verification", {})
        print(f"PR #{n}", json.dumps({"merge_sha": c.get("sha"), "parents": [x["sha"] for x in c.get("parents", [])],
              "signature_verified": v.get("verified"), "signature_reason": v.get("reason")}))

print("\n=== CURRENT BASE BRANCH PROTECTION ===")
for branch in ("dev/v1.0", "main"):
    obj = api(f"repos/{repo}/branches/{branch.replace('/', '%2F')}/protection")
    if obj and isinstance(obj, list) and obj[0]:
        p = obj[0]
        print(branch, json.dumps({"required_status_checks": p.get("required_status_checks"),
              "required_pull_request_reviews": p.get("required_pull_request_reviews"),
              "enforce_admins": p.get("enforce_admins"),
              "required_signatures": p.get("required_signatures")}))

print("\n=== PROMOTION CHECKS ===")
obj = api(f"repos/{repo}/commits/{promotion}/check-runs?per_page=100")
if obj:
    for page in obj:
        for c in page.get("check_runs", []):
            print("CHECK", json.dumps({"name": c.get("name"), "status": c.get("status"),
                  "conclusion": c.get("conclusion"), "app": (c.get("app") or {}).get("slug"),
                  "html_url": c.get("html_url")}))
obj = api(f"repos/{repo}/commits/{promotion}/status?per_page=100")
if obj:
    for page in obj:
        print("STATUS", json.dumps({"state": page.get("state"),
              "statuses": [{"context": s.get("context"), "state": s.get("state"), "target_url": s.get("target_url")} for s in page.get("statuses", [])]}))

print("\n=== REFERENCED WORKFLOW RUNS ===")
for rid in ("42829815837", "43346075905"):
    obj = api(f"repos/{repo}/actions/runs/{rid}")
    if obj and isinstance(obj, list) and obj[0]:
        r = obj[0]
        print(json.dumps({"id": r.get("id"), "name": r.get("name"), "status": r.get("status"),
              "conclusion": r.get("conclusion"), "head_sha": r.get("head_sha"), "html_url": r.get("html_url")}))
PY

Length of output: 29740


@scttbnsn Source preservation is verified. The promotion commit e0516e2a and the accepted #486 head 24f99b32 have the same tree ID: f37574dd99c084366e6699aa248fe0e2fcb2a725.

  • All 105 promotion entries match an accepted feature-PR entry by final mode, blob, and path. I found no unmatched final content.
  • The complete raw diff tuples match for 94 of 105 entries. The other 11 have different old blob IDs because multiple feature PRs changed those files. Their final entries match an accepted PR.
  • GitHub records an approval on the final head of each of #480, #481, #482, #484, #485, and #486. Their squash-merge commits form a continuous chain to the promotion commit. GitHub reports valid signatures for all six merge commits.

Checks before merge: GitHub reported #487 as blocked. The branch-protection API returned 403, so I could not verify historical rule enforcement, bypasses, or the reason for the current status. Check the required rules and current PR status before merging.

Published-image Grype checks were skipped on the promotion commit. Complete the published-artifact, deployment, and NAS checks after the release cut. The PR objectives report a failed Sockguard conformance run; I could not access that run to verify it. Confirm conformance separately before claiming it for this release.


Learnings added

Learnt from: scttbnsn
URL: https://github.com/CodesWhat/portwing/pull/487

Timestamp: 2026-11-13T02:30:07.958Z
Learning: Within repository "CodesWhat/portwing": When reviewing CodesWhat/portwing's privileged single-host Docker agent, use the stated threat model: maintainer changes are trusted and hostile local filesystem mutation is excluded. Do not treat a scenario that requires hostile local filesystem mutation as an in-scope vulnerability unless the deployment assumptions change.

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.

@biggest-littlest biggest-littlest left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verified the e0516e2 promotion tree matches accepted 24f99b3. CodeRabbit independently verified all 105 final entries against the reviewed feature heads and signed merge chain in comment 6842036500. Required checks are green and effective main rules were read back. The source-equivalent mutation run passed all 16 numeric gates; the config advisory timeout gap and external conformance failure remain explicit. Published-artifact and NAS verification will follow the cut.

@ALARGECOMPANY ALARGECOMPANY left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verified the e0516e2 promotion tree matches accepted 24f99b3. CodeRabbit independently verified all 105 final entries against the reviewed feature heads and signed merge chain in comment 6842036500. Required checks are green and effective main rules were read back. The source-equivalent mutation run passed all 16 numeric gates; the config advisory timeout gap and external conformance failure remain explicit. Published-artifact and NAS verification will follow the cut.

@scttbnsn
scttbnsn merged commit d062851 into main Nov 13, 2026
61 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants