Skip to content

feat(evalevent): add event protocol foundation - #229

Merged
JHWang-1997 merged 2 commits into
alibaba:mainfrom
JHWang-1997:feat/eval-event-model
Sep 2, 2026
Merged

JHWang-1997 merged 2 commits into
alibaba:mainfrom
JHWang-1997:feat/eval-event-model

Conversation

@JHWang-1997

Copy link
Copy Markdown
Collaborator

Summary

  • add the internal typed v1 event envelope and payload validation defined by SUP-0005
  • add a concurrency-safe Publisher with invocation identity, contiguous sequence numbers, immutable attributes, one final marker, sticky publication errors, and idempotent close aggregation
  • add the invocation Lifecycle state machine with task and iteration accounting, monotonic durations, progress snapshots, and a 30-second heartbeat
  • add a synchronous JSONL sink with complete newline-terminated writes, a 1 MiB record limit, and create/truncate semantics
  • publish layered v1 JSON Schemas for the common envelope and all seven core event/version tuples

Compatibility

User-visible changes: none.

The new internal package has no runtime caller and does not register hooks or change any existing command. It has no dependency on CLI, runner, evaluator, judge, report, or UI packages.

Validation

  • make fmt
  • make verify
  • make test

Part of #206 and implements the protocol approved in SUP-0005.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 2, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-02T04:31:53.349414Z 338bc62 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 338bc62306

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread internal/evalevent/publisher.go Resolved

@zpzjzj zpzjzj left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@JHWang-1997
JHWang-1997 added this pull request to the merge queue Sep 2, 2026
Merged via the queue into alibaba:main with commit f10a8c9 Sep 2, 2026
10 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.

2 participants