升級後打磨:關閉未用的 variant processor 與樣式註記 - #55
Merged
Merged
Conversation
- active_storage.variant_processor = :disabled:本專案無任何 附件,消除每次 production 開機的 image_processing 提示噪音 - site.scss 補註記:U3 之後所有頁面的 body_class 都以 ! 尾綴 Tailwind 背景覆蓋此規則,bg.jpg 底圖目前不會是任何頁面的 可見背景(保留為基底 fallback)——避免後人誤以為該機制生效
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
變更內容
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