Skip to content

test: verify usage-event fidelity through telemetry emitters and Collector - #3

Draft
dinakarjs wants to merge 1 commit into
test/collector-fault-harnessfrom
test/collector-fidelity-20261025
Draft

dinakarjs wants to merge 1 commit into
test/collector-fault-harnessfrom
test/collector-fidelity-20261025

Conversation

@dinakarjs

Copy link
Copy Markdown
Owner

The collector experiment counts rows but cannot detect altered event bodies or lost projection fields. Add a three-event usage fixture with complete body, timestamp, event-name and attribute comparisons, separate order measurement, and missing/duplicate/foreign-event checks. Correct the experiment's TypeScript emitter to carry nanosecond timestamps and attributes; SDK runtime code is unchanged.

Stacked follow-up to agentrust-io#100, based on 2714186. This fork PR isolates the follow-up until its parent lands; retarget/rebase afterward. The queue companion changes the same experiment workflow and will need reconciliation when both are adopted.

Validation: four unittest methods pass, including real Python and TypeScript SDK emitters over loopback HTTP plus corruption controls. Reverting only the TS emitter to the parent version makes the new real-emitter test fail. TypeScript build, Node syntax, Python compilation, focused Ruff and actionlint pass. A Collector attempt hit the sandbox process-metrics startup error before delivery; the new full Collector fidelity case remains a hosted-CI gate. The parent's twelve passing cases do not validate this change.

Scope is the usage fixture and its six projected attributes, not exhaustive event-type fidelity, trace context or production delivery. Draft; no conformance tier change. AI-assisted with Codex; DCO signed.

Signed-off-by: Srinivasa Consultants <78673153+dinakarjs@users.noreply.github.com>
@github-actions

github-actions Bot commented Oct 24, 2026 •

Copy link
Copy Markdown

🟡 Contributor Check: MEDIUM

Check Result
Profile MEDIUM
Credential LOW
Overall MEDIUM

Automated check by AgenTrust Contributor Check.

@github-actions github-actions Bot added the needs-review:MEDIUM Contributor check flagged MEDIUM risk label Oct 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-review:MEDIUM Contributor check flagged MEDIUM risk

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant