Skip to content

Conversation

@manveerxyz
Copy link
Member

@manveerxyz manveerxyz commented Jan 26, 2026

Note

Medium Risk
Adds new CLI commands that call new hub endpoints and introduces a log-following loop with rate-limit handling; risk is mostly around API compatibility and potential noisy polling/edge cases, not data/security.

Overview
Enhances prime env with hub discovery improvements and action (CI job) inspection tooling.

prime env list now supports search, tag filtering, sorting, starred/mine filters (auth-gated), and optional inclusion of latest CI status; table/JSON output now includes version/stars/updated date and can show a colored action-status column. Adds prime env status for per-environment latest version + action status, and introduces prime env action subcommands to list actions, fetch/follow logs (with ANSI stripping and basic rate-limit backoff), and retry an action.

Also adds format_time_ago to time_utils and uses it for action timestamps, updates RL failure messaging to point to the new action list command, and makes minor CLI help formatting/panel organization tweaks (including \b examples blocks).

Written by Cursor Bugbot for commit c32730c. This will update automatically on new commits. Configure here.

@manveerxyz manveerxyz marked this pull request as draft January 26, 2026 22:22
@manveerxyz manveerxyz changed the base branch from main to feature/check-ci January 27, 2026 02:04
@manveerxyz manveerxyz changed the title ENG-2726: Add ability to search envs + fetch CI status ENG-2726: Add ability to search envs + fetch actions status/logs Jan 27, 2026
@manveerxyz manveerxyz marked this pull request as ready for review January 27, 2026 19:53
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 3 potential issues.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

Base automatically changed from feature/check-ci to main January 27, 2026 21:05
@manveerxyz manveerxyz requested a review from d42me January 27, 2026 22:51
Copy link
Contributor

@d42me d42me left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall looks good, couple of edge cases:

Why can't I refer to my locally installed ones without a slug like what we support for prime eval? E.g. prime env status mcp-universe.
Why can't I sort by most starred envs or recently updated (I would favor that over lately created)?

@@ -264,7 +611,76 @@ def list_cmd(
raise typer.Exit(1)


Copy link
Contributor

@d42me d42me Jan 28, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why not moving this to time utils?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it is in a utils file, i think you may have reviewed an older version

@@ -264,7 +611,76 @@ def list_cmd(
raise typer.Exit(1)


Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why not moving this to time utils?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it is in a utils file, i think you may have reviewed an older version

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.

3 participants