Skip to content

[codex] Cache idsdb artifacts in CI#27

Merged
mandel59 merged 1 commit into
mainfrom
codex/cache-idsdb-ci-artifacts
May 2, 2026
Merged

[codex] Cache idsdb artifacts in CI#27
mandel59 merged 1 commit into
mainfrom
codex/cache-idsdb-ci-artifacts

Conversation

@mandel59

@mandel59 mandel59 commented May 2, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add an Actions cache step for generated idsdb and idsdb-fts5 SQLite artifacts plus their input-hash stamp files.
  • Use mojidata, idsdb, idsdb-fts5, and idsdb-utils input files in the cache key so unchanged DB inputs can restore artifacts instead of rebuilding on fresh runners.
  • Add an empty changeset for the CI-only workflow change.

Why

Full CI runs currently rebuild idsdb when a fresh runner has no idsfind.db or .idsdb.input.sha256, even if the PR did not touch DB inputs. Restoring those artifacts lets the existing prepare hash checks print inputs unchanged, skipping rebuild when the cache is valid.

Validation

  • Parsed .github/workflows/validate.yml and .github/workflows/release.yml with Ruby YAML.
  • Confirmed local diff is limited to the workflow cache steps and empty changeset.

Related: #23

Restore generated idsdb and idsdb-fts5 database artifacts alongside input-hash stamps so unchanged inputs can skip rebuilds on fresh GitHub Actions runners.

Related: #23

Generated-by: Codex/GPT-5.4
@mandel59 mandel59 marked this pull request as ready for review May 2, 2026 18:25
@mandel59 mandel59 merged commit 5de5b06 into main May 2, 2026
1 check 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.

1 participant