Skip to content

fix(k8s): set the verification window in the example ConfigMap - #3986

Merged
dan-petty merged 2 commits into
mainfrom
fix/3911-verify-window-example-configmap
Nov 7, 2026
Merged

dan-petty merged 2 commits into
mainfrom
fix/3911-verify-window-example-configmap

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

The task verification had no context window in the example ConfigMap, so it took the default 32,768 tokens. The run hook ended the tools of the review at 24,576 tokens, and the review read almost none of the code. The example ConfigMap now sets 256000, as for analysis. A review run whose window ends its tools before 8 tool calls now fails the item and names ai.tasks.verification.context_window. A test fails when the window is too small for a review run.

Closes #3911

Change: openspec/changes/archive/2026-11-07-3911-verify-window-example-configmap/
Elapsed: 2.25s

@dan-petty dan-petty added type/bug Type bug: the code does not do what it must scope/k8s Kubernetes commands, Helm charts, pods, services, and policies labels Nov 7, 2026
@dan-petty

Copy link
Copy Markdown
Owner Author

Evidence for the pull request.

  • fail-to-pass (uv run devops ci fail-to-pass --base origin/main): 4 tests fail on the base and pass on the branch. They are the review window of the example ConfigMap (fit and equal to analysis), the starved review run that fails and names ai.tasks.verification.context_window, and the verification test that takes its window from the task verification.
  • Full uv run devops ci on the branch: exit 0. It warned that tests took 6m 25s, over the 5 minute budget. The slowest tests are in tests/prometheus and tests/commands, not in this change (fix(ci): the pytest step of devops ci exceeds the 5-minute budget #3593).
  • Decision on a failed review run whose window ends its tools too soon: it fails the item, as a plan run does. A review that read almost none of the code lets a plan stage as clean. See design.md of the change.
  • The live ConfigMap is not touched.

@dan-petty
dan-petty marked this pull request as ready for review November 7, 2026 13:49
@dan-petty
dan-petty merged commit 8436734 into main Nov 7, 2026
25 checks passed
@dan-petty
dan-petty deleted the fix/3911-verify-window-example-configmap branch November 7, 2026 13:49
dan-petty pushed a commit that referenced this pull request Nov 7, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.81.0](v0.80.0...v0.81.0)
(2026-11-07)


### Features

* **ai:** add the fetch-page command and MCP tool
([#3982](#3982))
([93c8008](93c8008)),
closes [#3892](#3892)
* **ai:** search the web through SearXNG
([#3980](#3980))
([dc276b0](dc276b0))
* **k8s:** run Crawl4AI in the devops namespace
([#3977](#3977))
([2be237b](2be237b)),
closes [#3884](#3884)
* **research:** find advisories for the pins of the project
([#3994](#3994))
([1d62738](1d62738)),
closes [#3898](#3898)
* **roadmap:** add a fetch_page tool to refine and alternatives
([#3974](#3974))
([7f2817c](7f2817c)),
closes [#3890](#3890)


### Bug Fixes

* **ai:** remove weight recs from gateway tune
([#3992](#3992))
([766fb99](766fb99))
* **k8s:** set the verification window in the example ConfigMap
([#3986](#3986))
([8436734](8436734))


### Code Refactoring

* **ui:** audit five dashboard tabs against open tools
([#3984](#3984))
([3ea416b](3ea416b))

---
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/k8s Kubernetes commands, Helm charts, pods, services, and policies type/bug Type bug: the code does not do what it must

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(k8s): set the verification window in the example ConfigMap

1 participant