Repository navigation
Conversation
release-stats also writes desktop-platform-totals.csv: Linux (GitHub .deb, .AppImage, .rpm, .freebsd plus Flathub installs since the release day), macOS (.dmg, .zip) and Windows (.exe) for the latest stable release.
The mau job merges each Play Console MAU export dropped into its inbox into a daily history and posts last month once its last day is in, with the change on the month before; from the 10th it posts a reminder until then. A job may now watch a glob under its state directory: a matching file starts it through a session-ops@<job>.path unit.
Desktop has no active-user count, so the post lists the latest stable release's downloads per platform and adds them to Android's MAU for the total. The timer moves to 11:00, an hour clear of the queue's posts.
The monthly post is now the one place Desktop downloads are counted, so release-stats and its per-release CSVs go.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Usage figures per platform, and one monthly post with each platform and a total.
iOS is not in yet. App Store Connect's App Sessions report counts unique devices per row (app version × device × OS × territory × source), so summing rows may count a device twice; it follows on this branch once a month's sum is checked against the App Analytics website's figure.
Desktop: in the
maupost, andrelease-statsremoved.deb,.AppImage,.rpm,.freebsd, plus Flathub installs since the release day), macOS (.dmg,.zip), Windows (.exe). Desktop has no active-user count..debon its own servers, so its installs are not already in GitHub's counts. Homebrew's cask downloads the GitHub.dmg, so it is left out.release-statsand its on-demand per-release CSVs are gone: the monthly post is the one place Desktop downloads are counted. On the host,/var/lib/session-ops/release-stats/is left for whoever wants its last CSVs.Android: new
maujobrsyncs it into/var/lib/session-ops/mau/inbox/.history.json, so exports can overlap or cover any range; a later export wins and the post lists any revised day. Unreadable files go torejected/and fail the run.watchinjobs.tomlsession-ops unitswrites asession-ops@<job>.pathdrop-in (PathExistsGlob=), andinstall.shcreates the inbox owned by the job's account and enables the path unit for ready jobs.Deploy
/etc/session-ops/mau.env:MAU_DISCORD_WEBHOOK_URL, andMAU_INBOX_HOSTfor the reminder'srsynccommand. The job stays disabled until the file has content.Tests:
uv run --locked python -m unittest discover -s tests -t .(807 OK),ruff check .clean.