mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-12-02 09:03:37 +01:00
Handlers that resolve an anonymized repository, pull request or gist now put its public ID on the log context, so request, job and error records carry repoId, pullRequestId or gistId. The signed-in user's internal _id (userId) is recorded on account routes. On routes that serve anonymized content, userId is kept only when the user owns, co-authors or administers the project; otherwise the record carries viewer "visitor" or "anonymous" and no userId. The collector, the Redis mirror and the admin log APIs apply the same rule. Jobs carry repoId and the owner's userId stamped at enqueue time. The admin Errors page links repoId to the admin repository search and userId to the admin user page, which now accepts a user _id. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>