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

[ttx_diff] Simplify reuse logic #1056

Merged
merged 1 commit into from
Oct 18, 2024
Merged

[ttx_diff] Simplify reuse logic #1056

merged 1 commit into from
Oct 18, 2024

Conversation

cmyr
Copy link
Member

@cmyr cmyr commented Oct 18, 2024

At the beginning of the run, we now check the 'rebuild' flag, and explicitly delete anything we are required to rebuild. This lets us simplify later logic by knowing we're allowed to reuse anything that exists.

This is part of a larger refactor to support the CI use case; because CI builds each individual font in a transient temporary directory, these artifacts do not persist between runs. To reuse artifacts CI is going to need to start storing these artifacts somewhere other than in the build directory.

Base automatically changed from ttx-eprint to main October 18, 2024 07:44
Copy link
Member

@anthrotype anthrotype left a comment

Choose a reason for hiding this comment

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

LGTM with minor comment

(I'm starting to wonder if ttx_diff has grown so much that it may use some tests)

At the beginning of the run, we now check the 'rebuild' flag, and
explicitly delete anything we are required to rebuild. This lets us
simplify later logic by knowing we're allowed to reuse anything that
exists.

This is part of a larger refactor to support the CI use case; because CI
builds each individual font in a transient temporary directory, these
artifacts do not persist between runs. To reuse artifacts CI is going to
need to start storing these artifacts somewhere other than in the build
directory.
@cmyr cmyr added this pull request to the merge queue Oct 18, 2024
Merged via the queue into main with commit 8a92a25 Oct 18, 2024
10 checks passed
@cmyr cmyr deleted the ttx-simple-skip branch October 18, 2024 14:29
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.

3 participants