Skip to content

Example cache not always invalidated correctly #1025

@julienp

Description

@julienp

Example generation is cached using the key hashFiles('provider/go.sum'), however sometimes examples can change without a package update. I ran into this when toggling the flag Python.InputTypes: tfbridge.PythonInputTypeClassesAndDicts on tfbridge.ProviderInfo.

This could potentially be changed to hashFiles('provider/go.sum,provider/resources.go') or maybe hashFiles('provider/go.sum,provider/cmd/*/schema.json').

As a workaround, the cache can be deleted in the GitHub Actions interface.

Metadata

Metadata

Assignees

Labels

kind/bugSome behavior is incorrect or out of spec

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions