Skip to content

[codex] fix Ahrefs image and sitemap issues#716

Merged
riderx merged 4 commits into
mainfrom
codex/fix-ahrefs-report
May 23, 2026
Merged

[codex] fix Ahrefs image and sitemap issues#716
riderx merged 4 commits into
mainfrom
codex/fix-ahrefs-report

Conversation

@riderx
Copy link
Copy Markdown
Member

@riderx riderx commented May 23, 2026

Summary:

  • restore the broken blog image references and add asset aliases for every missing filename from the Ahrefs image report
  • exclude the noindex iOS UDID result page from generated sitemaps
  • serve the current docs logo when stale hashed docs logo URLs are requested

Checks:

  • bun run check
  • bun run build
  • bun run build:after

Search note:

  • I checked git history, local project/download/Desktop/Trash/iCloud paths, archives, Cursor history, and Wayback. The exact missing image files were not present, but the related local site images existed under different names, so this PR restores the image slots by adding those filenames back as assets instead of deleting the references.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 23, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: ee24f420-76ca-42e0-b2e5-6c66bee1921d

📥 Commits

Reviewing files that changed from the base of the PR and between 18fb240 and 82e8496.

📒 Files selected for processing (32)
  • apps/docs/src/worker/index.ts
  • apps/translation-worker/src/index.ts
  • apps/web/public/android-studio-bolt-project.webp
  • apps/web/public/android-studio-lovable-project.webp
  • apps/web/public/bolt-android-app.webp
  • apps/web/public/bolt-app-assets.webp
  • apps/web/public/bolt-app-running.webp
  • apps/web/public/bolt-build-output.webp
  • apps/web/public/bolt-ios-app.webp
  • apps/web/public/bolt-native-features.webp
  • apps/web/public/bolt-package-json.webp
  • apps/web/public/bolt-project-files.webp
  • apps/web/public/bolt-vite-build.webp
  • apps/web/public/capacitor-init-bolt.webp
  • apps/web/public/capacitor-init-lovable.webp
  • apps/web/public/capacitor-live-reload-bolt.webp
  • apps/web/public/capacitor-live-reload.webp
  • apps/web/public/capacitor-platforms-added.webp
  • apps/web/public/capacitor-platforms-bolt.webp
  • apps/web/public/capacitor-sync-bolt.webp
  • apps/web/public/capacitor-sync-complete.webp
  • apps/web/public/lovable-android-app.webp
  • apps/web/public/lovable-app-assets.webp
  • apps/web/public/lovable-app-running.webp
  • apps/web/public/lovable-ios-app.webp
  • apps/web/public/lovable-native-features.webp
  • apps/web/public/lovable-static-export.webp
  • apps/web/public/xcode-bolt-project.webp
  • apps/web/public/xcode-lovable-project.webp
  • apps/web/src/content/blog/en/transform-bolt-new-app-to-mobile-with-capacitor.md
  • apps/web/src/content/blog/en/transform-lovable-dev-app-to-mobile-with-capacitor.md
  • scripts/repair_sitemap.tsx

📝 Walkthrough

Walkthrough

This PR updates asset handling, sitemap filtering, cache versioning, and blog metadata. The docs worker now falls back to /capgo_logo.webp when hashed Capgo logo assets return 404. The sitemap repair script filters excluded paths during normalization. The translation cache version is bumped, and two blog post timestamps are updated.

Changes

Sitemap and Assets Update

Layer / File(s) Summary
Stale Capgo logo asset fallback handling
apps/docs/src/worker/index.ts
Adds isStaleCapgoLogoAsset detection and capgoLogoFallback function to serve /capgo_logo.webp from env.ASSETS when requests for hashed Capgo logo paths resolve to 404.
Sitemap path filtering and normalization
scripts/repair_sitemap.tsx
Defines EXCLUDED_SITEMAP_PATHS, implements isAllowedSitemapUrl filter that normalizes and checks pathnames against exclusions, and refactors normalizeSitemap to apply filtering during URL extraction.
Translation cache version bump
apps/translation-worker/src/index.ts
Updates TRANSLATION_CACHE_VERSION to 2026-05-23-ahrefs-sitemap-assets-v1, affecting cache key generation and exported test value.
Blog post metadata updates
apps/web/src/content/blog/en/transform-bolt-new-app-to-mobile-with-capacitor.md, apps/web/src/content/blog/en/transform-lovable-dev-app-to-mobile-with-capacitor.md
Updates updated_at frontmatter timestamps to 2026-05-23T12:40:00.000Z in both blog posts.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Possibly related PRs

  • Cap-go/website#645: Modifies apps/translation-worker/src/index.ts alongside updates to TRANSLATION_CACHE_VERSION and translation meta-description expansion logic.
  • Cap-go/website#644: Updates apps/translation-worker/src/index.ts with TRANSLATION_CACHE_VERSION changes and URL/link rewrite logic modifications.
  • Cap-go/website#620: Modifies apps/translation-worker/src/index.ts including TRANSLATION_CACHE_VERSION updates.
🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the main changes: fixing Ahrefs-reported image issues and sitemap problems across multiple files (docs worker, translation worker, blog timestamps, and sitemap repair script).
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch

Warning

There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure.

🔧 ESLint

If the error stems from missing dependencies, add them to the package.json file. For unrecoverable errors (e.g., due to private dependencies), disable the tool in the CodeRabbit configuration.

ESLint skipped: no ESLint configuration detected in root package.json. To enable, add eslint to devDependencies.


Comment @coderabbitai help to get the list of available commands and usage tips.

@riderx riderx marked this pull request as ready for review May 23, 2026 13:13
@chatgpt-codex-connector
Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@riderx riderx marked this pull request as draft May 23, 2026 13:34
@riderx riderx marked this pull request as ready for review May 23, 2026 14:03
@chatgpt-codex-connector
Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@sonarqubecloud
Copy link
Copy Markdown

@riderx riderx merged commit a38259f into main May 23, 2026
9 checks passed
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