Repository navigation
GitLab author pictures: ask about a pushed commit, survive slow servers (1.1.2) - #2
Merged
Merged
Conversation
- Ask GitLab about the author's newest pushed non-merge commit (local-only commits and merges are unknown to GitLab), then the commit shown - GraphQL gets 15 s; timeouts, 5xx and 429 fall back to the public-email lookup instead of "offline" - Network trouble answers 503 + Retry-After and the page asks again (up to 3 tries) instead of keeping initials for good - LOOKUP_VERSION 3: misses cached by 1.1.1 are asked again - Version 1.1.2; README and TESTING.md updated; tests for all of the above Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
With 1.1.1, GitLab repositories could still show initials only.
Causes
Fix
git log --remotes --no-merges --author=<email>, about 70 ms), then about the commit shown.503withRetry-After, and the page asks again (up to 3 tries).LOOKUP_VERSIONis now 3, so "no picture" answers cached by 1.1.1 are asked again.Tests
🤖 Generated with Claude Code