Skip to main content
Glama

get_upload_status

Check if CI test results are ready by verifying upload processing status for a specific project, commit, or branch.

Instructions

Check if CI results have been uploaded and processed.

Use this tool to answer "are my test results ready?" after pushing code.

Parameters:

  • projectId (required): The project ID

  • sessionId (optional): Specific upload session ID for detailed status

  • commitSha (optional): Filter by commit SHA to find uploads for a specific commit

  • branch (optional): Filter by branch name

Behavior:

  • If sessionId is provided: returns detailed status with linked test runs and coverage reports

  • Otherwise: returns a list of recent upload sessions (filtered by commitSha/branch if provided)

Processing statuses:

  • "pending" — upload received, processing not started

  • "processing" — files are being parsed

  • "completed" — all files processed successfully, results are ready

  • "error" — some files failed to process

Workflow:

  1. After pushing code, call with commitSha to find the upload session

  2. Check processingStatus — if "completed", results are ready

  3. If "processing" or "pending", wait and check again

  4. Once completed, use the linked testRunIds with get_test_run_details

Returns (list mode):

  • sessions: Array of upload sessions with processing status

  • pagination: Pagination info

Returns (detail mode):

  • session: Upload session details

  • testRuns: Linked test run summaries (id, framework, pass/fail counts)

  • coverageReports: Linked coverage report summaries (id, format)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectIdYesProject ID. Use list_projects to find project IDs.
sessionIdNoSpecific upload session ID. If provided, returns detailed status for that session. Otherwise, lists recent sessions.
commitShaNoFilter sessions by commit SHA. Useful for checking if results for a specific commit are ready.
branchNoFilter sessions by branch name.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/gaffer-sh/mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server