Repository navigation
Conversation
… the review
Plan the change: the setting roadmap.project_review.namespaces, the
placeholder {namespaces}, the loader rule unscoped_workload_metric and
the namespace matcher on the seven workload rows facts.
…6615) The setting roadmap.project_review.namespaces refuses an empty list and a name that is not an RFC 1123 label. The placeholder {namespaces} gives the names joined with |, and read_catalog sends that value.
) The setting roadmap.project_review.namespaces lists the project namespaces whose workloads the project review can name. Its default is the 14 namespaces of k8s/namespaces.yaml. The load refuses an empty list and a name that is not an RFC 1123 label. The placeholder {namespaces} gives the names joined with |, in the run and in the dry run.
…6615) A rows fact that groups or joins by namespace or pod with no positive namespace matcher is refused, a scalar fact is not, the shipped catalog scopes each such fact, and a dry run prints the project namespaces. The dry-run test uses devops and agents: loki.error_lines_top already holds the fixed matcher namespace=~"devops|llm".
…6615) Seven rows facts of the project review grouped by namespace or pod with no namespace matcher, so the review data held the namespace and pod names of other projects. Each of them now holds namespace=~"{namespaces}" in each selector with a namespace label. The loader rule unscoped_workload_metric refuses a rows fact that groups or joins by namespace or pod with no positive namespace matcher, so the leak cannot return.
The line on devops roadmap review run says that a fact that names workloads reads only the namespaces of roadmap.project_review.namespaces.
In _cross_checked the name reason already holds a str, so mypy refused the str | None of _scope_refusal.
…6615) The loader must refuse a rows fact by namespace or pod whose base reads all namespaces. The dispatcher must mark a rows fact error when a row names a workload outside the project namespaces, and the reason must name the fact and the label, never a label value.
The loader rule now also refuses a rows fact by namespace or pod whose base reads all namespaces: the probe of the base decides whether an empty answer is "none". The six scoped facts get the matcher in their base. The dispatcher now reads the labels of each series of a rows fact of Prometheus and Loki. A series with a workload label and no namespace of the setting makes the fact error. The reason names the fact and the label, never a label value. Thus a query form that the loader rule does not read (without, no aggregation, topk, sort, label_replace) cannot add a name of another project to the review. requests_over_allocatable is the share of the cluster again. Its join reads the pod UID, and its rows hold only resource. loki.error_lines_top reads the namespaces of the setting. Three facts by container of one namespace also group by namespace, so the guard can check their rows.
…6615) The design and the proposal record the guard on the rows, the scope of the base, the cluster share of requests_over_allocatable, and that the review does not measure kube-system (Traefik) and default (gpu-feature-discovery, see #6628). They also correct the license text of promql-parser: the repository has an MIT license, and the PyPI release 0.12.0 has no license field.
… of the review
The row guard reads only a fixed list of labels. These fixtures hold a name of another project in exported_namespace, exported_pod, exported_container, dest_namespace, service and persistentvolumeclaim, and the guard keeps the fact ok.
…he row guard (#6615) The row guard of the dispatcher read only namespace and a short list of workload labels. A row by exported_namespace, dest_namespace, exported_pod, exported_container, service or persistentvolumeclaim kept a name of another project and the fact stayed ok. Each namespace label must now hold a namespace of the setting, and these workload labels need a namespace. The docstring, the catalog header, the spec and docs/ROADMAP_WORKFLOW.md now say that the guard checks only the labels of its lists.
…6615) The scalar facts prometheus.no_memory_limit, prometheus.no_memory_request and prometheus.pending_pods group by namespace and pod and read all namespaces. The description of roadmap.project_review.namespaces and the comment of its default now name only the rows facts.
dan-petty
marked this pull request as ready for review
November 21, 2026 15:03
dan-petty
deleted the
fix/6615-keep-other-projects-workload-names-out-of-the-review
branch
November 21, 2026 15:38
dan-petty
pushed a commit
that referenced
this pull request
Nov 21, 2026
🤖 I have created a release *beep* *boop* --- ## [0.188.1](v0.188.0...v0.188.1) (2026-11-21) ### Bug Fixes * **roadmap:** Correct visibility, keys and bounds of Valkey caches ([#6625](#6625)) ([9d8ee87](9d8ee87)) * **roadmap:** keep other projects' workload names out of the review ([#6629](#6629)) ([da17ec9](da17ec9)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
Owner
Author
|
Check after the release: passed (release 0.188.1, main 90cf4f6).
|
dan-petty
added a commit
that referenced
this pull request
Nov 22, 2026
The delivery body limit has two meanings in the code and in the text that a person reads. `CONTRIBUTING.md:181:in at most 1,000 characters before the trailers` and the message field `form_body_long` measure the text above `Closes`, and `pull_form` measures the `Closes` line, the empty lines and the `Change:` line as well, about 120 characters of a typical change folder. A body of 990 characters above `Closes` is therefore refused at ready, and the merges of #6625 and #6629 waited on that refusal. Issue #6633 asks for one meaning in the code, the message and the document, for the plan body, and for the plan check. Closes #6633 Change: `openspec/changes/archive/2026-11-22-6633-the-body-limit-counts-the-closes/` --------- Co-authored-by: devops-cli-service[bot] <349441588+devops-cli-service[bot]@users.noreply.github.com> Co-authored-by: Daniel Petty <contact@danielpetty.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The project review could name workloads of other projects: seven rows facts grouped by namespace or pod over all namespaces.
The setting roadmap.project_review.namespaces lists the project namespaces (default: k8s/namespaces.yaml). The placeholder {namespaces} puts them in a namespace matcher in the query and the base of each such fact, and the loader refuses one with no matcher. The dispatcher gives error for a rows fact with a row whose namespace label is outside the setting, or with a listed workload label (pod, service) and no namespace; the reason holds no label value. requests_over_allocatable stays a cluster share. kube-system and default are not in the list, so the review does not measure Traefik or gpu-feature-discovery (see #6628). See #6612.
Check after the release: a 7-day read-only review gives no row with a namespace outside the setting.
Closes #6615
Change:
openspec/changes/archive/2026-11-21-6615-keep-other-projects-workload-names-out-of-the-review/