Repository navigation
chore(release): sync v1.8.0-rc.4 to main - #1452
Conversation
…s configured (#1025) fix(registry): prune controller-owned records when no local watcher is registered pruneOrphanedLocalContainers() early-returned whenever the controller had no local (non-agent) watcher registered, so with DD_LOCAL_WATCHER=false the record a container left behind when it moved to a remote agent survived every restart. The agent's report for that id is then refused by AgentClient's ownership gate as owned by the controller, and the record is never rewritten to name the agent. registerWatchers() now reports how many registrations it attempted, and the prune skips only when registrations were attempted and none of them landed. An unreachable socket or an unreadable CA file empties the registry for a transient reason, so that case must not delete every controller-owned record; a controller configured with no local watcher at all is a real operator decision and every controller-owned record it holds is orphaned.
#1028) The pull DR-110 added runs before any destructive step, and pullImage throws on any registry failure, so performRollback's catch turns a registry that cannot be reached into "Auto-rollback failed" with the unhealthy container still running. That is a regression on exactly the hosts the pull was supposed to help: an airgapped host, or one hitting a Docker Hub anonymous 429, rolled back fine before, because the backup image was still on disk. Prune retains it, so the pull is redundant in precisely the case that now fails. pullRollbackImage now inspects the rollback reference first and skips the pull when the image is already on the host, logging that it is. The registry resolution and getAuthPull move behind the same check, since getAuthPull is itself a network call on most registries. A failed inspect answers "not on the host" whatever the failure was, not just a 404: a briefly unreachable daemon has to fall through to the pull rather than skip it, because pulling an image that is already there costs a round trip while skipping one that is absent is the create failure this path exists to prevent. An image that is neither on the host nor pullable still refuses, now with a message that says so, and the compose refresh's requireLocalImage still catches the genuinely missing case before the stop and remove. The order in performRollback and the manual API rollback in app/api/backup.ts, which pulls on its own, are unchanged. On this line the rollback reference is the hybrid repo:tag@sha256:... that buildRollbackImageReference builds, and inspecting that exact form is already load-bearing here rather than something this change introduces: the compose refresh calls verifyPulledImageCompatibility(dockerApi, pinnedImage, ...) under requireLocalImage, which does dockerApi.getImage(pinnedImage).inspect() on the same hybrid reference, and capturePulledImageIdentity inspects it too on the way to resolving pinnedImage. isImageOnHost asks the daemon the same question in the same form, so the reference that skips the pull is the reference the refresh then verifies. Refs DR-110 (cherry picked from commit f4cda64)
…esh checks (#1026) Compose-file-once gates in its batch preflight, so createTriggerContext told the lifecycle not to defer the pre-update hook and the prune/backup step. They ran ahead of the refresh, which still has two guards of its own: the container has vanished since the scan, or its inspect came back without a boolean State.Running. Either aborts the refresh, and by then the update had already fired an operator hook, deleted cached images and written a backup row for something that never happened. Repeating it evicted real rollback points. That path now defers like the ordinary one. performContainerUpdate forwards the post-pull hook instead of dropping it, wrapped so skipSecurityGate is always set, because the preflight already gated the service. The gate suppression is unchanged, it just moves from "no hook at all" to an explicit flag, and the deferred steps land inside the refresh after both guards and before anything is stopped or removed. Compose refreshes on this path are now covered by the executor's missed-hook guard too. The mocks that stand in for the refresh had to start calling the hook, which they now do through a shared helper forwarding the operation id and bound image identity the real refresh passes. The compose-file-once ordering test expects hook, prune and backup after the refresh's guards rather than before the refresh.
… on prune (#1033) The startup prune of controller-owned container records got two things wrong. DR-112: it deleted the record with a plain deleteContainer(), so nothing was stashed, and the stash it would have written could not have been read back anyway. deleteContainer's replacementExpected stash is keyed on agent plus watcher plus name, which is exactly what a hand-off to an agent (or a watcher rename) changes, so the incoming record looked up a key nothing had written. A snooze, a maturity mode and minimum age, and skipped tags or digests all went back to defaults, and an absent maturity policy reads as no gate rather than the default gate. deleteContainer now takes identityChangeExpected, which stashes the same overrides under the container's Docker id: the id is the one thing the move leaves alone, because it is the same physical container on both sides, while the identity is what it changes. insertContainer tries the identity key first and falls back to the id key, so a recreate (new id, same identity) still takes the #496 path untouched. A container recreated as part of the move mints a new id and matches neither key. DR-113: the prune kept only records whose watcher was registered, and #1025 protected the all-failed case only. With two configured local watchers where one fails on an unreadable CA file, a missing socket or a rejected value, the survivor keeps the registered set non-empty, so the failed watcher's records were pruned as though it had been renamed away. registerWatchers now returns the configured watcher names rather than a count, and the prune keeps a record whose watcher is registered or still configured. It also awaits allSettled rather than all: Promise.all resolves the await on the first rejection while the other registrations are still in flight, so the prune could read a registry emptier than the one the run actually produced.
…binaries at the cut (1.8) (#1031) * build(docker): pin base images to multi-arch index digests #881 rolled the node:24-alpine and alpine:3.24 pins to digests that name a single amd64 manifest rather than the image index. buildx resolves a digest pin the same way for every --platform, so the arm64 stage built on an amd64 rootfs and every arm64 image from v1.7.0-rc.4 onward shipped x86-64 tini, node and healthcheck binaries under an arm64 label (#1021). Both pins are back on image index digests that carry linux/amd64 and linux/arm64. openssl stays at 3.5.8-r0 on arm64, verified in a local linux/arm64 build, so the six CVEs #881 fixed stay fixed. (cherry picked from commit 2b50613) * ci(release): verify base image indexes and platform binaries at the cut Nothing in the pipeline noticed that rc.4 through rc.10 published x86-64 binaries under an arm64 label (#1021): the digests were real, the manifest list named both platforms, and the scans read the amd64 image. Two guards close that. check-dockerfile-base-indexes.sh inspects every digest-pinned FROM and fails unless it is an image index carrying every platform we build for, wired into ci-verify's build job (which already has Docker Hub egress and runs on every PR) and into release-cut before the staging build. check-image-arch.sh reads the ELF e_machine of /sbin/tini, /usr/local/bin/node and /bin/healthcheck inside the image, per platform, and runs after the staging build resolves a digest and before anything is signed, tagged or promoted, so a mismatched image cannot reach a public tag. Both are exercised by node:test suites with a fake docker on PATH. (cherry picked from commit 5a5f85b) * ci(release): tighten the platform guards from review - docs(changelog): tighten the arm64-index CHANGELOG bullet's spacing to match the list - fix(scripts): pull the per-platform image fresh in check-image-arch.sh instead of relying on the daemon's mismatch re-pull - ci(workflows): retry the base-image-index check in ci-verify.yml so a transient Docker Hub 429 doesn't fail the build job (cherry picked from commit 4bab5a7) * ci(release): fold Dockerfile continuations in the base index guard check-dockerfile-base-indexes.sh matched FROM against physical lines, so a pin written as `FROM --platform=... \` with the reference on the next line was never inspected, and another valid pin was enough for the guard to pass. Fold each logical instruction first: a line ending in the escape character continues on the next one, comment and blank lines inside a continuation are dropped (BuildKit warns on an empty continuation line and keeps folding), CRLF endings are tolerated, and the escape character comes from a `# escape=` parser directive when one precedes the first instruction. Tests cover the continued FROM with a single-platform pin on the continued line, the backtick escape, a late directive that must be ignored, and a continuation that ends the file. Refs DR-111, review on #1024 (cherry picked from commit 87c40b7)
* feat(portainer): persist recovery state for stack updates (cherry picked from commit 8abef2ffcac3999fb244a69303dab4326685fabf) * fix(portainer): reconcile recovery descriptors correctly on restart Fixes six defects found in review of the cherry-picked recovery-state commit before it can be considered mergeable: 1. normalizeImageReference returned undefined for an env-interpolated image, so an undefined-vs-undefined comparison matched "original" and recovery re-PUT over an operator's manual edit. The compose branch now throws when the running service image cannot be resolved to a concrete reference, treating it as unverifiable rather than a match, and expires instead of mutating the stack. Covered by the "unresolvable compose image" test. 2. Env-mode restore wrote TAG="" when the variable was absent at capture. originalValue is now string | null, capture records null when the variable is missing, and a new removeStackEnv helper deletes the variable on restore instead of writing it back empty. Covered by the null-originalValue capture and restore tests plus the removeStackEnv-with-no-Env-array test. 3. A transient Portainer API failure at boot (stack or stack-file fetch) is now caught and rethrown as PortainerRecoveryUnavailableError, which recovery.ts already classifies as expired rather than failed, so it can't fire a false update-failed notification. Covered by both "Portainer API is unavailable" tests. 4. The reissue redeploy had no restore-on-failure, and markOperationTerminal wiped the descriptor before recovery could use it. Reconciliation now keeps the pre-fetched stack file/env around, restores the previous definition when the reissue redeploy or its wait fails, and no longer calls markOperationTerminal itself so the descriptor survives until recovery.ts records the terminal state. Covered by the reissue-fails-then-restore-succeeds and combined-error (restore-put fails, restore-wait fails) tests. 5. The validator dereferenced field.slice on a missing field. New describePortainerRecoveryDescriptorProblems reports every missing or malformed field by name instead of crashing, and the caller throws a message naming them. Covered by the field-name-reporting test and the malformed-field-format variants (env missing prefix, env empty suffix, compose missing prefix). 6. Portainer.ts coverage was 95.75/91.48 (restore branch and both terminal short-circuits untested). Added ~25 tests bringing Portainer.ts, update-operation.ts, container-update-operation.ts, and recovery.ts to 100% lines/branches/functions/statements, including a new recovery.ts test for an agent-owned Portainer operation expiring instead of being reconciled. Also declares portainerRecovery on UpdateOperationBase (opaque to the store, never surfaced via toApiUpdateOperation, cleared by markOperationTerminal), and updates the CHANGELOG Unreleased/Fixed section to describe the reconcile-or-expire behavior in place of the prior always-expires behavior.
…enance window (#1035) fix(agent): gate an agent-owned container's auto-install by its maintenance window (DR-96) AgentWatcher implemented no isMaintenanceWindowOpen(), so Trigger.deferAutoUpdateForMaintenanceWindow treated every agent-owned watcher as unresolvable and failed open: an agent-owned container's automatic install ran regardless of the watcher's configured maintenance window, while the container panel (reading the same watcher's masked maintenancewindowopen field for display only) still reported the update as deferred until the window opened. AgentWatcher.isMaintenanceWindowOpen() now answers the same question a local DockerWatcher does. Under controller Docker transport the delegate watcher IS a live DockerWatcher, so its own state is authoritative. Otherwise the real watcher runs on the remote agent process, so the freshest state available to the controller is the masked maintenancewindowopen boolean from that agent's most recent watcher-snapshot report (AgentClient.getWatcherSnapshot), refreshed on every one of the agent's own scan cycles; before a snapshot has arrived it falls back to the handshake-time configuration, and with neither it fails open, matching DockerWatcher's own "unconfigured window lets updates through" default and keeping an older agent that omits the field ungated rather than newly and silently blocked. Once a closed window opens, the agent's own next scheduled report (not a controller-side poll) re-evaluates the previously deferred container's eligibility, the same way a local watcher's own next scan would - the deferral gate already lives in the generic Trigger.deferAutoUpdateForMaintenanceWindow / getContainerMaintenanceWindowOpen code, which AgentWatcher now satisfies the same interface for, so no changes were needed there. Also updates the four docs pages (getting-started, configuration/watchers, configuration/actions/update-eligibility, updates) that documented the old "not deferred for agent watchers yet" behavior as a known limitation.
…expiring once reservations, SPA fallback allowlist (#1038) * fix(agents): stash update policy on the agent-side prunes too under its Docker id (deleteContainer's identityChangeExpected option) so the record that replaces it under a new identity inherits the snooze, maturity mode/min-age, and skipped tags or digests. Two other prunes that delete a record ahead of an identity change still called deleteContainer plainly and lost the policy the same way the startup prune used to: pruneOrphanedAgentContainers in app/registry/index.ts, which runs when an agent is removed from config or renamed, and AgentClient.pruneOldContainers in app/agent/AgentClient.ts, which runs when a container is missing from an agent's incoming report because it moved to another agent. Both now pass identityChangeExpected: true, so a container that reappears under the same Docker id but a different agent, watcher, or name carries its update policy across the move instead of resetting to defaults. * chore(ci): drop the no-op pre-commit coverage hook lefthook.yml ran ./scripts/pre-commit-coverage.sh with no {staged_files} argument, so the script's `for f in "$@"` loop always saw an empty list and printed "No app/ or ui/ files staged; skipping tests" on every commit regardless of what was staged. Commit-time checks are meant to stay cheap, so rather than wiring {staged_files} through and turning this into a per-commit test run, the command and the script are gone. Pre-push coverage already runs the full suite on every push. Removes the coverage command from lefthook.yml's pre-commit block, deletes scripts/pre-commit-coverage.sh and its test, updates the two .github/tests/ci-verify-workflow.test.ts assertions that expected the hook to exist, and corrects CONTRIBUTING.md's description of what pre-commit actually runs now. * fix(notifications): expire once-notification reservations that never settle reserveOnceNotificationSlot/releaseOnceNotificationSlot guard once=true sends against an overlapping evaluation of the same result, but the release only ran when the handler's own promise settled. runHandlerWithTimeout detaches a handler that misses its 30s deadline instead of awaiting it forever, so a provider that never resolves or rejects held its reservation for the process lifetime, and every later scan for that exact result read it as still in flight and skipped the send silently. Give each reservation its own expiry timer, four times the handler timeout (event.getHandlerTimeoutMs(), a new production-facing getter alongside the existing test-only one), that deletes the map entry and logs a warn naming the key if nothing released it first. releaseOnceNotificationSlot and deregisterComponent now clear that timer wherever they clear the reservation, so a normal settle or an explicit teardown never leaves it to fire later against a reused key. * fix(notifications): route manual scans through the single-flight cron scan watch() has no re-entrancy guard of its own. POST /api/v1/containers/watch, POST /api/v1/webhook/watch, and the agent's own watcher API (the endpoint the controller polls) each called it directly, so a manual "check now" landing while a cron scan (or another manual scan) was already running started a second, fully independent handleContainerReports pass. Under once=true both passes could read "not yet notified" before either had finished writing its own history, so a trigger sent the same update twice. All three now route through triggerManualWatch() (app/watchers/manual-watch.ts), which calls the Docker watcher's existing watchFromCron()/ watchFromCronOrchestration() single-flight orchestration instead of watch() when a watcher exposes it, falling back to watch() for any watcher type that does not. ignoreMaintenanceWindow: true preserves manual/API scans' existing behavior of running regardless of a configured maintenance window. Whether the call coalesced into an already-running scan is surfaced back: a `coalesced` field in the JSON body for the containers/webhook endpoints (added to the WebhookWatchAllResponse OpenAPI schema), and an X-Drydock-Watch-Coalesced header for the agent endpoint, which keeps its existing bare ContainerReport[] body so a controller and agent on either side of a version skew keep working unchanged. Also, handleMaturityGateClearedEvent's once=true check read notification history with a bare hasAlreadyNotifiedForResult(), with the matching write landing an await later once delivery confirms -- the same window reserveOnceNotificationSlot()/releaseOnceNotificationSlot() exist to close for the generic update-available path. Two overlapping evaluations of the same maturity-cleared event could both read "not notified" and both dispatch. It now takes the same reservation before dispatching, released from recordEventDeliverySuccess() on success, a new releaseEventDeliveryReservation() on failure (since a maturity-cleared dispatch can be optimistic-and-detached or deferred to a later batch flush, so handleMaturityGateClearedEvent's own call stack returns long before the send settles), or locally when dispatchContainerForEvent() returns false without ever queuing or sending anything. * fix(ui): allowlist SPA routes for the service worker navigation fallback The workbox navigateFallback denylist only ever excluded /api from the SW's offline app-shell fallback. Express also owns /auth's OIDC subpaths, /health, and /metrics: a document navigation to any of them (in particular the identity provider's /auth/oidc/<name>/cb redirect, #939) was served index.html instead of reaching the server, so an OIDC login's code exchange never ran and the SPA silently bounced back to /login. Replace the denylist with navigateFallbackAllowlist, built directly from ui/src/router/routes.ts (buildSpaNavigateFallbackPattern, both exported from vite.config.ts). A route path segment starting with `:` (e.g. CONTAINER_LOGS's `:id`) becomes a `[^/]+` wildcard; every other segment is escaped and matched literally, with the trailing slash and query string both optional to match workbox's NavigationRoute (matched against pathname + search). A route added to the router without a matching allowlist entry is now impossible by construction: the allowlist is Object.values(ROUTES) run through the pattern builder, not a second list someone has to remember to update in step. Bare /auth is still an SPA view and still matches; its OIDC subpaths, /health and /metrics do not, and now correctly fall through to Express, along with any future server-owned path added without a change here. ui/tests/config/vite.config.spec.ts pins: every ROUTES path (concrete, trailing-slash, and query-string variants) matches; known server-owned paths (the OIDC callback, /health, /metrics, /api) do not; bare /auth matches but its subpaths do not; and the CONTAINER_LOGS wildcard matches exactly one path segment. * fix(notifications): key once-reservation release on the reservation that took it reserveOnceNotificationSlot's key alone did not prove ownership: once reservation A expired and its timer deleted the key, a fresh reservation B could take the same key, and A's own release (settling later, success or failure) would clear B's entry by key lookup, letting a third evaluation dispatch while B was still supposed to be held. Every reservation now carries a unique token, and release (from either the expiry timer or a settling caller) only clears the entry when its token matches. Threaded the token through every reserve/release pair: the simple, batch, digest, retry-buffer and maturity-gate paths, plus the batch dispatcher's queue/flush split via a side map since BatchDispatcher has no room to carry it on its own entries. * fix(ui): keep query delimiters out of route parameter wildcards buildSpaNavigateFallbackPattern's :param wildcard was [^/]+, which accepts "?", so /containers/:id/logs matched /containers/abc?x/logs (actual pathname /containers/abc, the rest is query text). Narrow the wildcard to [^/?]+ so a param segment can't swallow a literal "?" and the literal path segment that follows it.
… to 1.8 (#1048) * docs(agents): serve TLS on the agent in the paired registry example * test(rollback): pass backupScope to every health monitor case
…1052) * feat(ui): add the approval-queue service layer Wraps the /api/v1/approvals REST endpoints (list, summary, get, approve, reject, defer) behind a typed service module, matching the pattern used by every other view's service. Nothing consumes it yet. Part of spec-ca-2-approval-queue.md, slice 5. * feat(ui): add the /approvals route and queue view Lists every row the reconciler has sighted with its release notes and soft-blocker hold reasons inline, and approve/reject/defer actions that call straight through the approval service added earlier. Each row expands in place for detail rather than opening a separate panel. Part of spec-ca-2-approval-queue.md, slice 5. * feat(ui): add a sidebar approvals badge and its SSE wiring The sidebar nav gets an Approvals entry with a live pending-count badge, fed by the three approval SSE events the API already emits rather than polling; eventStream.ts parses each payload and AppLayout re-dispatches it as a window CustomEvent for any component to consume. Part of spec-ca-2-approval-queue.md, slice 5. * feat(ui): add an approvals stat tile to the dashboard Wires a pending-count stat card into the existing generic dashboard widget system (own DASHBOARD_WIDGET_IDS entry, layout constraints, and default position) rather than a bespoke component, so the widget-order and hide/show machinery already covers it. Fetches once on mount and then follows the same three approval SSE events as the sidebar badge. Part of spec-ca-2-approval-queue.md, slice 5. * feat(notifications): add the update-pending-approval rule Registers update-pending-approval in DEFAULT_NOTIFICATION_RULES so it can be enabled and assigned triggers like any other rule. It ships enabled: false and bellEnabled: false: no audit action names it yet and no event dispatches to it in this release, so it is reserved for an upcoming one rather than wired end to end here. Part of spec-ca-2-approval-queue.md, slice 6. * docs(approvals): document the approval queue and its API New configuration/actions/approvals.mdx explains what puts a candidate in the queue (soft blockers become hold reasons, hard blockers keep it out) and what each of the three decisions does; new api/approvals.mdx covers the list, summary, get-one and decision endpoints. Replaces the inline "## Approvals" section in api/index.mdx (a leftover from the read-only API slice) with a proper overview-table row pointing at the dedicated page, and cross-links update-eligibility.mdx and the trigger Notification Rules table for update-pending-approval, noted there as shipped disabled with no dispatch wired yet. Part of spec-ca-2-approval-queue.md, slices 5 and 6. * docs(changelog): add the approval queue view to the Unreleased notes Adds the CA-2 slice 5/6 bullet (route, sidebar badge, dashboard tile, the reserved-but-undispatched notification rule) and closes out the prior slice's "the queue view itself lands next" line now that it has. Flips the README feature-comparison rows and roadmap table entry for the approval queue from partial to shipped to match. * refactor(ui): keep the approval service types module-private knip flags exported types with no importer; the view and composable only use the service functions. * chore(web): regenerate the analytics route manifest for the approvals docs pages
Alpine replaced cosign 3.0.6-r1 with r2, so every image build fails at apk add with 'unable to select packages' until the pin follows.
…icy (#1051) * fix(rollback): resolve auto-rollback image through the identity binding policy Auto-rollback used a fixed fallback (pre-update digest, then mutable tag) that ignored the required/optional/disabled post-pull identity policy DR-43 gave the manual rollback API. It now resolves through the same resolveRollbackImageReference helper, so a required policy that cannot establish a digest refuses the rollback as a rollback-failure audit event instead of silently deploying the mutable tag. DR-59 * fix(portainer): preserve an explicit docker.io/ prefix when pinning the stack image applyPortainerDigestPin rewrote the stack file's image using the identity binder's normalised repository, so docker.io/library/nginx:1.27 came back as library/nginx:1.27@sha256:.... Reuse preserveExplicitDockerIoPrefix, exported from Dockercompose.ts, so the pinned reference keeps the prefix the stack file wrote whenever it wrote one. DR-65 * test(api): build the api-key enforcement app once per file, not once per case Each of the ~30 cases in api-key-enforcement.integration.test.ts rebuilt a Basic authenticator (a real argon2id hash), a LokiJS-backed session store and a listening HTTP server from scratch. That's cheap in isolation but pushed a single case past the 5000ms default under the CPU contention of the parallel app+ui coverage gate. The app, its Basic authenticator and its server are now built once in beforeAll; beforeEach only resets the mutable state a case can leave behind: the api-key collection, the session store's rows, and the authenticator chain a couple of cases deliberately swap out. DR-63 * fix(demo): send Cross-Origin-Opener-Policy so the weekly DAST scan passes ZAP rule 90004 checks both COOP and COEP. #878 added the embedder policy; the 2026-09-02 weekly run still flagged the missing opener policy and fail_action turned the warning into exit 2.
Co-authored-by: Crowdin Bot <[email protected]>
…validation (#1061) * fix(tag): stop isTagPinned treating every non-rolling tag as pinned The tail of isTagPinned() fell through to an unconditional return true after checking for a numeric version shape, so a bare distro or variant tag with no version number (redis:alpine, node:slim, postgres:bookworm, fpm-alpine, production) was reported as pinned and hidden by the Hide Pinned UI filter alongside genuinely pinned releases like 1.4.5 or 16-alpine. It now returns the numeric-shape check's own result. Also corrects the watchers doc, which described Hide Pinned as reading tagPrecision when it actually reads the shape-based tagPinned field. * fix(store): emit containerUpdated on a name or displayName delta hasContainerChangedWithSecurityHashes compared neither name nor displayName, so a docker rename persisted to the store without ever satisfying the check that gates containerUpdated. SSE rows, Prometheus gauge labels, and MQTT topics kept the old name until an unrelated field also changed. Both fields are now part of the comparison. * fix(agent): reject a non-array handshake containers body before deregistering triggers AgentClient._doHandshake validated nothing about the /api/containers response body, so an object, string, or number body threw inside processAuthoritativeContainers after deregisterAgentComponents had already run and before trigger re-registration reached it. handleAckEvent only logs the failure, and dd:ack fires once per connection, so the agent's triggers stayed deregistered with no retry. The body is now checked with Array.isArray immediately after the request and rejected before any registry mutation, with a warning naming the agent and the body's type.
…t framework (#1059) * feat(store): add a swappable node:sqlite driver for the v1.8 store Groundwork for 7-STORE. Nothing imports it yet. The driver owns transaction(), pragma(), error normalisation and backup() rather than exposing the engine's own API, because those are exactly the places node:sqlite and better-sqlite3 disagree. Keeping them here is what makes the driver choice a one-file swap later instead of a rewrite spread across every store module. Opening applies the store's pragmas in a fixed order and probes for WAL, falling back to TRUNCATE with a warning when the filesystem refuses it, since /store is routinely an NFS or CIFS mount with no shared memory. A memory database skips the probe so agent mode never warns. * feat(store): add the v1.8 SQLite schema and its migration runner The full DDL for every collection in the store, plus schema_migrations and a store_metadata table for bookkeeping that is not schema versioning. Every table is STRICT, so a type mistake is a write-time error rather than a silently coerced value, which is the class of bug the JSON store could not catch at all. A field is a column when the code queries, filters, sorts or individually patches it; everything else is JSON in a TEXT column, and the five payloads the store is documented never to inspect are never indexed. The runner records applied versions and applies only what is missing, so running it against an already migrated database does nothing. Each run is one transaction, so a migration that throws leaves the schema and the bookkeeping consistent with each other. * feat(store): add the first-start import framework for the v1.8 store Reads a serialised LokiJS database, serves both the flat and the {data} enveloped document shapes, and runs a registry of per-collection importers into SQLite. secrets is implemented as the worked example; later slices add one entry to the registry each. The whole import runs into <database>.importing inside one transaction and is renamed into place only once it has succeeded, so a partial import is never visible under the real filename and a crash anywhere before the rename leaves dd.json untouched for the next start to retry. A leftover .importing file is discarded rather than resumed: resuming correctly would need per-collection progress tracking, which a one-shot operation does not justify. A marker row in store_metadata makes a second import into the same database a no-op even when it is called directly. dd.json becomes dd.json.pre-1.8.bak once the rename lands, and an existing backup is never overwritten, since that file is the whole rollback story for a downgrade to v1.7. Sessions are read from the dedicated sessions file when DR-121 has already split them out, and from the Sessions collection in dd.json otherwise. * docs(changelog): note the v1.8 SQLite store groundwork * chore(store): hold the new store db exports to what something reaches knip runs over the app workspace and reports an export nothing imports. Three of these were real: the import status union is only ever read through FirstStartImportResult, so it stops being exported, and the reader's two public constants were duplicated as string literals in their own test instead of being used. The rest are the driver's type surface, which is the point of the module and stays exported. A test now pins it by annotating each of Statement, Row, SqlValue, SqlBinding, StatementRunResult and TransactionMode at a real call site, which also covers the exclusive transaction mode nothing else exercised. * fix(store): fsync the store directory after each import rename The directory fsync ran before the temp-database rename and the legacy backup rename, so neither directory entry change was durably persisted on crash. Move the sync after each rename instead. * fix(store): normalize errors thrown while iterating a statement node:sqlite evaluates iterate() lazily: the call that produces the iterator never touches the database, only each next() does. Wrapping just that call left every later step unguarded, so an error thrown mid-scan surfaced as the raw ERR_SQLITE_ERROR instead of a StoreError. Wrap next() and return() through the same guard. * test(store): cover the no-return-method branch of the iterator wrapper wrapIterator only sets return() when the underlying iterator has one; every real and previously-mocked iterator in the suite had one, so that branch never ran and the 100% coverage gate caught it.
…1055) * fix(store): stop the session store and main store clobbering dd.json DR-121: express-session's connect-loki store opened its own LokiJS instance directly on ${configuration.path}/${configuration.file}, the exact file the main store already used. LokiJS's saveDatabase() always serializes the whole in-memory database, so whichever instance saved last erased the other's writes: a session autosave (every 5 seconds, armed by any authenticated request touching its session via express-session's touch) reverted every container and setting written since boot, while the main store's own autosave deleted the Sessions collection out from under active logins. store.getSessionStorePath() now derives a sibling file from the main store's own configured path and file name (dd.json -> dd-sessions.json by default), so a custom DD_STORE_FILE still lands on a distinct sibling instead of colliding with anything else on the volume. auth.ts's LokiStore now points at that path instead of building the main store's own file path by hand. The main store also drops and logs a stale Sessions collection left inside dd.json by an older build instead of continuing to re-save it forever. Replaces the shared-file-clobber reproduction test with session-store-file.test.ts, asserting the two stores use different files and that saving one never erases what the other wrote, including the touch-driven case, a restart reload, and the legacy-collection cleanup. * docs(store): note the session store's own file and its DR-121 fix The storage page said mounting /store persists "the state" without naming what state, and now that sessions live in dd-sessions.json rather than inside dd.json itself, that sentence needs to say so explicitly so an operator mounting /store knows both files ride along. CHANGELOG bullet describes the user-visible effect of DR-121: containers or settings written after startup could vanish from dd.json after a crash or hard stop, and every restart logged users out, because the session store rewrote the same file. Notes that backups stay scoped to the main store file and sessions are not included. * fix(store): persist the legacy Sessions cleanup during init dropLegacySessionsCollection() only removed the collection from the in-memory Loki database. loadDb() resolved without a save(), and autosave only fires on a later dirty write, so a store that never writes again kept the stale Sessions collection in dd.json across a restart. createCollections() now reports whether it dropped the collection, and loadDb() flushes once when it did.
… lookup-label helper (#1067) * fix(agent): keep dd.watch.digest for controller-Docker-transport containers across reports preserveControllerDockerEnrichment restores a fixed list of controller-owned top-level fields onto an incoming agent report, but image isn't among them. Portwing hardcodes image.digest.watch to false on every "live runtime state" report since digest watching is the controller's own bridged Docker watcher's job, not Portwing's. Without restoring the field, that report wholesale- replaces the stored image and silently turns digest watching back off for any container the dd.watch.digest label had enabled. * refactor(agent): share resolveLookupImageFromContainerLabels with the agent path AgentClient's applyRegistryLookupLabels duplicated container-init.ts's unexported resolveLookupImageFromContainerLabels. Export the helper and call it from both sites instead; each site's own precedence check (agent-reported lookupUrl/lookupImage beats the label, checked before the helper runs) is unchanged. * docs(changelog): note the DR-38 digest-watch fix * test(agent): cover the report-without-image arm of the digest-watch restore preserveControllerDockerEnrichment's digest.watch restore (DR-38) guards on merged.image existing before spreading it, since EdgeAgentAdapter casts an incoming dd:container_sync frame straight to Container[] with no schema validation, so image can be missing at runtime despite the type. Add the missing case: a stored container with image.digest.watch: true and an incoming report with no image at all, asserting the restore does not throw and does not fabricate an image.
#1065) * fix(store): keep synchronous=FULL when the WAL fallback lands on a rollback journal applyOpenPragmas always set synchronous=NORMAL, which is only safe under WAL: under a rollback journal (applyJournalMode's fallback when WAL is refused, e.g. on NFS/CIFS) a crash between deleting and recreating the journal can corrupt the database under NORMAL. It now takes the journal mode applyJournalMode actually granted and uses FULL for a writable file-backed database that isn't in WAL mode, keeping NORMAL under WAL and for read-only or memory connections that never probed a journal mode at all. * feat(store): open dd.sqlite alongside dd.json and add DD_STORE_DB_FILE Slice 2 of the SQLite store plan (roadmap 7-STORE). init() now opens the slice 1 SQLite driver at DD_STORE_DB_FILE (default dd.sqlite, next to DD_STORE_FILE in the same store directory; :memory: in agent mode) and runs the slice 1 migrations, so the schema exists from a fresh install onward. save() checkpoints the SQLite WAL (PRAGMA wal_checkpoint(TRUNCATE)) everywhere it already flushes dd.json, getDebugSnapshot() reports the SQLite path, and isMemoryStore() covers both engines. The same 0600/0700 permission contract dd.json gets now also applies to dd.sqlite and its -wal/-shm sidecars. Nothing reads from SQLite yet. GET /api/v1/store gains configuration.dbFile next to the unchanged path and file, documented in the OpenAPI schema and asserted in the store e2e feature. DD_STORE_DB_FILE is parsed as its own flat field in getStoreConfiguration() rather than through the generic dotted-path walk, which would otherwise nest it under configuration.db.file.
…skipped batch services (#1068) * fix(lifecycle): check the image before marking a foreign container recovered-active * fix(dockercompose): emit the failed lifecycle event when a scheduled preflight blocks * fix(dockercompose): terminalize untouched batch services as skipped, naming the blocker * test(dockercompose): cover the preflight blocking-context helpers * fix(lifecycle): accept a digest-pinned image as a recovery match reconcileWithActiveContainerOnly compared the active container's raw Config.Image against the operation's recorded targetImage. The replacement is created from the digest-pinned reference bindPulledImageIdentity resolves (app:2.0@sha256:...), but targetImage stays unpinned (it's a documented API field whose example shows a plain repo:tag). Without newContainerId to identify the replacement by id, the mismatch check saw app:2.0 vs app:2.0@sha256:... and marked the executor's own replacement recovery-failed as foreign. Strip the @sha256:... suffix from both sides before comparing instead of rewriting targetImage to the pinned form, since other API consumers (content/docs/current/api/container.mdx) expect the unpinned shape.
…te (#1073) * feat(store): add collection importers for app, settings and ui-preferences Registers the app, settings and ui-preferences collections into the first-start import framework alongside the existing secrets worked example, completing the set of leaf-singleton importers for roadmap 7-STORE slice 3. settings.update_mode becomes nullable so the importer can carry a legacy document straight across without replicating the "existing installations predate the update-mode setting" migration itself; app/store/settings.ts's own boot-time normalise-and-rewrite (unchanged in spirit, moved onto SQLite in the next commit) is what turns a NULL into 'auto' for those installs. * feat(store): move app, secrets, settings and ui-preferences onto SQLite Roadmap 7-STORE slice 3: the four leaf singletons with the fewest consumers move off LokiJS collections onto the SQLite tables slice 1 already created. Each module's createCollections() now takes the SQLite Database and reads and writes it directly; the module boundary consumers see (getAppInfos, isUpgrade, getStoredSessionSecret, setStoredSessionSecret, getSettings, updateSettings, getUpdateMode, isInternetlessModeEnabled, getPreferences, replacePreferences) is unchanged. app is converted first since its version record drives app/store/migrate.ts and has to be correct before anything else reads a version. settings.ts keeps its exact boot-time normalise-and-rewrite: a row whose update_mode is NULL (only possible right after an import from a legacy document that never had the field) still gets 'auto', preserving existing installations' automatic-trigger behavior; a fresh install with no row still defaults to the safer 'manual'. store/index.ts wires app/store/db/import.ts's runFirstStartImport() into init(), right before the SQLite database is opened for real: a database that already exists is never re-imported, a fresh install with no legacy dd.json creates an empty one, and an existing dd.json is imported — app first, so the version comparison sees the right value — before dd.json is renamed to dd.json.pre-1.8.bak. The four Loki collections are no longer created, so their data is absent from new dd.json writes. Covered by an end-to-end test against a real v1.7-era dd.json fixture, verifying the import preserves the update mode and the session secret across a restart, and by the existing-installations-get-auto case. * docs(changelog): note the SQLite-backed leaf singletons and first-start import Extend the slice-2 store bullet (rather than adding a new one) to cover slice 3: app metadata, settings, the session secret and UI preferences now read and write SQLite directly, imported from an existing dd.json on first start before it's renamed to dd.json.pre-1.8.bak, app first since its version drives app/store/migrate.ts. Update the DD_STORE_DB_FILE docs row to match — it's no longer true that nothing reads from it. * chore(qlty): exclude the store fixtures from checkov secret scanning
) * perf(ui): reconcile display holds through id and identityKey maps reconcileHoldsAgainstContainers ran a find over the full container list for every held operation on each SSE patch, and every read crossed the deep-reactive proxy Vue wraps the container list in. Hoist the per-hold eligibility check so an all-ineligible pass returns before the container list is touched, toRaw the list once, and look a hold up by id or identityKey through two maps built once per call instead of a linear scan per hold. A name-only hold keeps the linear path. * docs(ui): state the hold eligibility rule the right way round
…olicy, digest exclusion log (#1075) * fix(dockercompose): check platform compatibility in compose-file-once preflight The compose-file-once preflight covered signature, scan and SBOM but never checked the pulled image would run on the host. A single-arch image that pulled cleanly but targeted the wrong platform passed the preflight, recreated earlier services in the batch, and only failed once it reached the wrong container, leaving a partial apply and a partially rewritten compose file. buildComposeFileOnceRuntimeContextByService now runs verifyPulledImageCompatibility against the bound image identity right after capturePulledImageIdentity, before any service in the batch is touched or the compose file is rewritten (DR-41). * fix(dockercompose): apply identity-binding policy per replica, not once per service capturePulledImageIdentity was called once per service using the first replica's getPostPullIdentityBindingPolicy, but replicas of the same service can carry different dd.security.gate labels. A gate-off replica resolving first let a gated replica scan the mutable tag unbound, and the reverse aborted the whole batch including gate-off replicas that never needed it. recordUnboundSecurityWarning also fired twice for the first replica under warn. capturePulledImageIdentity gains an optional bindingPolicyOverride parameter; the service-level capture now forces 'optional' to get the raw identity or reason with no policy applied, and runComposeFileOncePostPullGate applies each container's own policy to that raw result, so exactly one audit row lands per replica that needs one (DR-42). * fix(triggers): log the digest path's mustTrigger exclusion like the batch path handleContainerReportDigest returned silently once mustTrigger() said no, while the equivalent batch/simple path (runUpdateAvailableSimpleTrigger) already logs the same exclusion. This left a digest-excluded container invisible to anyone reading the logs. The digest path now logs the same debug line, naming the container and the exclusion reason (DR-95).
…1074) Moves app/store/agent-keys.ts, name-bindings.ts and api-key.ts onto the SQLite agent_keys, name_bindings, api_keys and api_key_scope tables (roadmap 7-STORE, slice 4), with every exported function signature and return shape unchanged so callers in app/api, app/agent and the portwing hello path need no changes. - importers and fixture: first-start importers for the agent-keys, name-bindings and api-keys LokiJS collections, registered in importers/index.ts, with a v1.7 fixture extended for an API key, a scoped child key, an agent key and a name binding - module conversions and tests: agent-keys.ts, name-bindings.ts and api-key.ts read and write SQLite directly; scopes become rows in api_key_scope ordered by insertion rowid; revokeApiKey's cascade is a BFS walk of parent_key_id inside one transaction, pinned by a test that captured the old LokiJS sibling-revocation order before conversion so it stays identical - API test conversions: app/api/api-keys.test.ts, api-key-auth.test.ts and api-key-enforcement.integration.test.ts move off a real LokiJS instance onto createMigratedMemoryDatabase() - portwing restart tests: the name-bindings persistence describe block in portwing-ws.test.ts moves its LokiJS-shaped restart mock onto the same SQLite fixture, reusing one connection across each simulated restart - docs and changelog: extends the existing v1.8 SQLite changelog bullet and the DD_STORE_DB_FILE storage doc row - empty-scope coverage: a test for a key with no api_key_scope rows, the shape a legacy import with an empty scopes array leaves behind
…ntials by pattern (#1077) Three former units, squashed into one commit so a flagged fixture line doesn't survive in history: - Renovate has no built-in manager for apk pins, so an Alpine package revision rotating with no advance notice (cosign 3.0.6-r1 -> -r2 on 2026-09-06) broke the Docker build check on every open PR at once. A new customManagers regex entry in renovate.json extracts every name=version-rN pin from the Dockerfile and resolves it through the repology datasource's alpine_3_24 repository, the Alpine release the Dockerfile's own alpine:3.24 stage pins. - The webhooks doc's curl examples use the literal placeholder your-token-here as the Bearer credential, and .gitleaksignore carried one line-pinned curl-auth-header fingerprint per occurrence. A promotion PR's base is main, which only gains ignore entries through the promotion itself, so a docs edit that shifts those lines (as happened to webhooks/index.mdx on 2026-09-06) re-triggers the finding against main's stale line numbers. .gitleaks.toml now allowlists the placeholder by pattern instead of by line, scoped to content/docs/ and requiring both the path and the placeholder text to match, so a docs reflow can't retrigger it and a real credential anywhere else still fires. The redundant line-pinned curl-auth-header entries for content/docs/ are removed from .gitleaksignore, including the frozen v1.6 archive's copy, and scripts/release-docs-archive.test.mjs's exact expected list is updated to match. - The workflow tests covering both changes assert the Dockerfile regex against the live file, drive gitleaks itself against a shifted copy of the webhooks doc and a control credential outside content/docs, and the existing "no bare paths allowlist" guard in ci-verify-workflow.test.ts is narrowed to permit a paths entry only when paired with condition = "and" and a regexes match. The control fixture is assembled from fragments at run time, with the header name split across two string literals, so this file's own tracked source never contains a literal curl command with an Authorization header for gitleaks to flag.
…o SQLite (#1078) * feat(store): import audit, backups, notification history and outbox from dd.json Registers importers for the four append-only collections (roadmap 7-STORE slice 5) alongside the existing ones: audit backfills timestamp_ms once, at import, for a document that predates the indexed column; backups carries container_identity_key across when present; notification history and the outbox carry every field straight across. Extends the v1.7 fixture with one row per collection (one audit row missing its timestampMs sibling to exercise the backfill) and the first-start-import test with assertions against them. * feat(store): move audit, backups, notification history and outbox onto SQLite Rewrites the four modules (roadmap 7-STORE slice 5) as plain SQL against the shared database instead of LokiJS collections. audit's dual chain/fallback read path and its startup migrateMissingTimestampIndex scan collapse into one indexed query for filtering, sorting and pagination, since timestamp_ms is now NOT NULL and computed once at import; the hourly prune timer is unchanged. The outbox's ready-for-delivery scan and terminal-entry purge are each a single statement. backups gains a container_identity_key column, populated on every write, but getBackupsByName stays the same name-keyed thin wrapper it always was. Updates the one integration test that wired a fake Loki handle into notificationOutboxStore.createCollections() to hand it a real in-memory database instead, since the module now calls prepare() on it directly. * docs: note audit, backups and notification storage moving onto SQLite Extends the existing v1.8 SQLite changelog bullet with the audit, backups, notification history and outbox move (roadmap 7-STORE slice 5), and updates DD_STORE_DB_FILE's row in the storage docs to list what now lives there. * test(store): cover the remaining slice 5 branches Covers the branches the pre-push coverage gate flagged as never taken: insertAudit's timestampMs fallback for a timestamp that fails Date.parse, the audit importer's empty-timestamp fallback for a document that never recorded one, the backups importer's NULL fallback for a missing containerId, and the outbox importer carrying a deliveredAt string across. Also removes getAuditEntries's dead totalRow/count fallback: a COUNT(*) query always returns exactly one row with a numeric count, so there was no undefined-row or nullish-count case for it to guard. * fix(store): dedupe audit action filters and tighten the slice 5 tests Dedupes the actions filter in buildWhereClause (a Set, preserving first-seen order) before building the IN clause, so a repeated action can no longer inflate the placeholder count or mint a new cached statement per distinct length; the values are already validated against the fixed AuditEntry action union upstream (app/api/audit.ts), which bounds both by the size of that set. Adds a test asserting a repeated action returns the same page as the single action and produces one placeholder. Adds an insertAudit test that populates every optional AuditEntry field and round-trips it through getAuditEntries, since every existing insert omitted them and only exercised optionalString's null side indirectly. Fixes the first-start-import test's audit fixture patch: it was assigning a computed timestampMs onto the fixture record next to the one meant to exercise the importer's timestamp backfill, which meant neither audit row actually needed the backfill to survive the retention prune. Both rows now import with no timestampMs sibling, and the test asserts each imported row's timestamp_ms against Date.parse of its own timestamp directly, rather than only inferring it from the row surviving pruning.
…pplied context (#1079) imageIdentity, securityGateUnboundWarn, securityGateUnboundReason and securityGateUnboundWarnRecorded are meant to come only from capturePulledImageIdentity(), but trigger()/triggerBatch() accept an unknown runtime-context argument and nothing stopped a value carrying those same keys from being merged into a service's runtime context, which decides what the post-pull gate verifies and scans and whether it runs at all. No caller can reach this today (CWE-693, refuted on that basis), but triggerBatch() now strips those keys from its argument before it is threaded anywhere, closing the gap structurally (DR-52).
…ion (#1076) * fix(watchers): gate stale scan side effects behind a per-scan generation DR-72: a Docker watcher scan already inside watch() when the watcher is deregistered kept emitting container reports, writing the snapshot, and persisting store writes until it settled. watch() and watchContainer() now capture a per-scan generation, bumped again on deregister, and skip those side effects on a mismatch; the cron path skips resetting isCronWatchInProgress the same way. * fix(watchers): close the stale-scan windows the review found DR-72's scanGeneration guard was self-minted by watch() itself, so a concurrent watch() call on the same instance (an AgentWatcher's direct delegate.watch(), a manual single-container scan) collided with a cron run's own identity and could leave isCronWatchInProgress stuck true forever with nothing left to clear it. It also stopped short of three other windows: a post-watch() cron finish could still announce a maintenance-window opening on a scan gone stale, getContainers() pruned the store unconditionally after a deregistration mid-listing, and the per-container and batch report emitters could still start a snapshot after a deregistration mid-emit. Splits the concern in two: scanGeneration stays deregistration-only and read-only outside deregisterComponent(), and a new cronRunGeneration field, minted fresh by every cron run, gates only the isCronWatchInProgress reset. runCronWatch() now also bails out before computing stats or announcing a maintenance-window opening once its captured scanGeneration goes stale. getContainers() takes an options.scanGeneration and skips the prune (and the gauge update) when it no longer matches. watch() rechecks scanGeneration after each awaited report emission and again before the snapshot. * test(watchers): cover the fallback-emit and cron-run generation guards Docker.watch.test.ts: deregister from inside the per-container fallback emitContainerReport() handler and assert watch() discards the scan there instead of reaching the batch emit or the snapshot - the recheck at Docker.ts's fallback-loop guard had no test exercising its true branch. docker-cron-watch.test.ts: run the post-watch() stale-scan discard with a logger that has no debug method, so the guard around that log call takes its false branch instead of always finding one to call.
…1081) * ci(dast): bound the ZAP spider and active scan inside the job budget * test(ci): floor the ZAP scan caps instead of only checking the budget
* refactor(app): share error, sleep and status helpers (#1423) * refactor(component): share one secret-mask helper (#1414) * feat(api): name the caller behind removed-API hits (#1402) * refactor(ui): share the search-from-query logic (#1418) * refactor(ui): seed the operations store from the container list (#1428) * build(docker): use Alpine's patched zlib and drop the custom build (#1417) * chore(license): relicense from AGPL-3.0 to MIT (#1410) * docs(changelog): one heading per section in Unreleased
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* chore(deps): update npm minor/patch (e2e) * test(deps): track the csv-parse 7.0.3 override * test(deps): track the yaml 2.9.1 e2e override --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: scttbnsn <[email protected]>
…#1438) * fix(api): sanitize every legacy alias log field with sanitizeLogParam * fix(deps): update follow-redirects to 1.16.1 for GHSA-8r9p-f939-6h3c
…drop (#1441) su-exec rebuilds the group list from /etc/group, so groups Docker added with group_add were lost when the entrypoint dropped to node. The image now strips root from every /etc/group member list, and the entrypoint adds node to each supplementary GID it finds before su-exec. GID 0 is carried over only when it appears twice, since Docker always lists root's primary GID once. Fixes #1440
* ci: fail PRs into main that carry GitHub closing keywords * ci: scan PR commit messages for closing keywords too
… required check (#1443) * ci(test): shard app, ui and repo checks into parallel jobs behind the required check * fix(ci): upload coverage gap reports with include-hidden-files * docs(changelog): merge unreleased subsections * docs(changelog): drop the superseded DR-100 bullet and fold the shard upload fix into CI-5
…n leaf views (#1445) * refactor(ui): read container update state from the operations store in leaf views DR-89 slice 2. ContainersGroupedViews (cancel control, in-progress badge), the side and full-page detail headers and tab content now resolve the active operation through the operations store selector. The standalone queue helper takes an optional resolveOperation that defaults to the container prop. Specs seed operations with seedOperation(). * docs(changelog): merge unreleased subsections
…ore (#1448) DR-89 slice 4. useContainerActions resolves operations through the store selector (group and bulk update guards, pending-update settling, update in-progress and queued checks), and cancelUpdate takes {id, identityKey, name} and looks the operation id up in the store. ContainersView reads transient group membership from the selector and drops the operation segment from the row fingerprint. The display hold no longer reads the prop: reconcile takes a resolver from the caller (the composable must not import the store) that ignores the hold itself, applyUpdateOperationSseToHold builds from a resolved store operation, and getDisplayUpdateOperation drops the prop fallback. The 1.5 s settle window is unchanged.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Priority: ⬇️ Low Change: Other Merge Risk: ⚪ Minimal · up to
|
biggest-littlest
left a comment
There was a problem hiding this comment.
Tree matches dev/v1.8 at 1a3fefa; local gate green.
ALARGECOMPANY
left a comment
There was a problem hiding this comment.
Tree matches dev/v1.8 at 1a3fefa; local gate green.
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Promotes
dev/v1.8at1a3fefa03for v1.8.0-rc.4. Headac832c98bhas exactly the same tree as dev (f5cd2711c), with main and dev as parents. Every content change landed on dev first through reviewed PRs.New since rc.3: the group_add privilege-drop fix (#1441), the closing-keywords guard (#1442), CI test sharding (#1443), website changelog alert callouts (#1444), DR-89 slices 2 to 4 (#1445, #1446, #1448), the vitest 4.1.12 advisory bump (#1447), the rc.4 prep (#1449) and the musl-dev pin fix for the Docker build. The first rc.4 sync (#1450) merged but its cut stopped when main's Docker build hit the retired Alpine pin. rc.4 is still opt-in testing and starts its own soak from its publish time. Stable stays v1.7.0.
The Closing Keywords Guard fails on this PR because the sync range carries old dev commit messages. The squash message is set explicitly at merge, so none of them reach main. The local pre-push gate passed on this exact head.
Changelog
musl-devversion1.2.6-r3.Concerns or issues