Skip to content

fix: cleanup improvements for beacon styles example#2129

Closed
texastony wants to merge 5 commits into
mainfrom
flacky-examples
Closed

fix: cleanup improvements for beacon styles example#2129
texastony wants to merge 5 commits into
mainfrom
flacky-examples

Conversation

@texastony

@texastony texastony commented Mar 13, 2026

Copy link
Copy Markdown
Contributor

Changes

Follow-up to #2125. Additional cleanup improvements for the beacon styles example in both Java and Rust:

  • Extract INSPECTION_DATE constant to avoid hardcoded date strings
  • Remove unused javax.swing.text.html.Option import (Java)
  • Use try-with-resources to properly close the plain DDB client (Java)
  • Wrap cleanup deletes in try-catch to avoid masking test failures (Java)

…em collisions

- Generate unique work_id UUIDs per run instead of hardcoded "1" and "2"
- Add temporary work_id IN filter to scans (to be removed after table cleanup)
- Delete items in finally/cleanup block after assertions
- Dynamic compound beacon value using UUID instead of hardcoded "I-1.T-small"
- Applied to both Rust and Java examples
@texastony texastony requested a review from a team as a code owner March 13, 2026 16:09
@texastony texastony changed the title fix: use UUIDs and cleanup in beacon styles example to avoid stale item collisions fix: cleanup improvements for beacon styles example Mar 13, 2026
@texastony texastony closed this Mar 16, 2026
@texastony texastony deleted the flacky-examples branch March 16, 2026 21:20
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