Repository navigation
Upload Without Python
Index · Team Server · Go Uploader - 2026-11-20
qasight-upload sends a CI job's test result files to a team server, like qasight ingest --server, as one small program with nothing to install: no Python, no pip, no Docker. Use it on CI images without Python (Node, Go, Java, .NET, a bare Alpine) or where installing packages is slow or not allowed. Where Python is already there, pip install qasight and qasight ingest do the same.
It only uploads. Recording, flaky detection, Compare and the UI stay on the server.
Each QASight release after 1.7.0 has the binaries attached, for Linux, macOS and Windows on amd64 and arm64, with a qasight-upload-SHA256SUMS file and a signed build provenance attestation:
curl -fsSL -o qasight-upload \
https://github.com/arieleven/qasight/releases/latest/download/qasight-upload-linux-amd64
chmod +x qasight-uploadThe file names are qasight-upload-<os>-<arch> (linux, darwin, windows with .exe; amd64, arm64). Pin a version with releases/download/v<version>/... instead of latest. To check a download: sha256sum -c --ignore-missing qasight-upload-SHA256SUMS, or gh attestation verify qasight-upload --repo arieleven/qasight. On a network with no internet, carry the file in with the closed network bundle or on its own. From a checkout: cd uploader && go build -o qasight-upload .
export TESTO_SERVER_URL=https://qasight.example.com
export TESTO_API_TOKEN=... # a CI secret
./qasight-upload --cycle web-unit 'reports/**/*.xml'Files, folders and globs work as they do for qasight ingest: JUnit XML, Playwright, Jest and Vitest JSON, .trx, go test -json output, Robot Framework output.xml, or an allure-results folder (the files directly in it). Quote a glob and qasight-upload expands it, with ** for any depth, on Windows too. The server reads what each file is from its content.
| Flag | Default | Meaning |
|---|---|---|
--server URL |
$TESTO_SERVER_URL |
The team server |
--token TOKEN |
$TESTO_API_TOKEN |
Its API token (never printed) |
--cycle NAME |
the current folder's name | Cycle to record the run under; keep it the same for the same suite |
--stage NAME, --tier TIER
|
junit, unit
|
As for qasight ingest
|
--env KEY=VALUE |
$TESTO_ENV, else os=<runner OS> in CI |
What the run tested on, repeatable |
--release NAME |
$TESTO_RELEASE, else the git tag CI builds |
The release it tested |
--repository NAME |
the CI provider's variables | owner/name |
--json (or --ci) |
off | One JSON object on stdout instead of text |
--retries N |
3 |
Retries when the server can't be reached or is busy |
--timeout DURATION |
2m |
Time allowed for each attempt |
--dry-run |
off | Print the files and fields it would send, and send nothing |
The upload carries the job's CI provenance (provider, pipeline, job, commit, branch, target branch and repository) for GitHub Actions, GitLab CI, Buildkite, CircleCI, Jenkins and Azure Pipelines, by the same rules as qasight ingest, and TESTO_AUTO_METADATA=0 turns off the OS and tag defaults the same way. --coverage is not supported; use qasight ingest --coverage for that. HTTPS_PROXY and SSL_CERT_FILE (a company CA) are honoured.
| Code | Meaning |
|---|---|
0 |
Recorded; every test passed or was skipped |
1 |
Recorded; a test failed (like the test step itself) |
2 |
Bad input: a flag, no matching file, a file over the server's limits (200 files, 20 MB each, 100 MB in all), or the server refused the upload (400, 413, 422) |
3 |
The server could not be reached, refused the token (401, 403), or failed |
4 |
Unexpected error |
With --json, stdout is one line: {"event": "ingest_uploaded", "run_id": ..., "cycle": ..., "exit_code": ..., "tests": ..., "passed": ..., "failed": ..., "skipped": ..., "run_url": ..., "server": ...}, the same event qasight ingest --server --ci prints, or {"event": "error", "code": "invalid_input" | "infra_failure", "message": ...}.
A retry never records a run twice: qasight-upload sends again only when the request did not reach the server (connection refused, DNS, TLS) or the server answered 429, 502 or 503, which mean it did nothing. It waits 2, 4, 8 seconds (plus a little jitter) or what Retry-After asks, up to a minute. A connection lost after the files were sent, or a 504, is not retried, because the server may have recorded the run; it exits 3.
GitHub Actions on a runner without Python (the QASight Action is still the richer choice where Python is fine: job summary, PR comment):
- if: always() # record failing runs too
run: |
curl -fsSL -o qasight-upload https://github.com/arieleven/qasight/releases/latest/download/qasight-upload-linux-amd64
chmod +x qasight-upload && ./qasight-upload --cycle web-unit 'reports/**/*.xml'
env:
TESTO_SERVER_URL: https://qasight.example.com
TESTO_API_TOKEN: ${{ secrets.TESTO_API_TOKEN }}GitLab CI, in any image with curl (or wget -qO):
upload-results:
stage: .post
when: always
script:
- curl -fsSL -o qasight-upload https://github.com/arieleven/qasight/releases/latest/download/qasight-upload-linux-amd64
- chmod +x qasight-upload && ./qasight-upload --cycle web-unit 'reports/**/*.xml'TESTO_SERVER_URL and TESTO_API_TOKEN go in the project's CI/CD variables (masked). Windows runners take qasight-upload-windows-amd64.exe.
The code is in uploader/: Go's standard library only, no third-party modules. It sends the same POST /api/v1/ingest request as the Python client (qasight/services/ingest_client.py), so nothing on the server changed for it. .github/workflows/uploader.yml runs go vet, the tests with the race detector and a build for every platform, and scripts/upload_binary_smoke.sh uploads with the built binary to a real qasight-api from the same commit, so a change to the ingest API that would break the uploader fails that pull request. On a published release the same workflow builds the binaries (static, CGO_ENABLED=0, version from the tag), attests them and attaches them to the release.
Generated from docs/Processes & Guides/Upload Without Python.md. Edit it there; changes made in the wiki are overwritten.
Architecture
CLI Commands
Processes & Guides
- CI-CD Pipeline Setup
- Closed Network Install
- E2E Harness Operations Guide
- GitLab Pages Demo
- Publishing Docker Images
- Publishing to Artifactory
- Publishing to PyPI
- Setup Snippets
- Shared Resource Pools
- Stability and Deprecation Policy
- Team Server
- Upload Without Python
Prompts & Snippets
Roadmap & Strategy
- Feature Gaps and Quick Wins - 2026-10-31
- New User Journey Audit - 2026-11-01
- Paid Features to Offer Free - 2026-10-31
- Product Roadmap
Specs & ADRs
- Adoption Blockers - 2026-11-12
- Affected Test Selection - 2026-10-30
- Alerts Where Developers Look - 2026-10-22
- Architecture Consolidation - 2026-10-06
- Architecture Review - 2026-10-31
- Automation and Unification - 2026-11-12
- BehaveX Reports - 2026-10-21
- Better Flaky Signal - 2026-11-01
- CLI-Only Bug Hunt - 2026-11-15
- Closed Network Install - 2026-11-15
- Closed-Network Monorepo Rollout - 2026-11-20
- Command Adapter and JUnit Import - 2026-09-25
- Config JSON Schema - 2026-10-22
- Crash Detection - 2026-10-31
- Delta Comparison Policy
- Docs Site - 2026-10-19
- Docs Vault and Wiki Sync - 2026-10-07
- Easy Setup - 2026-11-01
- Engine Fixes - 2026-11-01
- Engineering Health Review - 2026-10-31
- Exporting Results - 2026-11-01
- External Audit Tools - 2026-11-11
- Flaky Test Issues - 2026-11-01
- Flaky Test Quarantine - 2026-10-22
- Focus Review - 2026-11-20
- Free Copies of Paid Features - 2026-11-01
- GitHub Action PR Comment - 2026-10-19
- Go Uploader - 2026-11-20
- Human-Run Resource Provider - 2026-10-30
- Importer and Integration Bug Hunt - 2026-10-31
- Ingest and Team Server - 2026-10-22
- Interview Readiness Fixes - 2026-10-07
- Library Packaging
- Lifecycle Fixes - 2026-11-02
- MCP Server - 2026-11-01
- Menu by Question - 2026-11-12
- Merge and Automate - 2026-11-20
- New User Journey Automation - 2026-11-01
- Open Source Features - 2026-10-19
- OpenTelemetry Export - 2026-10-30
- Phase 3 Delta Comparison Engine Plan
- Phase 3 Unified Dashboard Plan
- Phase 4 BYOK and Failure Analysis
- Phase 5 UI Redesign - Cycles-First Navigation
- Playwright Adapter - 2026-10-19
- Playwright JSON Import - 2026-10-22
- Plug and Play - 2026-11-12
- Plugin API - 2026-10-19
- Product Roadmap Work - 2026-10-25
- Product to Ten - 2026-10-25
- Project Health - 2026-10-26
- QASight Logo - 2026-11-05
- Qualflare Follow-ups - 2026-10-26
- Quarantine From the UI - 2026-11-01
- Specs & ADRs
- Release Gate - 2026-11-12
- Release Scorecard - 2026-11-12
- Rename to QASight - 2026-11-04
- Repository Pattern - Database-Agnostic Refactor
- Resource Lifecycle Hooks - 2026-10-26
- Resource Pools and Leases - 2026-10-26
- Run Deletion and Stop - 2026-11-02
- Runner Coverage - 2026-10-26
- Scale Runs and Stages - 2026-10-24
- Scorecard on MegaLinter - 2026-11-12
- Security and Install Review - 2026-10-31
- Standards Compliance - 2026-11-12
- Switchable Team Features - 2026-10-24
- Test Delivery Metrics - 2026-11-02
- Test Labels, Environments and Releases - 2026-11-02
- Test Source in AI Summaries - 2026-11-01
- Throwaway Stage Containers - 2026-10-24
- Tidy Cards and Demo Examples - 2026-11-05
- UI Design Review - 2026-10-31
- UI Polish - 2026-11-08
- UI Restyle - 2026-10-19
- UI Review Fixes - 2026-11-01
Testing Workflows
Vault