Skip to content

tunnel labels#586

Open
kcoopermiller wants to merge 11 commits into
mainfrom
feature/tunnel-labels
Open

tunnel labels#586
kcoopermiller wants to merge 11 commits into
mainfrom
feature/tunnel-labels

Conversation

@kcoopermiller
Copy link
Copy Markdown
Member

@kcoopermiller kcoopermiller commented Apr 30, 2026

Note

Medium Risk
Bulk stop semantics changed (--all lists then deletes; label/team/user-scoped deletes), so wrong flags or missing user/team config could delete more tunnels than intended.

Overview
Adds tunnel labels end-to-end: register tunnels with --label, filter listings, and stop tunnels by label via expanded API client payloads (labels, pagination/sort on list, scoped bulk delete with teamId/userId/all_users).

TunnelInfo now carries labels plus extra list/status fields (name, ports, team, timestamps). prime tunnel list gains label/status/sort/paging and JSON output; the table shows name, labels, and created time (without inferring created from expiry). prime tunnel stop enforces one mode among IDs, --all, or --label; label stops use server bulk delete; --all temporarily lists paginated tunnels then deletes by ID (with --only-mine / --all-users scoping) until older registrations age out.

Reviewed by Cursor Bugbot for commit 35672e3. Bugbot is set up for automated code reviews on this repo. Configure here.

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: aaf8ad842d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread packages/prime/src/prime_cli/commands/tunnel.py Outdated
Comment thread packages/prime/src/prime_cli/commands/tunnel.py Outdated
Comment thread packages/prime/src/prime_cli/commands/tunnel.py Outdated
Comment thread packages/prime-tunnel/src/prime_tunnel/core/client.py Outdated
Comment thread packages/prime-tunnel/src/prime_tunnel/core/client.py Outdated
@kcoopermiller
Copy link
Copy Markdown
Member Author

@codex review

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 38a43935df

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread packages/prime-tunnel/src/prime_tunnel/core/client.py
Comment thread packages/prime/src/prime_cli/commands/tunnel.py Outdated
@kcoopermiller
Copy link
Copy Markdown
Member Author

@codex review

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: ee9d151543

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread packages/prime-tunnel/src/prime_tunnel/core/client.py Outdated
@kcoopermiller
Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector
Copy link
Copy Markdown

Codex Review: Didn't find any major issues. More of your lovely PRs please.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Copy link
Copy Markdown

@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 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 85db6df. Configure here.

Comment thread packages/prime/tests/test_tunnel_cli.py Outdated
@kcoopermiller
Copy link
Copy Markdown
Member Author

@codex review

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 87111ffeb0

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread packages/prime-tunnel/src/prime_tunnel/core/client.py
Comment thread packages/prime-tunnel/src/prime_tunnel/core/client.py
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