Skip to content

Consolidate E2E fixture secret redaction with scenario redaction infra #4989

@cv

Description

@cv

Follow-up from #4965 and the #4941 Vitest fixture migration.

test/e2e-scenario/framework/secrets.ts is a bridge-only fixture helper. It now layers explicit fixture secret-value replacement over the parity-tested framework redactor from test/e2e-scenario/scenarios/orchestrators/redaction.ts, but the end state should not keep multiple redaction entry points with separate ownership.

Acceptance criteria:

  • Move the fixture SecretStore/redaction helper into shared E2E framework infrastructure or consume the shared helper directly from Vitest fixtures.
  • Keep canonical secret-shaped token patterns covered by test/e2e-scenario/framework-tests/e2e-redaction-parity.test.ts.
  • Keep explicit per-test secret values redacted in shell artifacts, cleanup failures, and fixture assertion output.
  • Avoid adding a second product secret-pattern mirror.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions