[PR #581] Expand hook telemetry coverage and dedupe fixes #590

Open
opened 2026-03-02 04:14:03 +03:00 by kerem · 0 comments
Owner

Original Pull Request: https://github.com/git-ai-project/git-ai/pull/581

State: open
Merged: No


Summary

  • expand hook telemetry coverage across supported agents and installers
  • add response telemetry handling for OpenCode message stream hooks
  • fix inferred response dedupe fallback to avoid collapsing to a constant key when generation id is missing
  • extend normalized hook payload extraction with message identity metadata
  • update tests for checkpoint telemetry, presets, and hook install flows

Validation

  • cargo fmt
  • cargo clippy --all-targets --tests
  • cargo test response_phases_from_hook_supports_opencode_message_hooks
  • cargo test response_dedupe_generation_avoids_constant_na_when_generation_missing
  • cargo test --test opencode
  • cargo test --test agent_presets_comprehensive
  • cargo test --test install_hooks_comprehensive
  • cargo test --test github_copilot

Open with Devin
**Original Pull Request:** https://github.com/git-ai-project/git-ai/pull/581 **State:** open **Merged:** No --- ## Summary - expand hook telemetry coverage across supported agents and installers - add response telemetry handling for OpenCode message stream hooks - fix inferred response dedupe fallback to avoid collapsing to a constant key when generation id is missing - extend normalized hook payload extraction with message identity metadata - update tests for checkpoint telemetry, presets, and hook install flows ## Validation - cargo fmt - cargo clippy --all-targets --tests - cargo test response_phases_from_hook_supports_opencode_message_hooks - cargo test response_dedupe_generation_avoids_constant_na_when_generation_missing - cargo test --test opencode - cargo test --test agent_presets_comprehensive - cargo test --test install_hooks_comprehensive - cargo test --test github_copilot <!-- devin-review-badge-begin --> --- <a href="https://app.devin.ai/review/git-ai-project/git-ai/pull/581" target="_blank"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://static.devin.ai/assets/gh-open-in-devin-review-dark.svg?v=1"> <img src="https://static.devin.ai/assets/gh-open-in-devin-review-light.svg?v=1" alt="Open with Devin"> </picture> </a> <!-- devin-review-badge-end -->
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/git-ai#590
No description provided.