Skip to content

Qw/byte retention#53

Merged
grauwolf32 merged 5 commits into
mainfrom
qw/byte-retention
Jun 7, 2026
Merged

Qw/byte retention#53
grauwolf32 merged 5 commits into
mainfrom
qw/byte-retention

Conversation

@grauwolf32

Copy link
Copy Markdown
Owner

No description provided.

grauwolf32 and others added 5 commits June 6, 2026 16:27
Two harness fixes so current + future XBOW cases run without per-case hacks:

1. ensure_buster_base(): ~10 benchmarks build FROM python:2.7.18-slim (Debian
   buster, EOL) — apt 404s -> build exit 100. up() now rebuilds that image tag
   locally with apt pointed at archive.debian.org (idempotent, best-effort).
   Validated: XBEN-004/010 build + capture after the fix.
2. expose sanitizer: podman-compose rejects docker-compose's
   expose: "host:container" (the ~24 db benchmarks) -> emits a sanitized
   sibling compose (expose -> bare container port). Validated: XBEN-001 (db),
   which previously wedged, now comes up healthy.

scripts/xbow_fix_base.sh provides the base fix standalone too.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…p_budget_chars (QW3/A2)

Add Settings.fs_heavy_keep_budget_chars (env: FS_HEAVY_KEEP_BUDGET_CHARS,
default 0) and thread it into the FunctionResultsRemovalCallback built in
build_worker as keep_budget_chars=, alongside the existing keep_last_n=15.

Default 0 is a no-op: the budget axis stays disabled and heavy-tool result
retention remains count-only (historical behaviour), so merging is safe.
When set > 0, large/stale heavy-tool results are evicted once the cumulative
kept-char total would exceed the budget, even if keep_last_n is not reached.
An explicit elide_keep_budget_chars kwarg still overrides the setting.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@grauwolf32 grauwolf32 merged commit a6bde9d into main Jun 7, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant