Skip to content

Store hashes somewhere other than differspec fileΒ #3

@haroldadmin

Description

@haroldadmin

Problem

In a CI workflow, all changes made to files are ephemeral. They last only as long as the workflow itself.

functions-differ does not work well in a CI environment. Updates to function hashes are not persisted across CI runs, meaning that the hashes in .differspec.json are not updated. This leads to incorrect calculations of changed functions.

Proposed Solutions

  • πŸ’‘ Store function hashes in an online database accessible from both CI environment, and a local dev workflow.
    • βœ”οΈ Pros:
      • Hashes persist across CI and local deployment workflows
      • .differspec.json file is simplified
    • πŸ›‘ Cons:
      • Creating a central repository of function hashes might create privacy concerns
      • Allowing users to store hashes in their own databases on GCP would increase complexity of the tool

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions