Loading…
Topic
GitLab
6 posts about GitLab. Every summary links to the original.
- 6 posts
- 5 companies
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
Newest first
Posts
tongs: Unified code review for GitHub & GitLab in your terminal
The tongs tool unifies code review from GitHub, GitLab, and self-hosted instances into a single terminal inbox by scanning repos already cloned on disk and reading their Git remotes. It uses existing gh and glab command-line logins, never stores tokens, and requires no configuration beyond a working authentication for at least one forge. Users can read syntax-highlighted diffs, leave inline comments, suggest changes with the forge’s suggestion format, and inspect CI pipeline logs, all without opening a browser. A review mode collects comments into a local draft tied to the exact revision, preventing notifications until submission and surviving crashes via a SQLite database. An optional MCP server gives AI assistants read-only access to the same inbox, with tools for listing, viewing diffs, commenting, and approving, but deliberately excludes merge and close operations.
How one quadratic webhook handler pinned our autoscaler at its ceiling
Our Control RPC deployment normally runs 32 pods but scaled to 256 for hours, an 8x increase against 2x more traffic. The KEDA autoscaler’s P95 busyness target caused infinite scaling because adding pods does not reduce the busiest pod’s metric, analogous to hiring lemonade-stand helpers when any helper looks busy. Raising the target by 15 percent and switching to P75 helped only slightly; the pod count stayed near ceiling during peaks. The root cause was three bugs in the GitLab integration: a grouping error, a race condition, and an N-squared lookup loop that turned each webhook into millions of internal RPC calls across the silo boundary. After patching, the average pod count dropped from 150 to 42, a 72 percent reduction, but the autoscaler still spirals when the P75 busyness metric is restored.
Top Version Control Tools: What the Data Shows
The JetBrains Developer Ecosystem Report 2026 shows that 90.7% of developers regularly use Git, while Subversion has fallen to 5.9%. GitHub leads code hosting with 85.1% for personal projects and 56.0% at work, but GitLab’s workplace share of 31.3% is more than double its personal-project figure. Bitbucket experienced statistically significant declines, dropping from 13.7% to 9.1% at work and from 6.2% to 3.0% for personal projects. For game development teams, Perforce and Unity Version Control appear at 4.3% and 6.7% respectively, serving workflows with large binary assets. The report notes that platform choice should consider integration with CI/CD, code review, and existing tools rather than popularity alone.
Taming the monorepo beast: Our journey to a leaner, faster GitLab repo
Grab’s decade-old Go monorepo grew to 12.7 million commits, 73GB of Git-tree metadata, 176GB of blobs, 12 million references, and 444,000 files, causing replication lag, slow developer workflows, and GitLab operational bottlenecks. A staging proof of concept compared full and single-commit histories under production-like load: replication delay fell from 160–240 seconds to 1–2.5 seconds, nearly a 100x improvement. Because custom migration tooling processed about 100 commits per hour, the team retained commits reachable from more than 2,000 critical tags, one month of recent history, and simplified merge commits, while archiving older history. The resulting prune reduced commits by 99.9%, improved replication performance by 99%, preserved code and tags without data loss, and left teams with minor migration adjustments.
Facilitating Docs-as-Code implementation for users unfamiliar with Markdown
Grab introduced a rich-text, WYSIWYG editor in its TechDocs portal to help non-engineering contributors work within a Docs-as-Code process despite limited familiarity with Markdown and GitLab. The editor keeps GitLab as the central storage system, uses Lexical to import and export Markdown, and supports page reordering, renaming, deletion, formatting, diagrams, and switching between normal and Markdown views. Three user journeys cover editing existing TechDocs and creating stand-alone or entity-linked documentation, with GitLab OAuth2, merge-request creation, repository access checks, and scheduler-based entity-catalog registration after merges. A phased rollout added drafts, image uploads, diagram integrations, concurrent-session visibility, and live preview, while pending-MR displays and conflict-resolution tools address collaboration risks.
Continuous Deployment with GitLab
The guide shows how to set up continuous deployment from GitLab CI/CD to a Fly application, using the small Go hellofly example. GitLab supplies the repository contents to a Runner defined by the golang:1.13 image, while a before_script installs curl and downloads flyctl through Fly’s installation script. A deploy job then runs flyctl deploy, which builds and deploys the application from a committed fly.toml file. Authentication is configured by obtaining a token with flyctl auth token and storing it as a protected, masked FLY_API_TOKEN CI/CD variable in the repository settings. After .gitlab-ci.yml is committed and pushed, GitLab starts the deployment job, while the guide notes that more advanced pipeline structures and triggers remain available.
Related topics
All topics →Weekly digest
The best engineering reads, once a week.