Fix Agent Help Trail Availability · Entire

Agent Help and Trails Availability Fix

The agent-help trail is claiming that trails are not available, but it should check the availability of these features. The reason it indicates that trails are unavailable is due to the feature not being generally available. However, we have an elaborate check for whether trails are enabled for a repo and should utilize that instead of stating unavailability.

Implemented Changes

Commit Details

Committed, pushed, and created PR #1762:

Changes in Detail:

Review Comments

Proposed Solutions

  1. Skip refreshing immediately if scope.AuthKey is empty.
  2. Adjust probe primarily for explicit trail help requests.
  3. Use a shorter timeout for agent-help-specific requests.
  4. Report availability as unknown instead of “not enabled” if probing fails.

Fix Implementation

Implemented and pushed:

Additional Reviews

Throughout the process, various review comments and suggestions were discussed:

Conclusion

These enhancements to the agent-help functionality provide a more efficient and streamlined user experience while addressing previous issues with trails availability checks.