Introduzione di asset JS precompilati per self-hoster

No, il tag v3.6.0.beta1 (commit d63a243)

1 Mi Piace

Fantastico, grazie!

Penso che questo dovrebbe risolvere il problema:

Una volta unito, proverò a innescare manualmente il flusso di lavoro per d63a243

2 Mi Piace

Quindi stavo puntando al tag beta, a mia insaputa.

Grazie!!!

1 Mi Piace

Gli asset pubblicati sono indicizzati per hash di commit. Quindi sì, al momento il tag v3.6.0.beta1 è associato allo stesso commit di beta e anche di latest-release. Questa correzione dovrebbe gestire tutti questi :ok_hand:

1 Mi Piace

Gli asset per d63a2431 sono ora attivi: Release v3.6.0.beta1-d63a2431 · discourse/discourse-assets · GitHub

2 Mi Piace

Ho di nuovo lo stesso problema :sob:
Forse sto puntando al commit sbagliato?

Fetching and extracting https://get.discourse.org/discourse-assets/2025.11.0-75d61b40/production.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100     9  100     9    0     0     25      0 --:--:-- --:--:-- --:--:--    25
curl: (22) The requested URL returned error: 404
[assemble_ember_build] Failed to download prebuilt assets: Command failed with exit 22: curl
3 Mi Piace

A quale tag stai puntando?

v2025.11.0 o commit 75d61b40ee928a4620b16f5438ca886678fab00d

discourse@testbeta:/var/www/discourse$ git checkout v2025.11.0
HEAD is now at 75d61b40ee DEV: Bump version on `release/2025.11` to `v2025.11.0` (#36251)
discourse@testbeta:/var/www/discourse$ RAILS_ENV=production bundle exec rake assets:precompile
[assemble_ember_build] Existing build is not reusable.
- Existing: {"ember_env"=>"production", "core_tree_hash"=>"deca4dcdbe7b705aac0d05212bbbe4b1b949d003"}
- Current: {"ember_env"=>"production", "core_tree_hash"=>"063db9253029db5919e776f30e6b3dada4d38958"}
Fetching and extracting https://get.discourse.org/discourse-assets/2025.11.0-75d61b40/production.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100     9  100     9    0     0     23      0 --:--:-- --:--:-- --:--:--    23
curl: (22) The requested URL returned error: 404
[assemble_ember_build] Failed to download prebuilt assets: Command failed with exit 22: curl
[assemble_ember_build] Running full core build...
1 Mi Piace

Ok, vedrò se riesco a pubblicare le risorse per quel tag. Ma ti consiglierei di usare il branch release/2025.11, in modo da ricevere eventuali piccole patch anche se non abbiamo ancora aumentato la versione di patch. (ad esempio questa)

Questo avrà la maggiore somiglianza con la strategia di deploy del branch stable esistente.

2 Mi Piace

Gli asset per v2025.11.0 sono pubblicati e gli script aggiornati per assicurare che ciò avvenga automaticamente in futuro.

2 Mi Piace