Skip to content

升級後打磨:關閉未用的 variant processor 與樣式註記 - #55

Merged
tim32503 merged 1 commit into
mainfrom
chore/post-upgrade-polish
Sep 2, 2026
Merged

tim32503 merged 1 commit into
mainfrom
chore/post-upgrade-polish

Conversation

@tim32503

@tim32503 tim32503 commented Sep 2, 2026

Copy link
Copy Markdown
Owner

變更內容

Rails 8.1 升級總驗收的兩個非阻擋觀察收尾:

  • active_storage.variant_processor = :disabled——專案無任何 Active Storage 附件,消除每次 production boot 的 image_processing 提示(production boot 實證輸出 disabled
  • site.scss 補註記:--site-bg-image 底圖自 U3 起被各頁 ! 尾綴的 Tailwind body_class 覆蓋、目前非任何頁面的可見背景(驗收已做升級前後像素比對證明一致)——防止後人誤判機制失效原因

測試確認

  • bin/rails test:222 runs, 0 failures;rubocop 0 offenses
  • production runner 實證 variant_processor=disabled

- active_storage.variant_processor = :disabled:本專案無任何
  附件,消除每次 production 開機的 image_processing 提示噪音
- site.scss 補註記:U3 之後所有頁面的 body_class 都以 ! 尾綴
  Tailwind 背景覆蓋此規則,bg.jpg 底圖目前不會是任何頁面的
  可見背景(保留為基底 fallback)——避免後人誤以為該機制生效
@tim32503 tim32503 self-assigned this Sep 2, 2026
@tim32503
tim32503 merged commit 07a0ffa into main Sep 2, 2026
4 checks passed
@tim32503
tim32503 deleted the chore/post-upgrade-polish branch September 2, 2026 02:59
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