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

fix(core): store relative file name in hash details #10166

Merged
merged 1 commit into from Jun 6, 2022

Conversation

AgentEnder
Copy link
Member

Current Behavior

When NX_VERBOSE_LOGGING is set, the logged hash details contain absolute file paths. Since the path itself is not considered currently, this doesn't cause cache misses.

Expected Behavior

When NX_VERBOSE_LOGGING is set, the logged hash details contain relative file paths. If the path itself is considered, this doesn't cause cache misses.

Related Issue(s)

Fixes #

@nx-cloud
Copy link

nx-cloud bot commented May 5, 2022

☁️ Nx Cloud Report

CI is running/has finished running commands for commit f8bb12c. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this branch


✅ Successfully ran 12 targets

Sent with 💌 from NxCloud.

@vercel
Copy link

vercel bot commented May 5, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
nx-dev ✅ Ready (Inspect) Visit Preview Jun 3, 2022 at 8:18PM (UTC)

Copy link
Member

@vsavkin vsavkin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think using the default hasher is a good idea. However, we should not invoke ensureinitialized

@AgentEnder AgentEnder force-pushed the fix/implicit-deps-relative-path branch from 5692722 to f8bb12c Compare June 3, 2022 20:13
@AgentEnder AgentEnder merged commit 5c9abff into nrwl:master Jun 6, 2022
@AgentEnder AgentEnder deleted the fix/implicit-deps-relative-path branch June 6, 2022 17:54
vsavkin added a commit that referenced this pull request Jun 7, 2022
@github-actions
Copy link

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 18, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants