Skip to content

feat: add Virtual User ID (VUID) to iteration context#332

Merged
nvloff-f3 merged 1 commit into
masterfrom
nvloff-add-vuid
Mar 9, 2026
Merged

feat: add Virtual User ID (VUID) to iteration context#332
nvloff-f3 merged 1 commit into
masterfrom
nvloff-add-vuid

Conversation

@nvloff-f3
Copy link
Copy Markdown
Contributor

@nvloff-f3 nvloff-f3 commented Mar 8, 2026

Assign a distinct integer VUID to each pool worker when creating the iteration state pool. Enables correlating iterations with user-specific test data (e.g. in the "users" trigger mode).

  • Add VUID field and WithVUID option to testing.T
  • Assign VUID -1 for setup phase, 0-based for pool workers
  • Include VUID in error and panic log output via VUIDAttr

Co-authored-by: @JamesDunne
Closes #309
Refs #310

@nvloff-f3 nvloff-f3 requested a review from a team as a code owner March 8, 2026 03:56
Assign a distinct integer VUID to each pool worker when creating the
iteration state pool. Enables correlating iterations with user-specific
test data (e.g. in the "users" trigger mode).

- Add VUID field and WithVUID option to testing.T
- Assign VUID -1 for setup phase, 0-based for pool workers
- Include VUID in error and panic log output via VUIDAttr
- Add tests for WithVUID and VUID in error logs

Co-authored-by: James Dunne <JamesDunne@users.noreply.github.com>

Closes #309
Refs #310
@nvloff-f3 nvloff-f3 merged commit 61999db into master Mar 9, 2026
5 of 8 checks passed
@nvloff-f3 nvloff-f3 deleted the nvloff-add-vuid branch March 9, 2026 08:19
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.

Feature Request: Global VU ID

2 participants