Skip to content

Use maintained YAML through Testify upgrade - #7

Open
ai-collaboration-app[bot] wants to merge 1 commit into
masterfrom
maintained-yaml-tests
Open

ai-collaboration-app[bot] wants to merge 1 commit into
masterfrom
maintained-yaml-tests

Conversation

@ai-collaboration-app

Copy link
Copy Markdown

Upgrade Testify to v1.12.1 so the test-only YAML dependency uses maintained go.yaml.in/yaml/v3. Fix the existing transaction polling helper to release its read lock on pending states and tolerate Testify's immediate first check. Production packages do not link YAML.

Tracking: https://github.com/StackVista/stackstate/issues/717

Validation: full Go tests, build, gofmt, module verification/tidy and revive passed (13 existing warnings). Consumer module graphs must be qualified separately; no replacement directives are introduced.

Upgrade the test assertion owner to v1.12.1, which uses go.yaml.in/yaml/v3. YAML is absent from this library production package graph.

Eventually now polls immediately. Release the transaction read lock on every predicate return and report pending states through Eventually rather than failing during a successful wait.

Tracking: StackVista/stackstate#717
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