Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

CI: Investigate why RUSTFLAGS differs on master and PRs #13686

Merged
20 commits merged into from
Mar 28, 2023

Conversation

rcny
Copy link
Contributor

@rcny rcny commented Mar 23, 2023

The RUSTFLAGS environment variable is the same for master and PRs. It's set to -Cdebug-assertions=y -Dwarnings for many jobs, but master's cache here has only -Cdebug-assertions=y in the rustflags fingerprint value, no mentions of -Dwarnings, that's why the cache gets invalidated.

More investigation is needed on what could lead to the situation where a fingerprint lacks the part of the rustflags, but, again, the RUSTFLAGS is set to the same value between same jobs on different refs.

@rcny rcny added A3-in_progress Pull request is in progress. No review needed at this stage. B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders. labels Mar 23, 2023
@rcny rcny self-assigned this Mar 23, 2023
@rcny
Copy link
Contributor Author

rcny commented Mar 27, 2023

bot rebase

@paritytech-processbot
Copy link

Rebased

@rcny rcny requested a review from a team as a code owner March 27, 2023 11:59
@rcny rcny added A2-insubstantial Pull request requires no code review (e.g., a sub-repository hash update). and removed A3-in_progress Pull request is in progress. No review needed at this stage. labels Mar 27, 2023
@rcny rcny changed the title [DNM] Test if caching works CI: Investigate why RUSTFLAGS differ on master and PRs Mar 27, 2023
@rcny rcny changed the title CI: Investigate why RUSTFLAGS differ on master and PRs CI: Investigate why RUSTFLAGS differs on master and PRs Mar 27, 2023
@rcny
Copy link
Contributor Author

rcny commented Mar 27, 2023

I need to merge this before this night's cache rollout, so I'll proceed.

@ghost ghost merged commit ae49625 into master Mar 28, 2023
@ghost ghost deleted the vi-dnm-20230323-rc-test branch March 28, 2023 00:00
nathanwhit pushed a commit to nathanwhit/substrate that referenced this pull request Jul 19, 2023
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A2-insubstantial Pull request requires no code review (e.g., a sub-repository hash update). B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant