Skip to content

Fix github.com blob image URLs in fetched markdown#31

Merged
perkops merged 2 commits into
mainfrom
feature/updates
Apr 28, 2026
Merged

Fix github.com blob image URLs in fetched markdown#31
perkops merged 2 commits into
mainfrom
feature/updates

Conversation

@perkops

@perkops perkops commented Apr 28, 2026

Copy link
Copy Markdown
Member

Summary

  • Fix broken images in repo READMEs and docs pulled from GitHub
  • Affects pages like Manuals -> DevOps Playbook
  • Targets only tags using github.com/.../blob/... URLs

Changes

🐛 Fixes

- Markdown <img> tags pointing at github.com/{owner}/{repo}/blob/...
  serve the HTML web view, not the image bytes, and silently fail to
  render
- Rewrite them to raw.githubusercontent.com so embedded images in
  fetched markdown (e.g. atc-docs DevOps Playbook) load correctly
@perkops perkops requested a review from davidkallesen April 28, 2026 10:35
- Remove HaveCountGreaterThan(1) and NotBeEmpty() from the three
  GetIssues* tests; they coupled to live upstream issue counts and
  failed when the atc repo was down to 1 issue
- Keep success and not-null checks so the tests still verify the
  client contract without depending on data shape
@sonarqubecloud

Copy link
Copy Markdown

@perkops perkops merged commit 19073f9 into main Apr 28, 2026
6 checks passed
@perkops perkops deleted the feature/updates branch April 28, 2026 10:54
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