Skip to content

chore(cli): define error actionability taxonomy#5775

Open
jgoux wants to merge 3 commits into
developfrom
julien/cli-1560-define-cli-error-actionability-taxonomy
Open

chore(cli): define error actionability taxonomy#5775
jgoux wants to merge 3 commits into
developfrom
julien/cli-1560-define-cli-error-actionability-taxonomy

Conversation

@jgoux

@jgoux jgoux commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Defines the CLI error actionability taxonomy for KPI reporting and adds a sanitized classifier contract for future cli_command_executed failure metadata.

This keeps the Q2 recovery and repeat definitions close to the telemetry catalog, while preserving the current behavior that command events only emit existing fields until the follow-up instrumentation issue wires classification into capture.

@jgoux jgoux marked this pull request as ready for review July 6, 2026 12:51
@jgoux jgoux requested a review from a team as a code owner July 6, 2026 12:51
@github-actions

github-actions Bot commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Supabase CLI preview

npx --yes https://pkg.pr.new/supabase/cli/supabase@2dfad1158f0f4d33f2223a39a32093e63d73c304

Preview package for commit 2dfad11.

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 511b9e3b61

ℹ️ 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 apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts Outdated
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts Outdated
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts Outdated
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts Outdated
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 786bba4590

ℹ️ 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 apps/cli/src/shared/telemetry/error-actionability.ts Outdated
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts Outdated
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts Outdated
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts Outdated
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
@jgoux jgoux force-pushed the julien/cli-1560-define-cli-error-actionability-taxonomy branch from 786bba4 to b26bfe6 Compare July 6, 2026 13:27

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b26bfe6b63

ℹ️ 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 apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts Outdated
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts Outdated
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts Outdated
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
@jgoux jgoux force-pushed the julien/cli-1560-define-cli-error-actionability-taxonomy branch from b26bfe6 to b8a178b Compare July 6, 2026 13:54

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b8a178ba4f

ℹ️ 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 apps/cli/src/shared/telemetry/error-actionability.ts Outdated
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts Outdated
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts Outdated
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
@jgoux jgoux force-pushed the julien/cli-1560-define-cli-error-actionability-taxonomy branch from b8a178b to 8809e4c Compare July 6, 2026 14:49

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 8809e4c704

ℹ️ 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 apps/cli/src/shared/telemetry/error-actionability.ts Outdated
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
@jgoux jgoux force-pushed the julien/cli-1560-define-cli-error-actionability-taxonomy branch from 8809e4c to d9f5099 Compare July 6, 2026 15:02

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d9f509914d

ℹ️ 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 apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
@jgoux jgoux force-pushed the julien/cli-1560-define-cli-error-actionability-taxonomy branch from d9f5099 to bfe8271 Compare July 6, 2026 15:29

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: bfe8271f0c

ℹ️ 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 apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts Outdated
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts Outdated
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
@jgoux jgoux force-pushed the julien/cli-1560-define-cli-error-actionability-taxonomy branch from bfe8271 to 0aa23a6 Compare July 7, 2026 06:14

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 0aa23a6145

ℹ️ 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 apps/cli/src/shared/telemetry/error-actionability.ts Outdated
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
@jgoux jgoux force-pushed the julien/cli-1560-define-cli-error-actionability-taxonomy branch from 0aa23a6 to 32045e5 Compare July 7, 2026 06:32

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 32045e5fb8

ℹ️ 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 apps/cli/src/shared/telemetry/error-actionability.ts Outdated
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
@jgoux jgoux force-pushed the julien/cli-1560-define-cli-error-actionability-taxonomy branch from 32045e5 to d3c25fe Compare July 7, 2026 07:16

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d3c25fe0e1

ℹ️ 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 apps/cli/src/shared/telemetry/error-actionability.ts Outdated
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
@jgoux jgoux force-pushed the julien/cli-1560-define-cli-error-actionability-taxonomy branch from d3c25fe to 99b1f00 Compare July 7, 2026 07:51

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 99b1f00ac5

ℹ️ 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 apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
@jgoux jgoux force-pushed the julien/cli-1560-define-cli-error-actionability-taxonomy branch from 99b1f00 to 6e3a70a Compare July 7, 2026 08:31

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 6e3a70af06

ℹ️ 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 apps/cli/src/shared/telemetry/error-actionability.ts Outdated
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts Outdated
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/shared/telemetry/event-catalog.ts
@jgoux jgoux force-pushed the julien/cli-1560-define-cli-error-actionability-taxonomy branch from 6e3a70a to fec1bae Compare July 7, 2026 09:00

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: fec1bae011

ℹ️ 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 apps/cli/src/legacy/telemetry/legacy-command-instrumentation.ts Outdated
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/legacy/commands/sso/update/update.handler.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
@jgoux jgoux force-pushed the julien/cli-1560-define-cli-error-actionability-taxonomy branch from fec1bae to 003c29d Compare July 7, 2026 10:15

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 003c29dd8e

ℹ️ 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 apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts Outdated
Comment thread apps/cli-go/internal/telemetry/events.go
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
@jgoux jgoux force-pushed the julien/cli-1560-define-cli-error-actionability-taxonomy branch from 003c29d to 4fc9f35 Compare July 7, 2026 10:51

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 4fc9f35a67

ℹ️ 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 apps/cli/src/shared/cli/run.ts Outdated
Comment thread apps/cli/src/shared/cli/run.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
@jgoux jgoux force-pushed the julien/cli-1560-define-cli-error-actionability-taxonomy branch from 4fc9f35 to 0b91f42 Compare July 7, 2026 11:24

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 0b91f42490

ℹ️ 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 apps/cli/src/shared/cli/run.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
@jgoux jgoux force-pushed the julien/cli-1560-define-cli-error-actionability-taxonomy branch from 0b91f42 to cbcb7e0 Compare July 7, 2026 11:55

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: cbcb7e01f7

ℹ️ 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 apps/cli/src/shared/cli/run.ts
Comment thread apps/cli/src/shared/cli/run.ts
@jgoux jgoux force-pushed the julien/cli-1560-define-cli-error-actionability-taxonomy branch from cbcb7e0 to 8577e5c Compare July 7, 2026 12:46

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 8577e5c649

ℹ️ 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 apps/cli/src/shared/cli/run.ts
Comment thread apps/cli/src/shared/cli/run.ts
Comment thread apps/cli/src/shared/cli/run.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
@jgoux jgoux force-pushed the julien/cli-1560-define-cli-error-actionability-taxonomy branch from 8577e5c to afc01d5 Compare July 7, 2026 13:28

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: afc01d54d6

ℹ️ 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 apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/shared/cli/run.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
@jgoux jgoux force-pushed the julien/cli-1560-define-cli-error-actionability-taxonomy branch from afc01d5 to 4be05e0 Compare July 7, 2026 15:17

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 4be05e02aa

ℹ️ 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 apps/cli/src/shared/cli/run.ts
Comment thread apps/cli/src/shared/cli/run.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
@jgoux jgoux force-pushed the julien/cli-1560-define-cli-error-actionability-taxonomy branch from 4be05e0 to 37efe38 Compare July 7, 2026 16:03

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 37efe38abf

ℹ️ 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 apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
@jgoux jgoux force-pushed the julien/cli-1560-define-cli-error-actionability-taxonomy branch from 37efe38 to 650a763 Compare July 7, 2026 16:23

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 650a763799

ℹ️ 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 apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/shared/cli/run.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/shared/cli/run.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
@jgoux jgoux force-pushed the julien/cli-1560-define-cli-error-actionability-taxonomy branch from 650a763 to 7097e17 Compare July 7, 2026 19:17

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 7097e17c48

ℹ️ 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 apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
@jgoux jgoux force-pushed the julien/cli-1560-define-cli-error-actionability-taxonomy branch from 7097e17 to 6fa7002 Compare July 7, 2026 19:45

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 6fa7002bfa

ℹ️ 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 apps/cli/src/shared/cli/run.ts
Comment thread apps/cli/src/shared/cli/run.ts
Comment thread apps/cli/src/shared/cli/run.ts
Comment thread apps/cli/src/shared/cli/run.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
@jgoux jgoux force-pushed the julien/cli-1560-define-cli-error-actionability-taxonomy branch from 6fa7002 to ae7c3f2 Compare July 7, 2026 20:08

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: ae7c3f2068

ℹ️ 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 apps/cli/src/shared/cli/run.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
Comment thread apps/cli/src/shared/cli/run.ts
Comment thread apps/cli/src/shared/telemetry/error-actionability.ts
@jgoux jgoux force-pushed the julien/cli-1560-define-cli-error-actionability-taxonomy branch from ae7c3f2 to 2dfad11 Compare July 7, 2026 21:06

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 2dfad1158f

ℹ️ 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 on lines +70 to +71
"LegacyExperimentalRequiredError",
"LegacyInvalidOutputFormatError",

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Do not capture legacy pre-run rejects

When a legacy experimental command is run without --experimental (for example supabase storage cp ...) or a command-specific -o value is rejected (for example supabase backups list -o table), these tags are raised before withLegacyCommandInstrumentation; the comments/tests around legacyRequireExperimental and legacyValidateOutputFormat explicitly require no cli_command_executed event to match Go. Whitelisting them here makes the outer runCli failure handler emit a root telemetry event anyway, so those parse/pre-run rejects are now counted in command failure metrics despite the handler instrumentation intentionally suppressing them.

Useful? React with 👍 / 👎.

"LegacySeedMutuallyExclusiveFlagsError",
"LegacyStorageMutuallyExclusiveFlagsError",
"MissingOption",
"ProjectEnvParseError",

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Capture pre-handler config parse failures

This pre-handler allowlist includes malformed project env files but still omits ProjectConfigParseError. start.command.ts loads supabase/config.toml in its Command.provide callback before withCommandInstrumentation runs, so a malformed config (for example during supabase start) exits through the outer handler without any cli_command_executed failure event even though the taxonomy already maps that tag as invalid config.

Useful? React with 👍 / 👎.

}

export function commandNameForRootTelemetry(args: ReadonlyArray<string>): string {
const commandPath = extractCommandPath(args);

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Normalize the migrations alias for root telemetry

For pre-handler parser failures invoked through the legacy alias, such as supabase migrations list --bad, extractCommandPath returns migrations ..., but the whitelist only contains the canonical migration ... paths. Successful executions use the canonical commandRuntimeLayer(["migration", ...]), so alias parse failures are attributed to root instead of joining the migration command metrics unless this path is normalized before matching.

Useful? React with 👍 / 👎.

return Effect.gen(function* () {
if (!shouldCapturePreHandlerFailureTelemetry(cause)) return;

const analytics = yield* Analytics;

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Keep telemetry capture from masking parse errors

When a project .env is malformed, the command fails with ProjectEnvParseError and this helper now tries to emit pre-handler telemetry, but acquiring Analytics depends on CliConfig/ProjectContext and re-runs the same failing env parse. Because the capture is not best-effort, that second failure aborts before output.fail(...) and the final processControl.exit(...), so these user-fixable parse errors can lose the normalized CLI error output without producing the telemetry event either.

Useful? React with 👍 / 👎.

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