Skip to content

fix: trim DOCKERHUB.md to stay under Docker Hub's 25KB limit#332

Merged
aliasunder merged 1 commit into
mainfrom
worktree-fix-dockerhub-truncation
Jul 15, 2026
Merged

fix: trim DOCKERHUB.md to stay under Docker Hub's 25KB limit#332
aliasunder merged 1 commit into
mainfrom
worktree-fix-dockerhub-truncation

Conversation

@aliasunder

Copy link
Copy Markdown
Owner

Summary

  • Docker Hub truncates README content at 25,000 bytes — the current DOCKERHUB.md is 25,288 bytes, cutting off the Deployment Options table mid-row (AWS/SST guide link is unreadable)
  • Excludes four verbose prose sections (How It Works, Hybrid Search, Memory, Tasks) from the generated output — these are already covered by the feature bullet list, which links to each section on GitHub
  • Output drops from 25,288 → 19,983 bytes (~5KB of headroom for future growth)

Test plan

  • npm run generate:dockerhub-readme reports 19,983 bytes (under 25,000 limit, under 24,000 warning threshold)
  • Template drift tests pass (npm test -- --run templates)
  • Build passes
  • After merge + next release: verify Deployment Options table renders fully on Docker Hub

🤖 Generated with Claude Code

Exclude How It Works, Hybrid Search, Memory, and Tasks prose sections
from the generated DOCKERHUB.md. These are already covered by the
feature bullet list which links to each section on GitHub. Brings the
output from 25,288 bytes (truncated mid-table) to 19,983 bytes.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - I've reviewed your changes and they look great!


Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@umm-actually

umm-actually Bot commented Jul 15, 2026

Copy link
Copy Markdown

PR Code Suggestions ✨

No code suggestions found for the PR.

@aliasunder aliasunder merged commit 4c5b355 into main Jul 15, 2026
17 checks passed
@aliasunder aliasunder deleted the worktree-fix-dockerhub-truncation branch July 15, 2026 02:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant