Skip to content

feat(engine): add template lifecycle telemetry and centralize builtin…#1461

Draft
anthonyiscoding wants to merge 1 commit intomainfrom
add/quickstart-measurement
Draft

feat(engine): add template lifecycle telemetry and centralize builtin…#1461
anthonyiscoding wants to merge 1 commit intomainfrom
add/quickstart-measurement

Conversation

@anthonyiscoding
Copy link
Copy Markdown
Contributor

… function filtering

  • Add first_user_success_fn / first_user_failure_fn OnceLock fields to MetricsAccumulator
  • Set OnceLock in invocation handler for non-builtin function success/failure
  • Spawn polling task for template_success/template_failure Amplitude events gated on project.ini source
  • Extract is_iii_standard_function_id as pub helper covering engine::, state::, stream::, iii::, bridge., motia::, steps::, publish, motia_step_get
  • Replace all inline starts_with filters in telemetry and invocation with the central helper
  • Read source field from project.ini into ProjectContext and include in heartbeat
  • Remove time_to_first_success/failure_secs from template events (derivable in Amplitude)

… function filtering

- Add first_user_success_fn / first_user_failure_fn OnceLock fields to MetricsAccumulator
- Set OnceLock in invocation handler for non-builtin function success/failure
- Spawn polling task for template_success/template_failure Amplitude events gated on project.ini source
- Extract is_iii_standard_function_id as pub helper covering engine::, state::, stream::, iii::, bridge., motia::, steps::, publish, motia_step_get
- Replace all inline starts_with filters in telemetry and invocation with the central helper
- Read source field from project.ini into ProjectContext and include in heartbeat
- Remove time_to_first_success/failure_secs from template events (derivable in Amplitude)
@vercel
Copy link
Copy Markdown
Contributor

vercel bot commented Apr 10, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
iii-website Ready Ready Preview, Comment Apr 10, 2026 10:20pm
motia-docs Ready Ready Preview, Comment Apr 10, 2026 10:20pm

Request Review

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Apr 10, 2026

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 8861b0ac-f2d5-4777-be64-e3b06e222f5d

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch add/quickstart-measurement

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

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