Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Properly reflect dependency file names in hash #3083

Merged
merged 5 commits into from Aug 28, 2019

Conversation

lukastaegert
Copy link
Member

This PR contains:

  • bugfix
  • feature
  • refactor
  • documentation
  • other

Are tests included?

  • yes (bugfixes and features will not be merged without tests)
  • no

Breaking Changes?

  • yes (breaking changes will not be merged unless absolutely necessary)
  • no

List any relevant issue numbers:
Resolves #3060

Description

This PR makes sure that changes in the naming pattern or otherwise the name of a dependent chunk are properly reflected in the hash of a chunk. This is done by including the actually rendered chunk file name in the hash just with the [hash] placeholder not replaced.

@codecov
Copy link

codecov bot commented Aug 25, 2019

Codecov Report

Merging #3083 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #3083   +/-   ##
=======================================
  Coverage   88.95%   88.95%           
=======================================
  Files         165      165           
  Lines        5721     5721           
  Branches     1741     1742    +1     
=======================================
  Hits         5089     5089           
  Misses        385      385           
  Partials      247      247
Impacted Files Coverage Δ
src/Chunk.ts 92.72% <100%> (+0.08%) ⬆️
src/utils/assignChunkIds.ts 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e2fa18d...32d14b3. Read the comment docs.

@lukastaegert lukastaegert force-pushed the gh-3060-consider-file-name-in-hash branch from 25e4e62 to ee047d9 Compare August 27, 2019 08:53
@lukastaegert lukastaegert merged commit 8ee03af into master Aug 28, 2019
@lukastaegert lukastaegert deleted the gh-3060-consider-file-name-in-hash branch August 28, 2019 11:57
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.

Possible breaking change in minor version, sudden rename of chunk filenames
1 participant