Recover when a CI deploy step cannot read the checks
If proofline ci deploy exits 4, open the step log and read the last error. It tells you whether a request to Proofline failed or GitHub Actions could not issue the OIDC token needed to renew the job's credential. If renewal was refused, the step exits 1.
These errors stop the reader. They do not stop Proofline from recording the deploy's checks. Once the service is reachable or the job has access again, read the same deploy from a later pipeline run.
A request to Proofline failed#
After a successful deploy read, the step retries transient failures such as a connection error or a 5xx response. A retry line looks like this:
Reading the deploys of REPOSITORY at SHA failed: https://proofline.sh returned HTTP 502: Bad Gateway; checking again in N seconds.
If the first deploy read fails this way, the step exits 4 and prints the error. After a successful read, it exits 4 after five failed reads in a row. A successful read resets the count.
proofline: https://proofline.sh returned HTTP 502: Bad Gateway
proofline: 5 reads in a row failed: https://proofline.sh returned HTTP 502: Bad Gateway
If the log says it could not reach the Proofline address, check that the runner can reach that address. If Proofline returned a 5xx, try the read again when it responds.
GitHub Actions could not issue the OIDC token#
During a long wait using GitHub Actions identity, the step renews its credential. If the GitHub OIDC issuer cannot be reached or returns a 5xx, the step counts the renewal failure as a failed read and tries again on its next poll. The last line names GitHub Actions and the OIDC token if those failures make the step exit 4.
proofline: 5 reads in a row failed: could not renew this job's credential: GitHub Actions could not issue the job's OIDC token with HTTP 502 Bad Gateway
Retry the read when GitHub Actions can issue the token again.
Renewal was refused#
A refusal from the GitHub OIDC issuer or Proofline's credential exchange ends the step immediately with exit 1. This is an example of a GitHub refusal:
proofline: could not renew this job's credential: GitHub Actions refused to issue the job's OIDC token with HTTP 403 Forbidden
Check that the job that ran has id-token: write and that the repository is enabled in a GitHub App installation connected to the intended Proofline organization. Check the workflow identity and repository connection. Retry the read after correcting the condition that caused the refusal.