Ethsim2
(Ethan )
23 مايو 2026، 2:24م
4
يبدو أن هناك شيئين مختلفين في تلك السجلات.
قد تفسر سطور ActionView::Template::Error / Propshaft المتعلقة بملف chunk...js المفقود سبب حدوث ذلك فورًا بعد “تحديث الكل” ثم العمل في علامة تبويب جديدة. يبدو أن ذلك ناتج عن علامة تبويب قديمة تحاول تحميل اسم ملف أصول لم يعد موجودًا بعد التحديث/إعادة البناء.
أما السطر المنفصل:
NameError (uninitialized constant ReactionsSerializerHelpers) app/serializers/post_stream_serializer_mixin.rb:31:in 'PostStreamSerializerMixin#post_stream'
فيبدو أنه مشكلة discourse-reactions المضمنة التي أبلغت عنها هنا:
my Discourse version is 2026.5.0-latest.1 (fbcbdc46d8 )
I am seeing repeated /logs errors when loading topic posts. The error appears to come from the bundled discourse-reactions plugin while serializing the post stream.
The site reports the message as 8 copies reported.
I checked the compare range below, but it does not look like it touches the failing backend code path, so I am reporting this separately:
Error message from /logs
Backtrace from /logs
What appears to be happening
The er…
وقد فتحت أيضًا طلب دمج (PR) هنا:
main ← Ethsim12:fix-reactions-serializer-helpers-nameerror
opened 12:19PM - 23 May 26 UTC
Tests run:
bundle exec rubocop plugins/discourse-reactions/plugin.rb plugins/… discourse-reactions/lib/discourse_reactions/reactions_serializer_helpers.rb
ruby -c plugins/discourse-reactions/plugin.rb
ruby -c plugins/discourse-reactions/lib/discourse_reactions/reactions_serializer_helpers.rb
LOAD_PLUGINS=1 bundle exec rspec plugins/discourse-reactions/spec --exclude-pattern "plugins/discourse-reactions/spec/system/**/*_spec.rb"
Result: 183 examples, 0 failures.
I also attempted the targeted system spec locally. After installing Playwright/Chromium dependencies, the browser opened a blank page and the app did not mount (`#main.ember-application` was not found), so I treated that as a local Codespaces system-test environment issue and left full system coverage to CI.
لذلك، سأتعامل مع خطأ أصول Propshaft على أنه نتيجة محتملة لعلامة تبويب قديمة/تحديث، بينما أعتبر خطأ ReactionsSerializerHelpers مشكلة منفصلة في إضافة التفاعلات في الخلفية.
إعجاب واحد (1)