Skip to content

Regression test fix option 1: Create fresh and not cloned environment to avoid cache issues#2942

Merged
JacksonBurns merged 1 commit intoReactionMechanismGenerator:mainfrom
sevyharris:regression_create_fresh_env
May 6, 2026
Merged

Regression test fix option 1: Create fresh and not cloned environment to avoid cache issues#2942
JacksonBurns merged 1 commit intoReactionMechanismGenerator:mainfrom
sevyharris:regression_create_fresh_env

Conversation

@sevyharris
Copy link
Copy Markdown
Contributor

@sevyharris sevyharris commented May 6, 2026

Motivation or Problem

Regression tests are broken because the x264 package is messed up in the cache. ffmpeg uses it. This sacrifices a bit of extra time to build a clean environment but is more robust because problematic cached packages are less likely to cause problems in the future.

Description of Changes

This changes the CI yaml file so that it creates a clean RMG environment for regression tests instead of cloning the existing rmg_env.

Testing

We'll see if this fixes the regression tests. (or at least gets them to run to completion)

We can compare how much time it adds on versus option 2. It seems creating a fresh environment is more robust than cloning, but is also a bit slower. I think we should probably go with this option unless it's about 5+ minutes slower.

Regression tests are broken because one package is messed up in the cache. This sacrifices a bit of extra time to build a clean environment but is more robust because problematic cached packages are less likely to cause problems in the future
Copy link
Copy Markdown
Contributor

@JacksonBurns JacksonBurns left a comment

Choose a reason for hiding this comment

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

Thanks for the quick fix. I agree that this option is better. Since this only crops up on github, it makes sense to me that we would fix it on the github side, rather than the environment file side

Copy link
Copy Markdown
Contributor

@JacksonBurns JacksonBurns left a comment

Choose a reason for hiding this comment

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

Thanks for the quick fix. I agree that this option is better. Since this only crops up on github, it makes sense to me that we would fix it on the github side, rather than the environment file side

@JacksonBurns
Copy link
Copy Markdown
Contributor

@sevyharris I think this may have crashed because of things unrelated to this PR. Can you confirm, and then I can force merge?

@sevyharris
Copy link
Copy Markdown
Contributor Author

Yeah, it's definitely running the regression tests now, so it's a step in the right direction. I think it's good to merge.

@JacksonBurns JacksonBurns merged commit edd0b57 into ReactionMechanismGenerator:main May 6, 2026
12 of 14 checks passed
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.

2 participants