Skip to content

Add bounded cache and sccache diagnostics to setup-rust #397

Description

@leynos

Scope

Add actionable, bounded workflow diagnostics for setup-rust cache and sccache outcomes.

The diagnostics should include:

  • runner OS;
  • cache category;
  • hit or miss state where available; and
  • a non-sensitive failure category.

Add tests and developer documentation. Do not emit cache keys, paths, tokens, or unbounded command output.

Rationale

PR #396 updates third-party action pins and preserves the existing cache configuration. Cache and sccache observability is an independent operational enhancement.

Review context: PR #396 review comment.

Acceptance criteria

  • Diagnostics expose only bounded runner OS, cache category, hit or miss state where available, and non-sensitive failure-category fields.
  • Diagnostics do not expose cache keys, filesystem paths, tokens, secrets, or unbounded command output.
  • Automated tests cover the bounded field set, successful outcomes, unavailable hit or miss state, and representative non-sensitive failure categories.
  • Developer documentation describes the emitted fields, their bounds, and the privacy constraints.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestmediumRoadmap items to schedule within the current quarter. Clear scope, normal review cycles.

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions