Skip to content

test: use neutral fixture identifiers in remaining test data - #337

Merged
jmagar merged 2 commits into
mainfrom
test/remaining-fixture-scrub
Aug 22, 2026
Merged

test: use neutral fixture identifiers in remaining test data#337
jmagar merged 2 commits into
mainfrom
test/remaining-fixture-scrub

Conversation

@jmagar

@jmagar jmagar commented Aug 6, 2026

Copy link
Copy Markdown
Collaborator

What

Completes the internal-identifier scrub started in #325 and #333. Replaces the last real-username fixture literals with the neutral devuser placeholder — 5 lines across 3 files:

  • crates/shared/auth/src/sqlite_tests.rs — session fixture email
  • crates/synapse/application/src/runtime_test_observability.rs — process-row fixture user
  • crates/synapse/import/src/scout_service/logs_tests.rs — syslog/auth log samples (these already used devhost, so the username now matches)

Deliberately excluded

Two categories of jmagar hit remain in the tree and are not fixtures:

  • xtask/src/{cargo_generate,cargo_generate_post,scaffold}.rsgithub_owner defaults and slug-rewrite pairs. These are real scaffolding behavior, not placeholders; renaming them would change what generated servers point at.
  • crates/synapse/import/CHANGELOG.md — historical release links to real commits and issues.

Scope

Test fixture literals only — no behavior change. Diff is exactly symmetric (5 insertions, 5 deletions).

Verification

cargo test -p soma-auth -p synapse-application   # 126 + 77 passed, 0 failed
cd crates/synapse/import && cargo test           # 769 passed, 0 failed

crates/synapse/import is a separate cargo workspace, so it is tested independently.

After this and #326 land, no dookie/jmagar fixture literal remains anywhere in the repo's Rust sources.

Completes the identifier scrub started in #325/#333 by replacing the
last real-username fixture literals with the neutral 'devuser'
placeholder:

- soma-auth sqlite session fixture email
- synapse-application process-row observability fixture
- synapse import syslog/auth log samples (already on 'devhost')

Excludes xtask scaffolding defaults (github_owner) and historical
CHANGELOG commit URLs, which are real values rather than fixtures.

Test fixture literals only; no behavior change.
@jmagar
jmagar enabled auto-merge (squash) August 6, 2026 21:23
@jmagar
jmagar merged commit c5c6ba1 into main Aug 22, 2026
33 checks passed
@jmagar
jmagar deleted the test/remaining-fixture-scrub branch August 22, 2026 02:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant