Skip to content

add flake patterns documentation#10577

Merged
emilyalbini merged 6 commits into
mainfrom
sunshowers/spr/add-flake-patterns-documentation
Jun 10, 2026
Merged

add flake patterns documentation#10577
emilyalbini merged 6 commits into
mainfrom
sunshowers/spr/add-flake-patterns-documentation

Conversation

@sunshowers

@sunshowers sunshowers commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

As discussed in the devx sync today, add a catalog of flake patterns as well as a Claude skill to review for them.

Rendered

Created using spr 1.3.6-beta.1
@sunshowers sunshowers requested review from hawkw and smklein June 9, 2026 19:20
Comment thread docs/flake-patterns.adoc
- `test-utils/src/dev/poll.rs` has `wait_for_condition` and `wait_for_watch_channel_condition`.
- `nexus/test-utils/src/nexus_test.rs` has `wait_for_at_least_one_inventory_collection`.

**Example commits:**

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like the structure of linking to example commits here; I think that's a great idea

Created using spr 1.3.6-beta.1
Created using spr 1.3.6-beta.1
Comment thread docs/flake-patterns.adoc Outdated
Comment on lines +64 to +65
// FIXME: replace XXXX with the merged commit hash of the test_repo_upload race-fix PR.
- https://github.com/oxidecomputer/omicron/commit/XXXX[`XXXX`] replaces `changed()` waits on the sled agents' delete-reconciler channels with a `generation >= pruned_generation` predicate.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will update this once a PR I have in my local working copy lands.

@sunshowers sunshowers enabled auto-merge (squash) June 9, 2026 20:27
Created using spr 1.3.6-beta.1
@emilyalbini emilyalbini disabled auto-merge June 10, 2026 08:33
@emilyalbini emilyalbini merged commit 1edb041 into main Jun 10, 2026
18 checks passed
@emilyalbini emilyalbini deleted the sunshowers/spr/add-flake-patterns-documentation branch June 10, 2026 08:33
hawkw pushed a commit that referenced this pull request Jun 10, 2026
As discussed in the devx sync today, add a catalog of flake patterns as
well as a Claude skill to review for them.


[Rendered](https://github.com/oxidecomputer/omicron/blob/sunshowers/spr/add-flake-patterns-documentation/docs/flake-patterns.adoc)
sunshowers added a commit that referenced this pull request Jun 11, 2026
Following on from #10040.

Switch the test to being level-triggered, and don't rely on paused time
because we do real I/O which would introduce a second time domain.

Identified and fixed by Claude based on the flake-patterns doc I wrote
in #10577.

Fixes #7255.

Fixes #8636.
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.

3 participants