Skip to content

Backend Release PR

Backend Release PR #31

Manually triggered July 27, 2025 20:52
Status Failure
Total duration 56s
Artifacts

backend-release-pr.yml

on: workflow_dispatch
releaseIt
50s
releaseIt
Fit to window
Zoom out
Zoom in

Annotations

3 errors
releaseIt
Process completed with exit code 1.
tests/unit/routes/teams.test.ts > Teams Route > Schema Validation > should have proper OpenAPI schema for GET route: services/backend/tests/unit/routes/teams.test.ts#L1103
AssertionError: expected [ { cookieAuth: [] }, …(1) ] to deeply equal [ { cookieAuth: [] } ] - Expected + Received [ { "cookieAuth": [], }, + { + "bearerAuth": [], + }, ] ❯ tests/unit/routes/teams.test.ts:1103:39
tests/unit/routes/teams.test.ts > Teams Route > Route Registration > should register GET /teams/me route: services/backend/tests/unit/routes/teams.test.ts#L160
AssertionError: expected "spy" to be called with arguments: [ '/teams/me', …(2) ] Received: 1st spy call: [ - "/teams/me", - ObjectContaining { - "schema": ObjectContaining { + "/teams/me/default", + { + "preValidation": [ + [Function anonymous], + [Function anonymous], + ], + "schema": { + "description": "Retrieves the default team for the currently authenticated user. Supports both cookie-based authentication (for web users) and OAuth2 *** authentication (for CLI users). Requires teams:read scope for OAuth2 access.", + "response": { + "200": { + "components": {}, + "schema": { + "additionalProperties": false, + "description": "Default team retrieved successfully", + "properties": { + "data": { + "additionalProperties": false, + "description": "Team data", + "properties": { + "created_at": { + "description": "Team creation date", + "type": "string", + }, + "description": { + "anyOf": [ + { + "type": "string", + }, + { + "type": "null", + }, + ], + "description": "Team description", + }, + "id": { + "description": "Team ID", + "type": "string", + }, + "is_default": { + "description": "Indicates if this is the user's default team", + "type": "boolean", + }, + "name": { + "description": "Team name", + "type": "string", + }, + "owner_id": { + "description": "Team owner ID", + "type": "string", + }, + "slug": { + "description": "Team slug", + "type": "string", + }, + "updated_at": { + "description": "Team last update date", + "type": "string", + }, + }, + "required": [ + "id", + "name", + "slug", + "description", + "owner_id", + "is_default", + "created_at", + "updated_at", + ], + "type": "object", + }, + "message": { + "description": "Success message", + "type": "string", + }, + "success": { + "description": "Indicates if the operation was successful", + "type": "boolean", + }, + }, + "required": [ + "success", + "data", + ], + "type": "object", + }, + }, + "401": { + "components": {}, + "schema": { + "additionalProperties": false, + "description": "Unauthorized - Authentication required or invalid token", + "properties": { + "details": { + "description": "Additional error details (validation errors)", + "items": {}, + "type": "array", + }, + "error": { + "description": "Error message", + "type": "string", + }, + "success": { + "default": false, + "description": "Indicates if the operation was successful (false for errors)", + "type": "boolean", + }, + }, + "required": [ +