mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-06-19 01:44:11 +08:00
The content and hash of rollup chunks may vary when various internals/dependencies change. Previously, we didn't include the rollup hash on entrypoint filenames - we just relied on the Discourse-controlled input hash. We did include the rollup hash for chunks. That meant we could end up in a situation where the chunk filenames have changed, but cached entrypoints still reference the old chunk filenames. Also adds a guard to ensure we don't double-upload `.gz` assets to S3. |
||
|---|---|---|
| .. | ||
| filter.rb | ||
| filter_manager.rb | ||
| instance.rb | ||
| js_compiler.rb | ||
| js_manager.rb | ||
| metadata.rb | ||