Skip to content

fix(metrics): refuse invalid counter windows - #14

Merged
Mathih13 merged 1 commit into
mainfrom
feat/playerbots-acceptance-metrics
Sep 9, 2026
Merged

Mathih13 merged 1 commit into
mainfrom
feat/playerbots-acceptance-metrics

Conversation

@Mathih13

@Mathih13 Mathih13 commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Metrics could silently become zero when a series disappeared, and checking two shard selectors together missed counter resets in both. This would make the playerbots load report unreliable.

Share the parser with acceptance callers, preserve exact label identity, and refuse missing, reset or invalid counter windows. The benchmark checks its primary and witness shards separately. Existing substring selectors keep their behavior; acceptance callers use complete label values.

Validation: 81 tests, Clippy with warnings denied, format check, release binaries, and five offline adapter checks passed. The parser also read all 11,890 samples from a saved SpacetimeDB 2.7.1 fixture capture. Independent Standards and Spec review passed. This change does not claim a measured playerbot capacity.

Authored with GPT-6 in Codex; independent agent review used the same Codex workflow.

@Mathih13
Mathih13 merged commit 79b7ce3 into main Sep 9, 2026
3 checks passed
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