v1.9.0-rc.4
Full Changelog: v1.9.0-rc.3...v1.9.0-rc.4
[1.9.0-rc.4] - 2026-11-30
Added
- Run N digests behind the head of a floating tag (#558). Add
dd.channel.lag=trueto a container on a tag with no concrete version (Tautulli:beta) and, instead of holding the head, Drydock follows the newest digest that hasmaturitySkipReleasesdigests after it and is older thanmaturityMinAgeDays. It pullsrepo:tag@digestand creates the container from that reference, so the tag, and a Compose file'simage:, stay as they are. A target the tag has moved off is probed first. If the registry says it no longer serves it, that scan falls back to the head under the normal gates, so an unaged head is never applied; if the registry can't answer (rate limit, timeout), the container stays on its digest and the next scan asks again. It never moves to a digest older than the one you run. Containers reported by an agent ignore the label and follow the hold behavior. Label only for now, with no group, API or UI setting. - Digest counting for floating tags (#558). With
maturityMode: matureandmaturitySkipReleasesabove 0, a tag that resolves to no concrete version (:beta, or:lateston an image with no version label) now counts distinct newer digests instead of holding until the fallback days pass. Drydock records the digest each tag resolves to on every scan, per registry, tag and platform, and the update waits until that many digests have appeared since the one the container runs. The day gate still measures the age of the head, so four digests pushed in one day raise the count but never release a young head. It reuses the existing policy fields, adds no label or env var, and counts on the controller for agent containers. Limits: a digest pushed and superseded between two scans is never seen, and a container whose running digest was never at the head of its channel counts 0 untilmaturityReleaseFallbackDayspasses. The blocker is stillmaturity-releases-not-reached, now withdetails.source(familyorchannel),successorsandcoldStart, and the UI words it from those. History lives in the Drydock database and is pruned to the newest 16 to 64 digests per channel. - Live bell for container state alerts. A stopped, exited, OOM-killed or restart-looping container now pushes a
dd:container-state-alertSSE event after its audit row is written, so the notification bell updates without a page refresh. The frame carries only the alert kind, container name and id, and the exit code, reason and restart-loop counters, with the strings bounded, and agent-forwarded alerts use the same path. The notification editor also shows translated names and descriptions for theauth-abuseandagent-version-mismatchrules in every locale. - UI and website: the Registries view now shows a provider icon on every row and card, and Elastic, Linode, Scaleway and ProGet get a brand-tinted badge. The default Elastic registry shows its
https://docker.elastic.coURL, and the website's registry FAQ names all four. ProGet has no public brand icon, so it uses the default Docker icon. - Portwing agent errors now say why an agent refused a request. The
X-Portwing-Reasonvaluesaudience-mismatch,signature-locked,signature-version-too-low,agent-id-not-persistent,agent-id-not-v3-compatibleandstate-not-writableare explained in the controller log and inGET /api/v1/agents(authFailure, with the reason and what to do about it), and the Agents view shows a Refused badge and the explanation in the agent's detail panel. A reason that isn't a short lowercase slug is ignored, since the header is unsigned. Thesignature-lockedtext names the agent's key ID in theportwing signature-lock clearcommand. - Operators can clear a Portwing agent ID pin without editing
portwing-audience-pins.jsonand restarting.DELETE /api/v1/agents/{name}/audience-pin(admin role, session only, refused for recovery-code sessions, written to the audit log as an agent key change) forgets the pin, lifts the signing stop an ID mismatch caused, and pins whichever agent answers at that address now. If the agent still holds a signature lock for the key and refuses the lookup, or doesn't answer it at all (a timeout, a connection reset, or a 429 or 5xx with no reason), the old pin is kept and the call answers 409 (with theportwing signature-lock clearcommand to run in the lock case). An agent that answers but can't do v3, such as a 404 or astate-not-writablerefusal, has its pin cleared and stays on v2. The Agents view has a Clear pin button on the agent's detail panel, hidden from roles without the admin scope. An ID set withDD_AGENT_{name}_AUDIENCEis configuration and answers 409.GET /api/v1/agentsalso reportsaudiencePin(agentIdand whether it came from apinorconfig). - Website:
getdrydock.com/llms-full.txtserves every page of the current docs as one plain-text file, with the MDX components stripped and links made absolute, andllms.txtlinks to it. The changelog page is left out. It's generated at build time intoapps/web/public, so nothing reads the filesystem at request time. - Audit log: failure paths now leave rows. A POST, PUT, PATCH or DELETE that ends in a 5xx with no error row of its own writes a
request-failedentry (actor, role, method, path and status; once a minute per actor and route pattern, so ids in the path share a slot, and two routers with the same pattern don't), also when the client hangs up before the handler fails, and a browser request refused by the same-origin check writes anauth-deniedentry withscope=csrfand counts indrydock_authz_denied_total{scope="csrf"}. Failures that already audit themselves (updates, rollbacks, container actions, image prune, cleanup, config writes, webhooks, logins) are not written twice. - Audit log: the list response carries
retentionDays(the effectiveDD_AUDIT_RETENTION_DAYS) and the Audit view shows it under the table. An export cut short by the 100,000-row cap setsX-Audit-Export-Truncated: true. New tests drive the export end to end: the JSON parses back to the stored entries and the CSV reads back cell for cell, formula guard aside. - Portwing edge agents can now enroll with a single-use code instead of a pre-registered key. An admin mints a code in the Agents view (Edge agent keys, then Enrollment codes) or with
POST /api/v1/portwing/enrollment-codes, and starts a Portwing agent withENROLL_CODE=<code>and noPRIVATE_KEY_FILE. The agent generates its own Ed25519 key and registers it on its first connection, so nothing is copied between hosts. Codes are 128-bit, stored only as a hash, shown once, never logged, compared in constant time and good for 24 hours by default and 7 days at most. A code is checked before it is spent, so a hello with a bad signature or a taken agent name can't burn it, and two hellos racing on one code can't both win. Minting, revoking, using and expiring a code are audit events, and failed attempts (a wrong code or secret) are rate limited per client address and per code, with the address taken from the forwarded client whenDD_SERVER_TRUSTPROXYis set. The mint and revoke routes are session-only like the key registry. Plaintext enrollment is refused unless bothDD_PORTWING_ALLOW_INSECURE_ENROLLMENTandDD_PORTWING_ALLOW_INSECURE_EDGE_URLare set on the controller. The agent snippets in the UI switch toENROLL_CODEfor a freshly minted code, and now pin Portwing 1.6.2. If a key is already registered when a fresh code arrives, the agent gets a normal welcome and the code is left unspent. Needs Portwing v1.6.0 or later, and registering a key by hand still works. This adds store schema migration 20, which an older 1.9 build refuses to open, so back up the store directory before upgrading.
Changed
- Dropped the abandoned
capitalizeruntime dependency (last published 2021). Component file lookup now uses a small in-repo helper with the same first-letter-up, rest-lowercase behaviour. - Dropped the abandoned
just-debounceruntime dependency (last published 2022). The Docker watcher's event debounce and the file watcher's change debounce now use an in-repodebouncewith the same trailing, leading and guarantee modes. - Dropped the abandoned
joi-cron-expressionruntime dependency (archived, last published 2020). WatcherCRONvalues are now validated by a small in-repo Joi rule on the cron-parser v5 the app already ships, which also removes the second copy of cron-parser v2 from the install. Same error message. The only differences are at the edges:@annuallyand5L-style fields now validate, and a whitespace-only value is rejected. Lists whose items overlap (*/15,30,9,9) keep validating, as before: cron-parser v5 rejects them but the old rule and node-cron both accept them, so they pass when every list item is valid on its own. - Dropped the abandoned
parse-docker-image-nameruntime dependency (last published 2020, LGPL, a 1.7 MB gopherjs build of Docker's reference parser). Image references are now parsed by an in-repo parser that uses the same grammar on re2js, so a hostile reference can't cause regex backtracking. Output is unchanged: it was checked against the old package on several hundred thousand generated references, including digest, tag, length and registry-host edge cases. - Website sitemap: docs pages now carry a
lastmodtaken from the git commit date of their source MDX (the changelog page usesCHANGELOG.md), so crawlers can tell which pages changed. The Vercel build deepens its shallow checkout first so production gets real dates. Where history still isn't usable, the page gets nolastmodrather than a misleading build-time stamp. Before this only 1 of 119 URLs had one. - A Portwing Edge agent that comes back with the same agent ID under a different display name now releases the name binding it left behind. Portwing 1.1.0 persists the agent ID, so it is stable across restarts and renames, and each rename used to strand a binding against the 10,000-name cap until it aged out. The binding is released only for the same key and the same ID, and never while an agent is connected under the old name. The ID is agent-asserted and unsigned in the hello, so it never grants a name; ownership still comes from the key alone.
- Audit log date filters: a
togiven as a bare date (to=2026-11-29) now covers that whole UTC day instead of stopping at its midnight and dropping everything from the day you picked. The Audit view sends your local day boundaries, so the days you pick are your days. An unreadablefromorto, or afromafter theto, now answers 400 instead of an empty page, and the view says so instead of sending it. Changing the user, container or date filter on a later page goes back to page 1 instead of landing on an empty page. - Synced preferences merge by field, not by section. When a preference save finds the server document has moved on, the UI now keeps both edits if two devices changed different settings in the same section (say font size on one and radius on another). Before, the whole section took the server value and the local edit was lost. A setting both devices changed still takes the server value, and a list such as the visible columns counts as one setting. Keys added or removed on either side merge too.
- CI and quality upkeep: the Portwing fleet soak no longer times out waiting for the slow-consumer reconnect. It kept the controller socket paused after Portwing evicted the connection, so the controller never saw the close and refused the replacement as already connected. The soak now resumes the socket once the write timeout shows in the agent log.
- The pre-push hook no longer runs the full app and ui coverage suites. It runs
vitest relatedon the files changed since the push target's merge base, only in the workspaces the branch touched (apackage.jsonelsewhere in the diff no longer widens it, and files that guard tests read withfsinstead of importing, likeDockerfile,renovate.json,healthcheck.c,crowdin.yml, the ui locales and the source trees the static checks scan, run those tests), and a package or test-config change in a workspace, or a deleted or renamed non-test file in it (vitest relatedcan't find the importers of a module that no longer exists), runs that workspace's whole suite without coverage. CI still runs both full suites with the configured thresholds on every pull request tomainordev/**and every push tomain, so the requiredQuality: Test & Coveragecheck is unchanged../scripts/pre-push-coverage.shis still there for a full local coverage run and the gap report. - Portwing edge-agent snippet pins 1.6.2. The generated Portwing install snippet now uses
ghcr.io/codeswhat/portwing:1.6.2instead of 1.3.0.
Fixed
- Portwing timeout and cancel support now covers a few gaps. Container start, stop, restart and rollback return
504with an explanation when the agent runs out of time on a Docker call, instead of a generic500. Stop and restart send the container's own stop timeout ast, so a slowstop_grace_periodisn't cut off at 30 seconds. That needs an agent that advertisesdd:request-timeout, and it applies whentis over 10 seconds (the 15-second grace added tothas to pass the 25 seconds the default leaves). When no response arrives in time, or the connection to the agent drops after the request was sent (a link that drops during a restart, or a missed-pong disconnect), the same actions return504with a "no response from the agent in time" message anddetails.reasonset toresponse-timeout, and the action may still have completed. A request that never reached the agent still returns500. An abandoned Docker call (awaitthe client gave up on) cancels the request on Edge agents that advertisedd:cancel, and a cancelled stream rejects instead of returning a truncated body. On shutdown, Drydock closes every Edge socket with a going-away code, and a controller restart is not recorded as an agent disconnect. - CI: the Secrets check no longer scans every branch's history on push runs. A push to
mainscans only the pushed commits (before..sha), and a new branch or force push falls back to the merge-base with the default branch. Pull requests already scanned only their own range. The scheduled and manual runs still sweep full history. - The Crowdin translation sync works again. It had failed since 2026-11-23 because the
l10n_crowdinbranch picked up release-sync commits frommain, so merging the dev branch into it conflicted on every run. The publish script now rebuilds the branch from the fresh download when it holds anything other than translation commits, and replaces it with a lease-guarded push. - Compose image updates now insert a missing
image:key at the indentation the file already uses, so a service in a 4-space compose file no longer ends up with invalid YAML. - A Portwing frame that decodes to JSON
nullis now dropped as malformed instead of throwing out of the frame handler. - A schemaVersion 1 manifest whose
v1Compatibilityis not a JSON object, or a manifest list whosemanifestsfield is not an array, now fails with the documented registry errors instead of a rawTypeError. - Notification templates with arguments a string method rejects, such as
${container.name.repeat(-1)}, now render as empty instead of throwing. - The HTTP notification payload for an update-available event now includes
updateEligibility, the same object the container API returns, so a receiver can see whether the update is blocked, manual or auto throughactionPolicy.state.actionPolicyis left out when no compatible action trigger exists, andimagePreloadrides along when a preload exists. Other events (update-applied, update-failed, security alerts, agent and auth events) keep their payload unchanged (#1692). - A failed security scan (for example Grype hitting "no space left on device") is no longer easy to miss. It now logs at error level with the reason, a scheduled scan that fails on a container with a recent good result keeps that result and records the failure next to it (
security.scan.lastFailure), the vulnerabilities overview API returns ascanFailureslist, and the Security view shows an error banner naming each failed image and why (#1698). :latestcontainers no longer show a false update when the registry can't resolve the local digest; image inspection uses the container's image ID.
Security
- The container environment reveal endpoint (
POST /api/v1/containers/:id/env/reveal) now requires a signed-in user. Under anonymous access it returns403and no longer reads the live environment from Docker or an agent. Sessions, Basic and OIDC logins are unchanged, and API keys were already refused. - OIDC email and domain allowlists (
ALLOWEDEMAILS,ALLOWEDEMAILDOMAINS) now require the IdP to sendemail_verified: true. Before, an email that arrived without anemail_verifiedclaim was accepted, and a verification claim from the ID token could be combined with a different email from userinfo. A provider that omits the claim for directory-controlled addresses can opt back in withDD_AUTH_OIDC_{auth_name}_ALLOWUNVERIFIEDEMAIL=true; an explicitemail_verified: falseis always denied. - API key creation and Edge agent key registration now return
403(details.reasonisanonymous-enrollment) when the request comes from anonymous access, so a credential that outlives a switch to authenticated access needs a named issuer. Listing and revoking are unchanged. If you ran withDD_ANONYMOUS_AUTH_CONFIRM=trueon an earlier version, review your API keys and Edge agent keys and revoke any you don't recognise. - Writing the configuration file (
PUT /api/v1/config/:sectionand the watcher, notification and action editors) now returns403(details.reasonisanonymous-enrollment) when the request comes from anonymous access. A Basic account or other secret written into the file by anonymous access would keep working after you turned anonymous access off. Reading the configuration is unchanged. - API keys can no longer write the
authsection of the configuration file.PUT /api/v1/config/authnow answers403withdetails.reasonset toapi-key-auth-configurationfor any API key, whatever its scopes, so a key can't add a sign-in account that outlives it. Sign in with a user session to change authentication configuration. Other sections stay within theadminscope. - API keys can no longer write a command through the configuration file either.
PUT /api/v1/config/:sectionnow answers403withdetails.reasonset toapi-key-command-configurationwhen the body sets a command action (action.command.*), a scannercommand(security.<provider>.command) or scannerargs(security.<provider>.args), because a shell run as drydock, or a scanner told to write its output overdrydock.yml, could rewrite theauthsection and keep a login after the key is gone. Other keys in those sections, and every write from a user session, are unchanged. Trivy and Syft extra arguments now also refuse a short flag with its value attached (-ftemplate,-o/path) and Trivy refuses--templateand-t, so the protected output options can't be reached through shorthand. - A container no longer takes its Compose project and service from
com.docker.compose.*labels that its image bakes in. Docker merges image labels into the container's, so an image could claim another service's project and service, share its identity and so its rollback history, update policy and overrides. Compose labels with the same value as the image's own are now ignored, including on containers already stored, which are corrected on the next watch cycle. A container that was only keyed this way falls back to its watcher and name. - A Compose service running an image built by
docker compose buildkeeps its Compose identity. The build stamps the same project and service labels onto the image, so a container Compose created is recognised by its container-only labels (config hash, container number) and its labels are kept. Rollback no longer offers or restores a backup recorded for a different image than the container's own, so backups an image-forged identity left in a service's history can't be restored into it. - An update approved from the approval queue is now held to the digest that was approved. A digest-bound approval pulls that digest directly and then points the tag at it, instead of pulling the tag, so a publisher who moved the tag after approval, or built an index whose platform entry the daemon would pick differently than Drydock does, can't get different content installed than the operator saw. Drydock still compares the pulled digest with the approved one as a backstop, and aborts the install with an audit entry before the running container is touched when they differ. A manifest list digest alone no longer passes that check. The approved digest also survives a restart while the update waits in the queue. A tag-only approval is unchanged. A digest-bound approval for a container on a remote agent is refused with a 409 and nothing is dispatched, because the agent can't hold the install to the digest yet.
- Private ECR authorization is now only attached to a request whose parsed URL is HTTPS, on the default port, without userinfo, and for an ECR registry host in the configured region. A registry URL taken from a stored or agent-reported container record that points anywhere else is refused before the ECR token is requested or sent. The same check now gates the pull credential handed to security scans (Trivy, Syft, Cosign), so a scan of a container whose stored registry URL is not an approved ECR host gets no ECR credential.
- The ECR pull credential check is no longer opt-in. Every pull path (Docker and Docker Compose updates, rollback pulls, image preloads and the manual rollback API) now passes the registry URL it pulls from, and a missing or unapproved target is refused before the credential is fetched, so an image label that routes a deploy host to a private ECR instance can no longer collect the credential.
- Images from the public ECR gallery (
public.ecr.aws) keep working when a private ECR instance is configured: they take the anonymous gallery token path and never receive the private credential or a failed-origin error. - Docker updates that run on the controller for a remote Portwing-managed host no longer start lifecycle hook commands on the controller, and no longer edit controller-local Compose files, based on labels reported by the remote workload. Hook labels on agent-owned containers are ignored and recorded in the audit log by label name only, and Compose file sync only applies to containers on the host Drydock runs on. Hooks for those hosts run from a Drydock agent on that host. Containers from a local watcher pointed at a remote TCP daemon are not agent-owned, so they still run hooks and Compose sync on the Drydock host.
- Registry credentials are now bound to the registry they belong to. Update Bouncer, SBOM and fast-lane scans only receive a registry credential when the configured registry serves the image's own host and port, and a
customregistry matches by host and port instead of a URL substring. A container whose registry comes from an agent or a lookup label and doesn't match scans without credentials. - Registry webhooks are now scoped to the provider that authenticated them. A payload only refreshes containers on that provider's registries, matched by registry host and repository path, so an equal repository path on another registry is no longer rechecked and no longer counted in the response.
- A registry webhook for
acr,ecrorharbornow only reaches registries of that type, and only when you've configured a component of that type. A Harbor webhook reaches exactly the Harbor URLs you configured and no longer refreshes images onlscr.io,gcr.ioor any other registry. ACR and ECR registries don't record which login server or account they're for, so those two webhooks cover every*.azurecr.iohost, or every ECR account and region, once one component of that type exists. - Private ECR no longer matches a URL that only ends in an ECR hostname in its path or query, and ECR, DOCR, Mau and Trueforge registries keep their credentials for containers stored with the normalized
https://<host>/v2URL. - A registry credential now only goes to the host the pull reference actually names. Docker Hub no longer lets a dotted first segment of an image name become the registry host (the reference is spelled
docker.io/<name>instead), the scan credential check compares the final reference host against the stored registry URL, and a Docker or Compose update, preload or rollback no longer hands a component's pull credential to an image whose registry URL it doesn't serve. A lookup label that points a container at a credentialed registry no longer carries that registry's credential to the deploy host. Update, preload and rollback pulls now check the reference they pull, including a backup written under another registry and a first segment with an uppercase letter (Docker readsLOCALHOST/xas a host), and an explicit:443or:80in a registry URL no longer makes a scan fall back to anonymous. A registry webhook for a container that uses a lookup label still refreshes it when the webhook comes from the registry its tags are read from.. - Registry URLs can no longer carry credentials. The
urloption of the custom, Artifactory, Codeberg, Forgejo, Gitea, Harbor and Nexus registries, and theurlandauthurloptions of the GitLab and Mau registries, now reject auser:password@section and name the login, password, auth and token options as the place for credentials. As a second layer, registry configuration is stripped of any URL credentials before it is written to the startup log, returned by the registry and debug APIs, or kept in the browser's last-known cache, so a URL saved by an earlier build no longer shows its credentials there. A registry whose URL still carries credentials needs them moved to the dedicated options, and any credential that was embedded in a URL should be rotated. - The configuration API (
GET /api/v1/config), the container environment shown byGET /api/v1/containersand the downloadable debug dump now mask the value of every GitLab pipeline trigger variable (DD_NOTIFICATION_GITLABPIPELINE_{name}_VARIABLES_*), not only those whose names look like secrets. The variable names stay visible. - A
dd.security.gate=offlabel baked into a container's image no longer skips the vulnerability scan for that container's updates. Drydock now reads the labels of the image the container was created from, by image ID, and only honors anofflabel the image doesn't carry. If the image can't be read, the update is scanned and a warning is logged. The same label is no longer copied onto a replacement container, and the pulled-image identity check follows the same decision. Set the label on the container itself, or useDD_SECURITY_GATE_MODE=offto turn the gate off for every container. Signature verification is unchanged. - Discarding a queued notification (
DELETE /api/v1/notifications/outbox/:id) now needs theadminAPI key scope. Before, a key holding onlytriggers:testcould delete pending or dead-letter outbox entries, which also suppressed their delivery.triggers:teststill covers firing a notification trigger and retrying a dead-letter entry. - Fetching a container's SBOM with an API key now needs the
containers:watchscope when the document has to be generated. A key with onlyreadstill gets a stored SBOM, but a request that would start scanner work and save the result is refused with403. Generation also counts against the same one-at-a-time limit as on-demand scans, so a second request while one is running gets429. - Compose file sync now only writes a file when the compose labels were set on the container by Compose, not baked into its image. It also requires the file to sit inside a path Drydock has mounted (symlinks resolved) and the service's current image to be the same repository as the updated image. Before, an image could name another project's compose file and service and have that service's image rewritten after a tag update.
- Infrastructure updates now take the helper container's image from Drydock's own container instead of the first Drydock-named container in the inventory. Containers reported by remote agents are no longer considered, and when Drydock can't identify its own container the helper image is left unresolved unless exactly one local candidate exists.
- Retrying a queued notification now requires the same scope as running its trigger. A failed
command,docker,dockercomposeorportaineraction is no longer queued in the notification outbox, and the outbox refuses to replay one. Retrying an entry whose trigger is an action, or is no longer registered, needscontainers:updateon top oftriggers:test. - Registry requests now cap how much response data is read. Tag lists, manifests and image config documents stop at 32 MiB, token endpoint responses at 1 MiB, and Docker Hub and GHCR publish-date lookups at 8 MiB, each measured after decompression. A response over its cap is abandoned and not retried, and the existing request timeouts and redirect refusal are unchanged. A single tag listing also stops at 250,000 tags, handled the same way as the existing page limit, and a very large tag page no longer overflows the call stack while it is collected.
- API key authentication no longer lets failed attempts from a shared address block a working key. Once an address has spent its failed-attempt budget, only credentials that fail verification are refused with
429; a valid key from the same address still authenticates, and the budget, audit rows and per-key rate limit are unchanged. - Synced UI preferences are now reserved for signed-in users.
GETandPATCH /api/v1/preferencesanswer403to an API key, so a key's display name can no longer select a user's preference record. - Hardened memory use on the controller and on standard agents against oversized log requests and fast edge agents. A standard agent now reads container logs as a bounded stream, caps the requested line count, stops reading when the 16 MiB download limit is reached or the controller drops the request, and reports the size error back to the controller. The controller also bounds how many state frames it will hold for a single edge connection and across all of them, and closes a connection (
state-queue-overflow) whose backlog passes the limit, releasing the queued work. Queued frames are kept as raw bytes and parsed when they reach the head of the queue, so the byte limits match real memory use. The frame-count limit is 4096 so a large host restarting does not trip it, and when the shared budget fills it is the connection holding the most queued bytes that gets closed, so one misbehaving agent can't starve the rest. - Docker and Docker Compose updates under an enforced maturity policy now check the pulled digest against the candidate that was admitted. If the tag resolves to a different digest after admission, the install is aborted before anything is renamed or recreated, an
auto-update-blockedaudit entry records it, and the new digest starts its own maturity window on the next scan. - The maturity digest check now also covers agent-hosted containers and every replica of a compose-file-once service. The controller sends the admitted digest with a remote update, and the agent binds its pull to it instead of its own record, so a tag that moves after admission no longer installs unaged on a Standard agent even when the maturity policy is a controller override or group policy. Compose-file-once now checks each replica against its own policy and candidate before the compose file is rewritten, not just the first.
- Container and fleet statistics streams opened with an API key now close when the key is revoked, including keys revoked through a parent, and within about 15 seconds of the key expiring or its record disappearing. Previously these streams kept delivering snapshots until the client disconnected.
- Portwing agent names stay bound to their key while that key is still valid. When the name registry was full, an offline agent's name could be evicted after 24 hours idle and then claimed by a different registered key. Eviction now only removes names whose owning key is revoked or unknown, and a full registry refuses new names with
registry-fullinstead. - A single Portwing key can no longer fill the whole agent name registry. Names bound to a valid key never expire, so one compromised or churning key could take every slot and lock other agents out of new names. Each key is now capped at 100 bound names. At the cap it can only reuse its own oldest name that has been idle for 24 hours and isn't connected, and otherwise new names are refused with
key-name-limit. - A Portwing key at its name cap can still reconnect under a name it already owns, and key rotation handoffs don't count against the cap. Only brand-new names are limited, and other keys can still enroll new agents while one key sits at its cap.
- The server settings API (
GET /api/v1/server) no longer returns theDD_SERVER_METRICS_TOKENvalue. It now returns onlymetrics.tokenConfigured, and the response is built from an allowlist of settings. The UI offline cache moves to a new storage version and drops previously cached server settings. If the metrics token was ever exposed to read-scoped users or browsers, rotate it. - Release-notes lookups no longer use the GHCR registry credential for containers reported by a remote agent. An agent supplies its own image names and labels, so a GHCR image path in its inventory could previously select a repository for a lookup made with the controller's GHCR credential. Those lookups now use only
DD_RELEASE_NOTES_GITHUB_TOKEN, if set. - The update webhook (
POST /api/v1/webhook/update/:containerName) now honorsDD_SERVER_FEATURE_CONTAINERACTIONS=falseand returns 403 instead of queuing an update, matching the other container action endpoints. - The Home Assistant MQTT install command and "Update now" button now honor
DD_SERVER_FEATURE_CONTAINERACTIONS=falseand refuse to queue an update, instead of bypassing the switch. dd.action.includeanddd.action.autolabels that Docker merges in from an image's ownLABELinstructions no longer grant a container access to an action trigger or switch on automatic updates. Only a value set on the container itself (Compose,docker run --label, a swarm service) counts. Drydock reads the image's labels by image ID and ignores a grant that is identical to the image's, and also when the image can't be inspected. Exclusions and notification routing are unchanged. If you relied on a label baked into your own image, set it on the container with a value that differs from the image's (for example the full trigger IDdocker.localwhere the image sayslocal, or the reverse), set it through a Drydock label override, or rebuild the image without it. The same value on the container is still ignored. Containers already in the store lose an inherited grant on the next watch cycle.- The QA stack in
test/qa-compose.ymlnow publishes its ports on127.0.0.1by default (setDD_PLAYWRIGHT_BINDto choose another address) and no longer ships fixed login credentials.scripts/qa-credentials.mjsgenerates a random password and hash for each launch, and the Playwright launcher and CI workflows load them before starting the stack. The stack also no longer enables the webhook API with the checked-in bearer valuetest-token-12345, which could trigger container updates without a login. test/qa-proxy-compose.ymlandtest/qa-traefik-compose.ymlget the same treatment: loopback-only ports (including the Traefik dashboard) and a per-launch admin hash fromscripts/qa-credentials.mjsinstead of the checked-inadminpassword.test/ci-compose.yml(the stackscripts/run-load-test.shstarts) binds to127.0.0.1by default (DD_LOAD_TEST_BINDoverrides) and takes a per-run admin hash and session secret instead of the checked-inadmin:passwordlogin. The runner generates them withscripts/qa-credentials.mjsand hands Artillery a matchingDD_LOAD_TEST_AUTH_HEADER.test/migration-test-compose.ymlpublishes its mock OIDC provider and both controllers on127.0.0.1by default (DD_MIGRATION_BINDoverrides).- Firing a
githubdispatchorgitlabpipelinetrigger by hand now needs thecontainers:updateAPI key scope instead oftriggers:test. Both providers start a CI run with Drydock's configured credential, so a key scoped only to notification testing can no longer trigger one. Theirdd.notification.*label behavior is unchanged. Retrying a dead-lettered notification outbox entry for one of these providers (or for an action provider) needscontainers:updatetoo, soPOST /api/v1/notification-outbox/:id/retrycan't be used to re-fire them with atriggers:testkey. - Agent lifecycle events are now scoped to the agent that sent them. An agent can no longer update or terminalize another workload's update operation by echoing its operation id, or name a container id owned by another agent or by the controller's own watchers in an update-operation, update-applied, update-failed or batch event. Reported container snapshots always carry the sending agent's scope and an identity key derived from it, and the duplicate-update check ignores operations another agent filed under the same container id. An update-applied, update-failed or update-operation-changed event only goes through when its container name resolves to one of that agent's own containers (with or without an operation id), and any container snapshot it carries has to be that same workload. The controller is handed that container instead of looking the name up across every agent. When the controller store has not caught up after a recreate, the snapshot is accepted if it names itself and does not share its watcher and name with a container filed under another agent or the controller.
- Added OpenVEX
not_affectedstatements for two more OpenSSL 3.5.9-r1 advisories (CVE-2026-35190, a TLS 1.3 Suite B server issue, and CVE-2026-95690, a DTLS issue). Drydock never configures either path, and Node uses its own bundled OpenSSL. Also added a ZAP ignore rule (40040) for the CORS finding on the public site's staticrobots.txtandsitemap.xml. - Refreshed
@smithy/coreto 3.41.1 and@smithy/typesto 4.20.0 in the app and e2e lockfiles (the older@smithy/corehad a custom-logger redaction defect; drydock's ECR client sets no logger), and@ungap/structured-cloneto 1.4.0 on the website. - Hardened the GitHub Actions workflows after a review of every workflow and the CI-wait action. These are CI changes only and ship nothing in the image:
- CodeQL and both Grype scans now load their policy (
.github/codeql/,.grype.yamland thedocker/*.vex.jsonVEX documents) from the PR's base commit, so a fork PR can't change the rules it is scanned with. Same-repository PRs keep their own policy files, so a maintainer can land a new VEX document or ignore rule in the PR that needs it. An exact dev-tree promotion intomainkeeps using the reviewed dev policy. The dependency Grype scan now names its config instead of auto-detecting one. - The CI and Playwright path classifiers read
.github/filters/runtime.ymlfrom the PR's base commit, and a PR that edits that file runs every gated check, including the site checks. .dockerignore,Dockerfile.dockerignoreanddocker/*.vex.jsonnow trigger the image scan, Cucumber and Playwright, and the standalone Grype PR path list covers the same inputs plus.grype.yaml.- CI, Playwright and the Portwing fleet soak key their concurrency groups on the full ref, so same-named fork branches can't cancel each other's or a trusted branch's runs.
- The release gate's CI-wait action now pages through the workflow's run listing, so fork PR runs can't push the successful main run out of sight, and stops at the target commit's date so a failed run is reported at once instead of timing out. New
max-pagesinput, default 30. - The closing-keywords guard runs its checker from the base commit, and only a same-repository head gets the single-commit sync shortcut, whatever the branch is named. Forks get the full commit scan.
- The scheduled fuzz failure alert only uses an issue filed by
github-actions[bot](user id 41898282), so a public issue with a matching title can't receive the comment or retitle. With no trusted match it files the canonical issue.
- CodeQL and both Grype scans now load their policy (
Build maintenance
- The Secrets job no longer needs commit-pinned
.gitleaksignoreentries for the fake PagerDuty routing key and Scaleway secret key in the provider unit tests..gitleaks.tomlnow allowlists those two test files and those exact fake values, so squash merges and release syncs stop re-triggering the finding. - The daily Main Is Released check no longer goes red while main's head is an untagged
chore(release): synccommit less than 48 hours old, the normal gap between a dev to main sync and its tag. It still fails once that commit has sat untagged past 48 hours. - Monthly mutation testing works again: 23 of its 27 shards failed the initial test run (
process.umask()assertion in a worker thread, tests reading sibling-workspace files, the no-raw-text scan tripping on Stryker's instrumentation placeholder, and one shard hitting the 5 minute dry-run limit). The aggregate job now reports shards run / total and fails when more than 2 shards are missing or no reports exist. - The release cut's signature check now waits up to about 15 minutes for a registry to list a new signature. Docker Hub took about 5 minutes to show the rc.4 signature, so the old 25-second retry failed a correctly signed image and stopped the first rc.4 cut before it tagged anything.
- Lockfiles bumped past eight osv-scanner advisories that blocked pre-push:
cross-spawn7.1.2 (app, ui, e2e),fast-xml-parser5.12.1 andws8.23.1 (app),glob14.0.7 (ui, e2e) andterser5.51.4 (ui). - The image now upgrades
busybox,busybox-binshandssl_clientto Alpine's fixed 1.37.0-r32 at build time, and pinsopensslto 3.5.10-r0 because Alpine dropped 3.5.9-r1 from the v3.24 repository and the old pin made every uncached image build fail. The cached base layer shipped 1.37.0-r31, which Grype flagged for CVE-2026-140044 (high) and failed the required image scan on every pull request.