Skip to content

Point self-hosting docs and LOCAL_ENDPOINT_PATH at the engine's real mount - #4

Merged
TonsOfFun merged 2 commits into
mainfrom
claude/activeagents-issues-prs-nkzg3a
Sep 3, 2026
Merged

Point self-hosting docs and LOCAL_ENDPOINT_PATH at the engine's real mount#4
TonsOfFun merged 2 commits into
mainfrom
claude/activeagents-issues-prs-nkzg3a

Conversation

@TonsOfFun

Copy link
Copy Markdown
Contributor

Closes #3.

What

Configuration::LOCAL_ENDPOINT_PATH, the class docstring and the README's self-hosting example all pointed at /active_agent/api/traces. No current dashboard serves that path: the actionagent engine ingests at <mount>/api/traces and its install generator mounts it at /activeagents, so a self-hoster following this gem's guidance got a silent 404 on every batch.

Changes

  • LOCAL_ENDPOINT_PATH is now /activeagents/api/traces, matching the framework's own copy of the constant.
  • The class comment and README.md name the same path and note that a custom mount of ActionAgent::Engine changes the prefix.
  • CHANGELOG entry under [Unreleased].

Verification

bundle exec ruby -Ilib -Itest -e 'Dir["test/**/test_*.rb"].each { |f| require File.expand_path(f) }' — 34 runs, 0 failures. No other reference to the stale path remains in lib/, test/ or the README.

🤖 Generated with Claude Code

https://claude.ai/code/session_01MJktGUDUo55811GVjruQQg


Generated by Claude Code

…mount

Configuration::LOCAL_ENDPOINT_PATH, the class docstring and the README's
self-hosting example all told operators to send traces to
/active_agent/api/traces. No current dashboard serves that path: the
actionagent engine ingests at <mount>/api/traces and its install generator
mounts it at /activeagents, so a self-hoster following the docs got a silent
404 on every batch.

The constant and both docs now name /activeagents/api/traces, and note that a
custom mount changes the prefix, matching the framework's own copy of the
constant.

Closes #3

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MJktGUDUo55811GVjruQQg

Copilot AI 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.

🟡 Changes recommended

The changelog now contains duplicate [Unreleased] sections, which makes release notes ambiguous and should be corrected before merging.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

This PR corrects the documented/self-hosting trace ingestion endpoint so it matches the actual default mount used by ActionAgent::Engine, preventing silent 404s for self-hosters.

Changes:

  • Update Configuration::LOCAL_ENDPOINT_PATH to /activeagents/api/traces and align the class-level documentation with ActionAgent::Engine’s default mount behavior.
  • Update the README self-hosting example endpoint and add guidance for custom engine mounts.
  • Add a changelog entry describing the fix under [Unreleased].
File summaries
File Description
README.md Updates the self-hosting endpoint example and clarifies the <mount>/api/traces convention.
lib/activeagents/telemetry/configuration.rb Fixes LOCAL_ENDPOINT_PATH and updates in-code documentation to match the engine’s real mount path.
CHANGELOG.md Adds an [Unreleased] entry documenting the endpoint/docs correction.
Review details
  • Files reviewed: 3/3 changed files
  • Comments generated: 2
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread CHANGELOG.md
Comment thread lib/activeagents/telemetry/configuration.rb Outdated
…ment

Review follow-ups: the CHANGELOG carried an empty [Unreleased] section
above 0.1.0 from before the first release, which duplicated the live one
at the top; and the LOCAL_ENDPOINT_PATH comment read "serves traces on at".

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MJktGUDUo55811GVjruQQg
@TonsOfFun
TonsOfFun merged commit ccbab0f into main Sep 3, 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.

Self-hosting docs & LOCAL_ENDPOINT_PATH point at the stale /active_agent mount path

3 participants