Skip to content

fix(bot): strip Forge-Space references — org wound down - #759

Merged
LucasSantana-Dev merged 9 commits into
mainfrom
fix/strip-forge-space-refs
Apr 22, 2026
Merged

LucasSantana-Dev merged 9 commits into
mainfrom
fix/strip-forge-space-refs

Conversation

@LucasSantana-Dev

Copy link
Copy Markdown
Owner

Summary

  • Forge-Space org was wound down 2026-04-20
  • Two live Lucky references to dead Forge-Space resources fixed
  • AiDevToolkitService.GITHUB_REPO → correct repo location (LucasSantana-Dev/ai-dev-toolkit)
  • serversetup welcome embed → replaced with generic Lucky-branded welcome (no external links to dead domains)
  • All channel topics and audit log reasons updated to remove Forge Space branding

Test plan

  • npm run type:check --workspace=packages/bot passes
  • npm run test:bot passes (2784 tests)
  • AiDevToolkitService URL no longer references dead Forge-Space org
  • /serversetup welcome embed has no Forge-Space or forgespace.co references
  • All channel topics are generic/Lucky-branded

Verification

  • Grep confirms zero remaining Forge-Space/Forge Space/forgespace/siza.forgespace references in src/

LucasSantana-Dev and others added 3 commits April 20, 2026 23:08
Losslessly shrink every raster and vector asset (oxipng --strip safe,
svgo --multipass, magick -quality 85) and emit a .webp alternate for
each PNG/JPG so `<picture>` tags can serve them to modern browsers.

Savings: PNG −4.45 MB (−32%), JPG −56 KB (−30%), SVG −2 KB (−9%);
27 MB assets tree → 25 MB with all originals intact.

- scripts/compress-assets.sh: deterministic pipeline (skips .webp/.gif/.pbm)
- README.md: `<picture>` fallback for social preview
- compress-assets skill documented under ~/.claude/skills/

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
- Drop `oxipng --alpha` (non-idempotent on some inputs) in favor of
  `--strip safe`, plus a backup/revert guard so oxipng output that is
  larger than the source is rolled back.
- Stop silently swallowing oxipng / cwebp failures with `|| true`; now
  surface a warning and leave the original intact.
- Extract `emit_webp`: only keep the .webp sibling when it's actually
  smaller than the (post-optimization) source, matching the JPG guard.
- Correct header comments — no mozjpeg/jpegoptim fallback, webp kept
  only when smaller.

Re-run is idempotent: PNG -0, SVG -0, JPG -0.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Applies the same lossless pipeline to packages/frontend/public/:
- favicon.png  77 575 → 59 503 B (−23 %)
- lucky-logo.png 77 575 → 59 503 B (−23 %)
- favicon.svg   1 978 → 1 200 B (−39 %)
- 2 new .webp siblings (12.3 KB total) served by any <picture> consumers

Served at runtime by the React dashboard (Landing, Login) and shipped
to browsers on every session start, so this saves bytes on the critical
path. React components still reference the .png paths directly; the
.webp siblings are opt-in via <picture> and can be wired up later.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@LucasSantana-Dev
LucasSantana-Dev enabled auto-merge (squash) April 21, 2026 02:11
@vercel

vercel Bot commented Apr 21, 2026 •

Copy link
Copy Markdown
Contributor

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

Project Deployment Actions Updated (UTC)
lucky Ready Ready Preview, Comment Apr 22, 2026 2:31am

Request Review

@coderabbitai

coderabbitai Bot commented Apr 21, 2026 •

Copy link
Copy Markdown

Warning

Rate limit exceeded

@LucasSantana-Dev has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 21 minutes and 33 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 21 minutes and 33 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: e0d3231f-0fcb-483d-8444-cd7bcee4cc5e

📥 Commits

Reviewing files that changed from the base of the PR and between fcf5671 and 891c52a.

⛔ Files ignored due to path filters (25)
  • assets/8c17a624-8a54-4bf0-8614-240091b2b63a.png is excluded by !**/*.png
  • assets/Gemini_Generated_Image_udmhrpudmhrpudmh.png is excluded by !**/*.png
  • assets/criativaria-banner.png is excluded by !**/*.png
  • assets/discord-discovery-media/2026-03/final/01-auth-control.png is excluded by !**/*.png
  • assets/discord-discovery-media/2026-03/final/02-server-management.png is excluded by !**/*.png
  • assets/discord-discovery-media/2026-03/final/03-feature-suite.png is excluded by !**/*.png
  • assets/discord-discovery-media/2026-03/v2/01-auth-dashboard.png is excluded by !**/*.png
  • assets/discord-discovery-media/2026-03/v2/02-server-management.png is excluded by !**/*.png
  • assets/discord-discovery-media/2026-03/v2/03-feature-suite.png is excluded by !**/*.png
  • assets/lucky-banner.jpg is excluded by !**/*.jpg
  • assets/lucky-banner.png is excluded by !**/*.png
  • assets/lucky-bot-banner.png is excluded by !**/*.png
  • assets/lucky-logo.png is excluded by !**/*.png
  • assets/lucky-logo.svg is excluded by !**/*.svg
  • assets/lucky-social-preview.png is excluded by !**/*.png
  • assets/lucky-verified-announcement.png is excluded by !**/*.png
  • assets/outline-layer-all.svg is excluded by !**/*.svg
  • assets/outline-layer-gold.svg is excluded by !**/*.svg
  • assets/outline-layer-mid.svg is excluded by !**/*.svg
  • assets/outline-v1-512.png is excluded by !**/*.png
  • assets/outline-v1-thin-hires.png is excluded by !**/*.png
  • assets/outline-v4-neon.jpeg is excluded by !**/*.jpeg
  • packages/frontend/public/favicon.png is excluded by !**/*.png
  • packages/frontend/public/favicon.svg is excluded by !**/*.svg
  • packages/frontend/public/lucky-logo.png is excluded by !**/*.png
📒 Files selected for processing (21)
  • README.md
  • assets/8c17a624-8a54-4bf0-8614-240091b2b63a.webp
  • assets/Gemini_Generated_Image_udmhrpudmhrpudmh.webp
  • assets/criativaria-banner.webp
  • assets/discord-discovery-media/2026-03/final/01-auth-control.webp
  • assets/discord-discovery-media/2026-03/final/02-server-management.webp
  • assets/discord-discovery-media/2026-03/final/03-feature-suite.webp
  • assets/discord-discovery-media/2026-03/v2/01-auth-dashboard.webp
  • assets/discord-discovery-media/2026-03/v2/02-server-management.webp
  • assets/discord-discovery-media/2026-03/v2/03-feature-suite.webp
  • assets/lucky-banner.webp
  • assets/lucky-bot-banner.webp
  • assets/lucky-logo.webp
  • assets/lucky-social-preview.webp
  • assets/lucky-verified-announcement.webp
  • assets/outline-v1-512.webp
  • assets/outline-v1-thin-hires.webp
  • assets/outline-v4-neon.webp
  • packages/frontend/public/favicon.webp
  • packages/frontend/public/lucky-logo.webp
  • scripts/compress-assets.sh
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/strip-forge-space-refs

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

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

@github-actions

github-actions Bot commented Apr 21, 2026 •

Copy link
Copy Markdown

Size Change: 0 B

Total Size: 362 kB

ℹ️ View Unchanged
Filename Size
packages/frontend/dist/assets/ActionPanel-BZfj_oAQ.js 399 B
packages/frontend/dist/assets/api-BL_bTfJV.js 3.36 kB
packages/frontend/dist/assets/authStore-Bz4Vbn2f.js 558 B
packages/frontend/dist/assets/AutoMessages-CWvkqAq4.js 2.68 kB
packages/frontend/dist/assets/AutoMod-BE8WgsHd.js 4.09 kB
packages/frontend/dist/assets/badge-CAg46NEB.js 501 B
packages/frontend/dist/assets/Card-ChnzDUrq.js 455 B
packages/frontend/dist/assets/CommandsConfig-DfIMneCQ.js 1.47 kB
packages/frontend/dist/assets/Config-TJgR1hIb.js 1.7 kB
packages/frontend/dist/assets/CustomCommands-DOjg1Osw.js 2.16 kB
packages/frontend/dist/assets/DashboardOverview-DGt1Vf_R.js 3.39 kB
packages/frontend/dist/assets/dialog-BFdvqzhi.js 948 B
packages/frontend/dist/assets/EmbedBuilder-ysYZqGKI.js 3.34 kB
packages/frontend/dist/assets/Features-BOC8ufkg.js 2.86 kB
packages/frontend/dist/assets/GuildAutomation-DCQmTonN.js 2.92 kB
packages/frontend/dist/assets/guildStore-CUprTwyc.js 795 B
packages/frontend/dist/assets/index--FqApWCS.css 16.2 kB
packages/frontend/dist/assets/index-DRVzQSiM.js 50.5 kB
packages/frontend/dist/assets/input-B2B70Afe.js 463 B
packages/frontend/dist/assets/label-BW-xnETp.js 489 B
packages/frontend/dist/assets/Landing-CWKi7Lre.js 3.59 kB
packages/frontend/dist/assets/LastFm-CXiIfTTw.js 1.74 kB
packages/frontend/dist/assets/Levels-CFAGWRVn.js 2.63 kB
packages/frontend/dist/assets/Login-nMB1jCcr.js 2.5 kB
packages/frontend/dist/assets/Lyrics-BQtk2X5R.js 1.34 kB
packages/frontend/dist/assets/Moderation-Bn2TkAzP.js 3.85 kB
packages/frontend/dist/assets/Music-DMZOI89T.js 7.1 kB
packages/frontend/dist/assets/MusicConfig-CZt1HFLh.js 1.61 kB
packages/frontend/dist/assets/PreferredArtists-CmbDQpBG.js 3.7 kB
packages/frontend/dist/assets/PrivacyPolicy-FGxBiThm.js 1.38 kB
packages/frontend/dist/assets/ReactionRoles-Bq8IoMax.js 1.89 kB
packages/frontend/dist/assets/rolldown-runtime-BYbx6iT9.js 471 B
packages/frontend/dist/assets/SectionHeader-DFaPE-Wz.js 383 B
packages/frontend/dist/assets/select-RXSUpVQr.js 1.23 kB
packages/frontend/dist/assets/ServerLogs-CSAwFJKg.js 2.91 kB
packages/frontend/dist/assets/ServerSettings-CEMy6Cup.js 4.22 kB
packages/frontend/dist/assets/ServersPage-DeCWYllt.js 2.92 kB
packages/frontend/dist/assets/shim-lekosUrx.js 509 B
packages/frontend/dist/assets/Skeleton-BXVdRWw_.js 234 B
packages/frontend/dist/assets/Spotify-9sjjPDED.js 1.75 kB
packages/frontend/dist/assets/Starboard-DAY3JUsp.js 2.08 kB
packages/frontend/dist/assets/StatTile--JKqTr_E.js 603 B
packages/frontend/dist/assets/switch-BrSUprod.js 541 B
packages/frontend/dist/assets/TermsOfService-l_BYCXiO.js 1.37 kB
packages/frontend/dist/assets/TrackHistory-CHc1y_3X.js 2.17 kB
packages/frontend/dist/assets/TwitchNotifications-DJJWwcLK.js 2.45 kB
packages/frontend/dist/assets/usePageMetadata-DSy5BFWn.js 330 B
packages/frontend/dist/assets/utils-C1a-f-au.js 145 B
packages/frontend/dist/assets/vendor-forms-CdqfM_vI.js 25.4 kB
packages/frontend/dist/assets/vendor-radix-BLJl2XeP.js 38.9 kB
packages/frontend/dist/assets/vendor-react-CM1lAMeX.js 55.6 kB
packages/frontend/dist/assets/vendor-state-YvEV5drJ.js 22.2 kB
packages/frontend/dist/assets/vendor-ui-wEQnZZ2i.js 64.6 kB

compressed-size-action

@sonarqubecloud

Copy link
Copy Markdown

@LucasSantana-Dev
LucasSantana-Dev merged commit 77556b8 into main Apr 22, 2026
13 checks passed
LucasSantana-Dev added a commit that referenced this pull request May 13, 2026
* chore(assets): compress PNG/SVG + generate WEBP siblings

Losslessly shrink every raster and vector asset (oxipng --strip safe,
svgo --multipass, magick -quality 85) and emit a .webp alternate for
each PNG/JPG so `<picture>` tags can serve them to modern browsers.

Savings: PNG −4.45 MB (−32%), JPG −56 KB (−30%), SVG −2 KB (−9%);
27 MB assets tree → 25 MB with all originals intact.

- scripts/compress-assets.sh: deterministic pipeline (skips .webp/.gif/.pbm)
- README.md: `<picture>` fallback for social preview
- compress-assets skill documented under ~/.claude/skills/

* fix(compress-assets): address CodeRabbit review

- Drop `oxipng --alpha` (non-idempotent on some inputs) in favor of
  `--strip safe`, plus a backup/revert guard so oxipng output that is
  larger than the source is rolled back.
- Stop silently swallowing oxipng / cwebp failures with `|| true`; now
  surface a warning and leave the original intact.
- Extract `emit_webp`: only keep the .webp sibling when it's actually
  smaller than the (post-optimization) source, matching the JPG guard.
- Correct header comments — no mozjpeg/jpegoptim fallback, webp kept
  only when smaller.

Re-run is idempotent: PNG -0, SVG -0, JPG -0.

* chore(frontend): compress public/ images with compress-assets

Applies the same lossless pipeline to packages/frontend/public/:
- favicon.png  77 575 → 59 503 B (−23 %)
- lucky-logo.png 77 575 → 59 503 B (−23 %)
- favicon.svg   1 978 → 1 200 B (−39 %)
- 2 new .webp siblings (12.3 KB total) served by any <picture> consumers

Served at runtime by the React dashboard (Landing, Login) and shipped
to browsers on every session start, so this saves bytes on the critical
path. React components still reference the .png paths directly; the
.webp siblings are opt-in via <picture> and can be wired up later.

---------

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@LucasSantana-Dev
LucasSantana-Dev deleted the fix/strip-forge-space-refs branch May 14, 2026 02:03

This branch was successfully deployed

1 active deployment
Preview — 891c52ad Deployed Apr 22, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant