Skip to content

Bump compose-lint from 1.0.0 to 1.2.0 in /tools/third_party - #14998

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/uv/tools/third_party/compose-lint-1.2.0
Open

dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/uv/tools/third_party/compose-lint-1.2.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 9, 2026

Copy link
Copy Markdown
Contributor

Bumps compose-lint from 1.0.0 to 1.2.0.

Release notes

Sourced from compose-lint's releases.

v1.2.0

Added

  • Every container a file deploys is graded, not only services.<name>. pre_start init containers (Compose 5.3), post_start and pre_stop exec hooks (Compose 2.30) and top-level jobs: (Compose 5.6) are each handed to the existing rules as a unit of their own, named by their path below services: (app.pre_start[0], app.post_start[1], jobs.migrate). That name is the finding's service, what the text report groups under, and what the SARIF logical location and fingerprint use, so a hook's finding and its service's are separate alerts. A hook is graded as the container it deploys, the service's scalar keys overlaid by its own, and reports only the keys it wrote: what it inherits, or what is missing from both, stays the service's finding. An exec hook is graded on its user and environment only; privileged on an exec is not graded, because measured on Compose 5.6.1 it leaves seccomp filtering and the device cgroup in place. Measured on the 11,111-file corpus: 13 new findings in 9 files, all on hooks (CL-0004 x6, CL-0019 x3 and CL-0020 x2 on pre_start units, CL-0018 x2 on post_start units); the two CL-0020 findings are literal object-storage keys in an init container whose service has no environment: at all. The hook inheritance, the exec grant shape, the inert hook env_file: and the job container are re-proven on every CI run. See graded units and ADR-040 (#1185).
  • exclude_services accepts unit names and hook kind names. A hook's kind name, the unit name without its index (app.pre_start), covers every hook of that kind on the service and survives the list being reordered, so it is the form to write. An exclusion for a service does not cover its hooks. See configuration.

Changed

  • A file with jobs: and no services: is linted. It is valid Compose, and 1.1.0 refused it as "missing 'services' key" (exit 2).
  • fix reports hook and job findings to fix by hand with the note "fix edits service blocks only; hook and job units are reported, not edited". Fixes on the file's services still apply.
  • Announced: two conditions become exit 2 in the next minor release. Each is an unread_input warning in this release, on stderr and in JSON warnings[] and SARIF notifications, and changes no exit code yet: a job that uses extends:, which compose-lint does not resolve for jobs yet and does not grade, becomes a coverage gap; and a document with more than 4,096 services, hooks and jobs together, which grades its services only in this release, is refused like one with more than 4,096 services.

Fixed

... (truncated)

Changelog

Sourced from compose-lint's changelog.

[1.2.0] - 2026-10-31

Added

  • Every container a file deploys is graded, not only services.<name>. pre_start init containers (Compose 5.3), post_start and pre_stop exec hooks (Compose 2.30) and top-level jobs: (Compose 5.6) are each handed to the existing rules as a unit of their own, named by their path below services: (app.pre_start[0], app.post_start[1], jobs.migrate). That name is the finding's service, what the text report groups under, and what the SARIF logical location and fingerprint use, so a hook's finding and its service's are separate alerts. A hook is graded as the container it deploys, the service's scalar keys overlaid by its own, and reports only the keys it wrote: what it inherits, or what is missing from both, stays the service's finding. An exec hook is graded on its user and environment only; privileged on an exec is not graded, because measured on Compose 5.6.1 it leaves seccomp filtering and the device cgroup in place. Measured on the 11,111-file corpus: 13 new findings in 9 files, all on hooks (CL-0004 x6, CL-0019 x3 and CL-0020 x2 on pre_start units, CL-0018 x2 on post_start units); the two CL-0020 findings are literal object-storage keys in an init container whose service has no environment: at all. The hook inheritance, the exec grant shape, the inert hook env_file: and the job container are re-proven on every CI run. See graded units and ADR-040 (#1185).
  • exclude_services accepts unit names and hook kind names. A hook's kind name, the unit name without its index (app.pre_start), covers every hook of that kind on the service and survives the list being reordered, so it is the form to write. An exclusion for a service does not cover its hooks. See configuration.

Changed

  • A file with jobs: and no services: is linted. It is valid Compose, and 1.1.0 refused it as "missing 'services' key" (exit 2).
  • fix reports hook and job findings to fix by hand with the note "fix edits service blocks only; hook and job units are reported, not edited". Fixes on the file's services still apply.
  • Announced: two conditions become exit 2 in the next minor release. Each is an unread_input warning in this release, on stderr and in JSON warnings[] and SARIF notifications, and changes no exit code yet: a job that uses extends:, which compose-lint does not resolve for jobs yet and does not grade, becomes a coverage gap; and a document with more than 4,096 services, hooks and jobs together, which grades its services only in this release, is refused like one with more than 4,096 services.

Fixed

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [compose-lint](https://github.com/tmatens/compose-lint) from 1.0.0 to 1.2.0.
- [Release notes](https://github.com/tmatens/compose-lint/releases)
- [Changelog](https://github.com/tmatens/compose-lint/blob/main/CHANGELOG.md)
- [Commits](tmatens/compose-lint@v1...v1.2.0)

---
updated-dependencies:
- dependency-name: compose-lint
  dependency-version: 1.2.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code labels Nov 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants