Skip to content

feat: bump @qawolf/api-contracts to 0.15.0 - #1410

Draft
Matt Kleinsmith (MattKleinsmith) wants to merge 1 commit into
mainfrom
sorce-3691-update-qawolfcli-identity-schema-to-accept-org-key-identity
Draft

feat: bump @qawolf/api-contracts to 0.15.0#1410
Matt Kleinsmith (MattKleinsmith) wants to merge 1 commit into
mainfrom
sorce-3691-update-qawolfcli-identity-schema-to-accept-org-key-identity

Conversation

@MattKleinsmith

@MattKleinsmith Matt Kleinsmith (MattKleinsmith) commented Jul 30, 2026

Copy link
Copy Markdown

Overview of Problem

@qawolf/cli was four minors behind @qawolf/api-contracts (pinned at 0.11.0), and getIdentity carried a hand-rolled copy of the /api/v0/identity schema that had drifted from the contract — organization API keys broke auth whoami.

Overview of Changes

Bump @qawolf/api-contracts 0.11.00.15.0 and consume its shared contracts.

What the bump required:

  • Identity schemagetIdentity now imports the shared identityResponse from @qawolf/api-contracts instead of a hand-rolled schema, so the CLI can't drift from the contract; auth whoami now reports the organization for org keys.
  • New public commands — the contract catalog gained environment find, environment setVariable, and flow addTag, which auto-register as CLI commands (regenerated SKILL.md; new top-level flow group in the --help snapshot).
  • --workspace-id flag — org-key-aware inputs (e.g. issue.create) gained it; the flagSpecs union test expectation was updated.

Blocked on publishing @qawolf/api-contracts@0.15.0bun install / CI can't resolve it until then, so this stays a draft until that release is out.

@coderabbitai

coderabbitai Bot commented Jul 30, 2026

Copy link
Copy Markdown

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: 10085d4d-4aab-4860-8979-81a88d7d13b4

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Comment @coderabbitai help to get the list of available commands.

@MattKleinsmith
Matt Kleinsmith (MattKleinsmith) force-pushed the sorce-3691-update-qawolfcli-identity-schema-to-accept-org-key-identity branch from 214d391 to 1399157 Compare July 30, 2026 22:14
qawolf auth whoami rejected WorkOS org keys with "unexpected response format":
the /api/v0/identity schema only accepted { team }, but org keys return
{ organization }. Consume the shared identityResponse schema from
@qawolf/api-contracts (bumped 0.11.0 -> 0.15.0) so the CLI and platform cannot
drift, and print the organization in whoami. The api-contracts bump also brings
the public command surface current (--workspace-id on org-key-aware commands;
new environment find / setVariable and flow addTag commands).
@MattKleinsmith
Matt Kleinsmith (MattKleinsmith) force-pushed the sorce-3691-update-qawolfcli-identity-schema-to-accept-org-key-identity branch from 1399157 to 979e661 Compare July 30, 2026 22:23
@MattKleinsmith Matt Kleinsmith (MattKleinsmith) changed the title fix: accept WorkOS organization identity in auth whoami feat: bump @qawolf/api-contracts to 0.15.0 Jul 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant