Skip to content

Avoid unnecessary rebuilds with package fingerprints #59

Closed

Description

@LunaStev

Motivation

Vex invokes wavec for every build, check, or run and has no package-level freshness model. As dependency graphs grow, Cargo-like usability requires avoiding work when manifest, source, dependency, compiler, target, and profile inputs are unchanged.

Acceptance criteria

  • Define the complete fingerprint inputs, including wavec identity and capability version.
  • Store cache metadata under a Vex-owned target directory.
  • Never treat changed path dependency sources as fresh.
  • Include exact Git commits, selected features, target, and profile.
  • Recover safely from partial or corrupt cache entries.
  • Explain fresh, dirty, and rebuilt decisions in verbose output.
  • Add deterministic tests using a fake compiler invocation counter.
  • Keep correctness ahead of cache hit rate.

Activity

  1. added
    build
    discussion
    feature request
    performance
    on Sep 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    builddiscussionfeature requestperformance

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions