Starting a session is not available yet
The box at the top of Runs is there, and it is switched off. The text area, the repository menu under it and Start session are all greyed out, and the line under the box reads Sessions cannot be started yet. Nothing on the screen changes that, and it is the same for every member and admin of every organisation. If no repository is connected, Runs says Connect a repository first instead of showing the box. If repositories are connected but all of them are disabled, it says No repository can be reached. Either way, ask an admin of your organisation: connecting a repository can be done today, takes a few minutes and needs one. If the repositories cannot be loaded at all, you get the reason and a Try again button in place of the box. Once a repository is connected, the list reads No sessions yet until sessions can be started.Sessions waiting on you come first
The rest of this page describes the list as it reads once it holds sessions. Two kinds of session need a person.- Paused sessions stopped because something has to be decided. The row says why, in words, under the title. When no reason was recorded it says No reason was given.
- Ready for review sessions have finished and are waiting for you to look.
What each status means
Each row also shows the repository and the time the session was started, in your browser’s time zone.
The list keeps itself up to date
Leave Runs open and it asks for the list again every few seconds, and less often once you have loaded more than two pages. When a session’s status changes, its row changes in place, with no reload and nothing to press. While the tab is in the background it waits, and it catches up when you come back. If a refresh fails, the list you had stays on screen and a line above it says These may be out of date. The last refresh failed. It tries again on its own. If the list cannot be loaded at all, you get the reason and a Try again button.Narrowing the list
Two menus sit above the list.- Status shows one status, or all of them.
- Repository shows the sessions of one connected repository, or all of them.
From the API
These calls are available to any member of the organisation and need a signed-in session, as in your first API call. List sessions, waiting ones first:Response
waiting counts every session waiting on a person, whatever the page was filtered to.
nextCursor is null on the last page.
Starting a session from the API is not available yet either.
POST /sessions answers 403 with code forbidden and the message Sessions cannot be started yet., whatever is sent and whoever sends it.
To check from a program, read canStartSessions on the projects list:
false while sessions cannot be started.
Read one session, as it is now:
404 with code not_found when the session is not your organisation’s.
See the error shape for the rest.