ci: raise AI review context to 128k #136
No reviewers
Labels
No labels
area:authentication
area:flake-utilities
area:performance
area:tbd
host:chaos
host:electra
host:fleet
host:lyra
host:nova
host:vega
investigation
phase:cutover
phase:deploy
phase:mcp
phase:module
phase:packaging
phase:prep
phase:validation
priority:high
priority:medium
project:attic-postgres-lyra-rollout
project:auto-update-reliability
project:auto-update-remediation
project:declarative-purity-cleanup
project:external-review
project:fleet-boundary-cleanup
project:host-facts-refactor
project:lyra-nixos-deploy
project:lyra-service-stack-migration
project:nebula-mesh-network
project:nixos-build-deployment-pipeline
project:security-hardening
project:service-stack-migration
project:vega-sillytavern-cutover
project:wiki-rebuild
repo:numtide/flake-utils
repo:numtide/nix-auth
repo:numtide/nixos-passthru-cache
repo:numtide/nix-relay
service:auto-update
service:mem0
service:nix
service:sillytavern
service:slskd
service:synthseek
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
nimmo/nixos-config!136
Loading…
Reference in a new issue
No description provided.
Delete branch "issue-135-ai-review-context-128k"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Rationale
PR #134 currently produces a 65,880-token initial prompt. With num_ctx fixed at 65,536, Ollama context-shifts away the leading review schema and instructions and returns malformed output. The 128k setting gives this review substantial output headroom while remaining conservative relative to the model full native window.
This change is isolated from PR #134 because reviewer configuration is loaded from the pull request base revision.
Validation
The Attic workflow does not match changes limited to .forgejo/ai-review.yml, so no Attic job was expected or reported; workflow files and build inputs are unchanged.
Closes #135
Automated code review
Reviewed commit:
d32a54f90a8e0a2b7f090deb046462475533571dVerdict: Ready to merge
No blocking or important findings were retained, and deterministic checks passed. Suggestions remain advisory.
Overall assessment
The pull request updates
.forgejo/ai-review.ymlto increase thecontext_sizefrom 65,536 to 131,072 tokens and adds a comment explaining the rationale relative to the model's native window. This is a configuration-only change targeting AI prompt processing limits.Blocking findings
None.
Important findings
None.
Suggestions
None.
Tests and validation
Questions
Review limitations
Diff coverage
.forgejo/ai-review.yml: reviewed — included in a context-limited batchReview metadata
Resource-headroom check after the successful automated review:
PR #136 itself correctly ran with the trusted 64k base configuration, so this is capacity evidence rather than a claim that CI already launched the 128k runner. The first genuine 128k exercise will be the post-merge PR #134 rerun. No deployment or updater run was performed.