Skip to content

feat: trace diff and baseline regression gates (DEV-62) - #14

Merged
developjik merged 28 commits into
mainfrom
feat/dev-62-trace-diff
Nov 24, 2026
Merged

developjik merged 28 commits into
mainfrom
feat/dev-62-trace-diff

Conversation

@developjik

@developjik developjik commented Nov 24, 2026 •

Copy link
Copy Markdown
Owner

DEV-62 구현입니다.

  • diff CLI/API: adapter/protocol/framing 검사, ID·입력index·발생순번 기반 비교, 추가/삭제/순서/JSON Pointer payload/t_ms 차이.
  • added,removed,payload,count,latency>Nms 조합 gate와 exit1, JSON 및 기존timeline viewer를 재사용하는 sandbox HTML.
  • --baseline 또는 .streams/baseline.json의 상대경로+SHA256 확인. 손상·잘린JSONL은 비교 성공으로 넘기지 않음.
  • base-commit 녹화artifact를 받는 PR CI 예시. 현재 demo fixture copy를 실제 앱의 동일 녹화명령으로 교체하는 부분을 문서에 명시. removed gate위반은 workflow실패.
  • README roadmap의 diff를 실제 사용법으로 이동.

로컬 검증: Node22.18 타입검사/124테스트/빌드 통과, Node20.0 배포CLI 동일trace JSON비교 통과. 데스크톱 및390px화면에서 보고서와 양쪽viewer를 확인. 원격7개파일 로컬검증본과 일치.

의도한 한계: ID없는event는 절대ordinal정렬이므로 익명event삽입은 여러payload변경으로 보일 수 있습니다. latency는 누적elapsed시간 변화이며 서버처리시간이 아닙니다. count는 순수총프레임수, 임계값은strict greater-than입니다. rawwire공백은payload로 비교하지 않습니다. HTML에trace데이터가 포함되므로 원본과같이 취급합니다.

CI와리뷰확인후정상병합하며 npm수동릴리스는하지않습니다.


Devin Review

@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

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

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-24T08:56:03.141979Z
We couldn’t complete this review. Comment @codex review to try again.
4b40a0f 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

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

devin-ai-integration[bot]

This comment was marked as resolved.

devin-ai-integration[bot]

This comment was marked as resolved.

devin-ai-integration[bot]

This comment was marked as resolved.

devin-ai-integration[bot]

This comment was marked as resolved.

devin-ai-integration[bot]

This comment was marked as resolved.

@developjik
developjik merged commit c10506a into main Nov 24, 2026
6 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