Skip to content

Conversation

AgnesToulet
Copy link
Contributor

What?

Fix sobek usage in frame.evaluate, frame.evaluateHandle, jsHandle.evaluate and jsHandle.evaluateHandle.

Why?

The work with the sobek.Object and sobek in general should be done before we start doing anything a goroutine. We got one test on Cloud that ran into this issue and generated an alert.

Checklist

  • I have performed a self-review of my code.
  • I have commented on my code, particularly in hard-to-understand areas.
  • I have added tests for my changes.
  • I have run linter and tests locally (make check) and all pass.

Checklist: Documentation (only for k6 maintainers and if relevant)

Please do not merge this PR until the following items are filled out.

  • I have added the correct milestone and labels to the PR.
  • I have updated the release notes: link

Related PR(s)/Issue(s)

@AgnesToulet AgnesToulet requested a review from a team as a code owner September 15, 2025 14:36
@AgnesToulet AgnesToulet requested review from ankur22 and oleiade and removed request for a team September 15, 2025 14:36
@AgnesToulet AgnesToulet added this to the v1.3.0 milestone Sep 15, 2025
@AgnesToulet AgnesToulet temporarily deployed to azure-trusted-signing September 15, 2025 14:41 — with GitHub Actions Inactive
@AgnesToulet AgnesToulet temporarily deployed to azure-trusted-signing September 15, 2025 14:43 — with GitHub Actions Inactive
@AgnesToulet AgnesToulet merged commit c855af4 into master Sep 15, 2025
45 of 46 checks passed
@AgnesToulet AgnesToulet deleted the fix/refactor-sobek-usage-in-mapping branch September 15, 2025 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants