Skip to content

refactor: replace ungh.cc calls with forges caching proxy - #3458

Draft
serhalp wants to merge 1 commit into
mainfrom
serhalp/refactor/ungh-to-forges-proxy
Draft

serhalp wants to merge 1 commit into
mainfrom
serhalp/refactor/ungh-to-forges-proxy

Conversation

@serhalp

@serhalp serhalp commented Nov 23, 2026

Copy link
Copy Markdown
Member

🔗 Linked issue

N/A

🧭 Context

Follow-up to #3332 and #3413. After those, the last remaining interactions with code forges in the npmx codebase are those that use the ungh.cc GitHub proxy. This PR addresses that.

📚 Description

TODO when the Thing Thing™️ is public

@vercel

vercel Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
docs.npmx.dev Ready Ready Preview Nov 28, 2026 2:38am UTC
npmx.dev Ready Ready Preview Nov 28, 2026 2:38am UTC
1 Skipped Deployment
Project Deployment Actions Updated
npmx-lunaria Ignored Ignored Nov 28, 2026 2:38am UTC

Request Review

@coderabbitai

coderabbitai Bot commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@socket-security

socket-security Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Added@​forges-proxy/​client@​0.1.0-alpha.3741009491100
Updatedforges@​0.3.2 ⏵ 0.4.192 +610095 +195 +2100

View full report

@github-actions

github-actions Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Lunaria Status Overview

🌕 This pull request will trigger status changes.

Learn more

By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.

You can change this by adding one of the keywords present in the tracking.ignoredKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

File Note
i18n/locales/bn-IN.json Localization changed, will be marked as complete. 🔄️
i18n/locales/cs-CZ.json Localization changed, will be marked as complete. 🔄️
i18n/locales/de.json Localization changed, will be marked as complete. 🔄️
i18n/locales/en.json Source changed, localizations will be marked as outdated.
i18n/locales/es.json Localization changed, will be marked as complete. 🔄️
i18n/locales/fr-FR.json Localization changed, will be marked as complete. 🔄️
i18n/locales/it-IT.json Localization changed, will be marked as complete. 🔄️
i18n/locales/ja-JP.json Localization changed, will be marked as complete. 🔄️
i18n/locales/ko-KR.json Localization changed, will be marked as complete. 🔄️
i18n/locales/nb-NO.json Localization changed, will be marked as complete. 🔄️
i18n/locales/ne-NP.json Localization changed, will be marked as complete. 🔄️
i18n/locales/nl.json Localization changed, will be marked as complete. 🔄️
i18n/locales/ru-RU.json Localization changed, will be marked as complete. 🔄️
i18n/locales/tr-TR.json Localization changed, will be marked as complete. 🔄️
i18n/locales/uk-UA.json Localization changed, will be marked as complete. 🔄️
Warnings reference
Icon Description
🔄️ The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.

@github-actions

github-actions Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

📊 Dependency Size Changes

Warning

This PR adds 2.8 MB of new dependencies, which exceeds the threshold of 200 kB.

📦 Package 📏 Size
valibot@1.5.0 1.9 MB
forges@0.3.2 → forges@0.4.1 760.4 kB
eventsource-parser@4.1.3 98.2 kB
@forges-proxy/client@0.1.0-alpha.3 29.1 kB

Total size change: 2.8 MB

@codecov

codecov Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 64.70588% with 6 lines in your changes missing coverage. Please review.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
server/utils/changelog/detectChangelog.ts 0.00% 2 Missing ⚠️
...hangelog/releases/[provider]/[owner]/[repo].get.ts 0.00% 1 Missing ⚠️
...eleases/[provider]/[owner]/[repo]/raw/[tag].get.ts 0.00% 1 Missing ⚠️
server/plugins/fetch-cache.ts 0.00% 0 Missing and 1 partial ⚠️
server/utils/error-handler.ts 50.00% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

}

/** The forges-proxy npmx reads GitHub through (`createForgeProvider`'s `viaProxy`). */
export const FORGES_PROXY_URL = 'https://forges-proxy-server-demo.netlify.app'

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

XXX: change this

}

/** The forges-proxy npmx reads GitHub through (`createForgeProvider`'s `viaProxy`). */
export const FORGES_PROXY_URL = 'https://forges-proxy-server-demo.netlify.app'

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

so excited

This branch was successfully deployed

2 active deployments
Preview – npmx.dev — 14faf29f Deployed Nov 28, 2026 by vercel[bot]
Preview – docs.npmx.dev — 14faf29f Deployed Nov 28, 2026 by vercel[bot]
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.

2 participants