Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
190 commits
Select commit Hold shift + click to select a range
888e637
ci: centralize CI Go versions into .github/go-versions.env (#6112)
mstoykov Jul 2, 2026
1636475
Skip code CI for docs-only and release-notes-only PRs (#6104)
andrewslotin Jul 3, 2026
e491808
Add feature brief process (#6103)
andrewslotin Jul 7, 2026
c0bc819
chore: prepare workflows for get-vault-secrets v2 (#6075)
mstoykov Jul 8, 2026
dfa0d07
feat(features): gate RunTags merge behind merge-run-tags flag (#5714)
yordis Jul 9, 2026
8249b0d
fix: Don't freeze JS primitives (#6140)
joanlopez Jul 13, 2026
0693329
Fix potential data race and TOCTOU inconsistency in route operation (…
somak2kai Jul 15, 2026
b6cf2e7
fix(security/unknown/): update go toolchain directive to v1.25.12 [se…
renovate-sh-app[bot] Jul 16, 2026
bc598f1
chore(deps): update golang:1.26.4-alpine docker digest to 3ad5730 (#6…
renovate-sh-app[bot] Jul 16, 2026
418b043
chore(deps): update grafana/shared-workflows/azure-trusted-signing ac…
renovate-sh-app[bot] Jul 16, 2026
b1b857a
fix(deps): update module github.com/evanw/esbuild to v0.28.1 (#6082)
renovate-sh-app[bot] Jul 16, 2026
70ff590
fix(deps): update module github.com/mccutchen/go-httpbin/v2 to v2.23.…
renovate-sh-app[bot] Jul 16, 2026
9675777
chore(cloudapi): bump k6-cloud-openapi-client-go for the int32->int64…
mstoykov Jul 16, 2026
f0fdfa9
chore(deps): update actions/checkout digest to df4cb1c (#6119)
renovate-sh-app[bot] Jul 16, 2026
2488042
chore(deps): update actions/setup-go digest to 924ae3a (#6120)
renovate-sh-app[bot] Jul 16, 2026
13a94f3
chore(deps): update alpine docker tag to v3.24.1 (#6098)
renovate-sh-app[bot] Jul 16, 2026
ab2043d
fix(deps): update golangx (#6097)
renovate-sh-app[bot] Jul 16, 2026
430e485
chore(deps): update actions/stale digest to 1e223db (#6121)
renovate-sh-app[bot] Jul 16, 2026
5c33854
chore(deps): update grafana/shared-workflows/ action to (#6076)
renovate-sh-app[bot] Jul 16, 2026
849628c
chore(deps): update grafana/shared-workflows/aws-auth action to v1.0.…
renovate-sh-app[bot] Jul 16, 2026
c01d997
chore(deps): update golangci/golangci-lint-action action to v9.3.0 (#…
renovate-sh-app[bot] Jul 16, 2026
8e6101a
Implement WebAPI streams' WritableStream (#6132)
oleiade Jul 16, 2026
befd936
Add redirect extra headers (#5631)
ankur22 Jul 16, 2026
ce5fa51
chore(deps): update debian docker tag to trixie-20260623 (#6114)
renovate-sh-app[bot] Jul 16, 2026
4de4134
chore: remove dead internal/cloudapi/v6/config.go (#6149)
mstoykov Jul 17, 2026
08ff3c4
fix(deps): update module github.com/klauspost/compress to v1.19.0 (#6…
renovate-sh-app[bot] Jul 17, 2026
cf64e71
refactor(cloudapi): share 401/403 error classification between v1 and…
mstoykov Jul 17, 2026
7fc3dad
fix: consume upstream retry-body-reset fix, drop bodyResetTransport w…
mstoykov Jul 17, 2026
99d25c3
chore(deps): update golang docker tag to v1.26.5 (master) (#6155)
renovate-sh-app[bot] Jul 20, 2026
5ab4391
chore(deps): Update sobek (#6183)
mstoykov Jul 21, 2026
c06f9a9
test: add mouse options unit tests (#6141)
hyuraku Jul 21, 2026
57b8533
Expose TextEncoder and TextDecoder globally (#6182)
oleiade Jul 21, 2026
38a42d0
Migrate k6 cloud run --local-execution to provisioning API (#6169)
ankur22 Jul 22, 2026
82b9d62
Fix cloud secrets error when reusing a test run (#6096)
ankur22 Jul 22, 2026
1e60453
fix(deps): update module buf.build/gen/go/prometheus/prometheus/proto…
renovate-sh-app[bot] Jul 22, 2026
8d59f80
fix(security/unknown/examples/grpc_server): update module golang.org/…
renovate-sh-app[bot] Jul 22, 2026
c993cc7
fix(deps): update github.com/grafana/k6-cloud-openapi-client-go diges…
renovate-sh-app[bot] Jul 22, 2026
bb1eb70
fix(ci): resolve xk6 fork PR proxy race by adding fork to GOPRIVATE
szkiba Jul 23, 2026
49592ee
Update .github/workflows/xk6.yml
szkiba Jul 23, 2026
313e7ad
Merge pull request #6203 from grafana/fix/test-xk6-fork-proxy-race
szkiba Jul 23, 2026
8e24bb2
fix(security/high/examples/grpc_server): update module google.golang.…
renovate-sh-app[bot] Jul 23, 2026
5cbc005
Avoid division by zero for counter rate thresholds (#6200)
samarth70 Jul 23, 2026
80fc083
fix(security/high/): update module google.golang.org/grpc to v1.82.1 …
renovate-sh-app[bot] Jul 23, 2026
8ae51bb
fix(deps): update module github.com/mccutchen/go-httpbin/v2 to v2.24.…
renovate-sh-app[bot] Jul 23, 2026
eac3e7e
fix(deps): update module github.com/andybalholm/brotli to v1.2.2 (#6174)
renovate-sh-app[bot] Jul 23, 2026
df2e967
fix(security/unknown/examples/grpc_server): update module golang.org/…
renovate-sh-app[bot] Jul 24, 2026
d51d095
fix(deps): update module github.com/mattn/go-isatty to v0.0.23 (#6176)
renovate-sh-app[bot] Jul 24, 2026
d48e41e
chore(deps): update actions/checkout action to v7 (#6158)
renovate-sh-app[bot] Jul 24, 2026
5dce05d
fix: prevent OpenTelemetry output panic with basic auth and no header…
lukdz Jul 24, 2026
41e2e61
feat: make handleSummary timeout configurable (#5854)
LBaronceli Jul 27, 2026
131c99f
Fix GaugeSink maximum for negative samples (#6195)
Solaris-star Jul 27, 2026
0521027
fix: freeze __ENV to prevent modification from JS code (#6032)
lohitkolluri Jul 27, 2026
035fd73
examples/browser: add catch blocks for clearer error UX (#6196)
locker95 Jul 27, 2026
c3c5b24
[feat] Add `cloud load-zone list` command (#6142)
dgzlopes Jul 28, 2026
ab5bc09
fix(deps): update module github.com/prometheus/client_golang to v1.24…
renovate-sh-app[bot] Jul 28, 2026
796c819
fix(deps): update module go.opentelemetry.io/proto/otlp to v1.11.0 (#…
renovate-sh-app[bot] Jul 28, 2026
ec14ca2
fix(deps): update module github.com/mattn/go-isatty to v0.0.24 (#6214)
renovate-sh-app[bot] Jul 28, 2026
b79cb32
fix(deps): update module github.com/klauspost/compress to v1.19.1 (#6…
renovate-sh-app[bot] Jul 28, 2026
cca3e52
fix(deps): update golang.org/x/crypto/x509roots/fallback digest to d7…
renovate-sh-app[bot] Jul 28, 2026
29ac39c
Update sobek and regexp2 (#6218)
mstoykov Jul 28, 2026
68d8dd5
Make usage report endpoint overridable
inancgumus Jul 3, 2026
f9e9f5a
Report imported catalog extensions in usage report
inancgumus Jul 3, 2026
cdb4adc
Cover imported extension reported once per module
inancgumus Jul 3, 2026
c945958
Guard each imported extension reported distinctly
inancgumus Jul 3, 2026
c59e36e
Cover extensions key omitted when none are used
inancgumus Jul 3, 2026
e481f3a
Guard extension match against import-name reuse
inancgumus Jul 3, 2026
47b8211
Cover fail-closed report on catalog outage
inancgumus Jul 3, 2026
67dbf03
Cover run opt-out suppressing extension data
inancgumus Jul 3, 2026
0c4fa20
Report selected output extensions
inancgumus Jul 3, 2026
05a1672
Guard outputs flow through the catalog filter
inancgumus Jul 3, 2026
f9cf33b
Guard built-in outputs stay out of extensions
inancgumus Jul 3, 2026
2bb26bc
Report subcommand extension usage
inancgumus Jul 3, 2026
32edebf
Cover private subcommands dropped from the report
inancgumus Jul 3, 2026
d65de32
Guard unknown subcommands are never reported
inancgumus Jul 3, 2026
c13a785
Cover the bounded send on a slow endpoint
inancgumus Jul 3, 2026
b23fe9f
Cover subcommand report opt-out with a test
inancgumus Jul 3, 2026
6c0a928
Skip catalog fetch when a run used no extensions
inancgumus Jul 28, 2026
cfd7b8a
Report subcommand usage for nested invocations
inancgumus Jul 28, 2026
e136ec0
Honor config-file opt-out for subcommand reports
inancgumus Jul 28, 2026
b66dce4
Keep report tests fail-closed on a nil catalog
inancgumus Jul 28, 2026
71415dd
Pin env-over-file opt-out precedence with a test
inancgumus Jul 28, 2026
4a2b124
Pin deep and x-named nested subcommand reporting
inancgumus Jul 28, 2026
13c9caa
Pin reporting a builtin-named extension under x
inancgumus Jul 28, 2026
233e1bb
Pin the fail-closed skip on an unreadable config
inancgumus Jul 28, 2026
2b1399e
Derive the opt-out test catalog from the registry
inancgumus Jul 28, 2026
3374fac
Count k6 help x <name> as extension usage
inancgumus Jul 29, 2026
fd1baf7
fsext: serialize first-fill in CacheOnReadFs to fix concurrent-open r…
mstoykov Jul 29, 2026
7a2f1de
feat(browser): Support to connectOverCDP to an existing browser (#6165)
joanlopez Jul 30, 2026
2bd43af
fix: stop sending invalid Sec-WebSocket-Protocol for cloud log tail (…
d14c Jul 30, 2026
8e3e3bf
Support externally-provisioned runs in cloud run --local-execution (#…
ankur22 Jul 30, 2026
267b749
Fix documentation typos (#6129)
Martonveghcode Jul 30, 2026
ec8cd87
fix: retain regDurationCtx cancel in getDurationContexts (#6144)
the-onewho-knocks Jul 30, 2026
7dbe86e
fix: periodically flush file logs (#6070)
rohan-patnaik Jul 30, 2026
5407282
Merge pull request #6126 from grafana/add/ext-telemetry
inancgumus Jul 30, 2026
e574be4
Merge pull request #6224 from grafana/fix/ext-telemetry-reporting-gaps
inancgumus Jul 30, 2026
1db22ef
cloud: drop the run flags from `k6 cloud` help (#6208)
dgzlopes Jul 30, 2026
b9bd46d
Merge pull request #6229 from grafana/rename/ext-telemetry-kind-to-type
inancgumus Jul 30, 2026
60afa8a
Address cloud provisioning review nits (#6230)
ankur22 Jul 31, 2026
5880ca9
Stream --local-execution logs to Grafana Cloud (#6171)
ankur22 Jul 31, 2026
36961ee
Fix loki shutdown log loss and surface dropped cloud logs (#6232)
ankur22 Aug 1, 2026
f069f13
fix(httpext): classify HTTP/2 errors and negotiate h2 correctly under…
mstoykov Aug 3, 2026
d7cfa75
fix(deps): update module google.golang.org/grpc to v1.83.0 (#6240)
renovate-sh-app[bot] Aug 3, 2026
53b5727
fix(deps): update module github.com/mccutchen/go-httpbin/v2 to v2.25.…
renovate-sh-app[bot] Aug 3, 2026
e74f358
ci: disable unnecessary scheduled workflows
jgaalen Aug 9, 2026
77f1637
Update k6 version to 2.2.0 (#6243)
ankur22 Aug 10, 2026
00a9a1b
Release notes v2.2.0 (#6242)
ankur22 Aug 10, 2026
fe07b95
Add bzip2 to the k6packager image (#6270)
ankur22 Aug 10, 2026
35df11a
Enable Renovate auto-merge (#6246)
inancgumus Aug 10, 2026
55f7746
Update external contributors section for release notes (#6256)
andrewslotin Aug 10, 2026
12c1d75
chore: run CI on v1.x (#6245)
mstoykov Aug 11, 2026
ddc5f32
fix(browser): use filepath.ToSlash for URL paths in file persister (#…
adarshsm Aug 12, 2026
93accf6
Fix urlencoded form bodies encoding null as <nil> and objects as map[…
djedi-knight Aug 13, 2026
3d8bf3e
fix(deps): update golangx (#6265)
renovate-sh-app[bot] Aug 17, 2026
164e218
Merge k6 v2.2.0 into breakingit
jgaalen Aug 17, 2026
01ffac6
Update the release issue template (#6271)
ankur22 Aug 17, 2026
0608c01
Introduce a smoke test of the browser image in build workflow (#6236)
janHildebrandt98 Aug 18, 2026
761c619
Shut down TracerProvider after the Exit event is handled (#6298)
mem Aug 18, 2026
fce5185
refactor(cmd): decouple cloud subcommands from the parent cmdCloud (#…
moko-poi Aug 20, 2026
94169da
Fix frozen pages on shared browser connections (#6279)
ankur22 Aug 21, 2026
6dbacc2
fix(output/influxdb): support URL path prefixes in --out influxdb= (#…
o6ivp Aug 21, 2026
8788307
Automate the second approval for Renovate PRs (#6277)
inancgumus Aug 21, 2026
0e36934
fix(deps): update module github.com/stretchr/testify to v1.12.1 (#6332)
renovate-sh-app[bot] Aug 25, 2026
ccac68f
chore(ci): update k6-ci to v0.4.0 (#6312)
mstoykov Aug 25, 2026
57ff6f9
fix(deps): update googles (#6304)
renovate-sh-app[bot] Aug 25, 2026
8b46dce
chore(deps): update golang docker tag to v1.27.0 (#6331)
renovate-sh-app[bot] Aug 25, 2026
6b9cbaa
Export constants for ReadyState in websockets module
janHildebrandt98 Aug 25, 2026
939db29
Fix stale tc39 package path in docs (#6301)
umekikazuya Aug 26, 2026
165bb3c
fix(deps): update module github.com/evanw/esbuild to v0.28.2 (#6303)
renovate-sh-app[bot] Aug 26, 2026
b1c90cf
Opt-in nanosecond log timestamps (--log-ns-timestamps)
janHildebrandt98 Aug 27, 2026
38c7c45
Feature/improve invalid token error (#6339)
janHildebrandt98 Aug 28, 2026
87a096e
fix(deps): update otel to v1.46.0 (#6267)
renovate-sh-app[bot] Aug 28, 2026
9cb3275
fix(deps): update module google.golang.org/grpc to v1.83.2 (#6358)
renovate-sh-app[bot] Aug 31, 2026
687de4d
fix(security/high/examples/grpc_server): update module google.golang.…
renovate-sh-app[bot] Sep 2, 2026
44a6167
ci: switch to grafana/k6-ci hosted golangci-lint config (#6380)
mstoykov Sep 8, 2026
cdd7355
feat: add opt-in AIA certificate chain fetching (tlsAIAFetch) (#6137)
vtorosyan Sep 8, 2026
1e35440
fix(security/high/examples/grpc_server): update module google.golang.…
renovate-sh-app[bot] Sep 9, 2026
7debc9f
Add `--once` to run a script once (#6338)
inancgumus Sep 9, 2026
05efeaf
Record build origin in anonymous usage reports (#6369)
inancgumus Sep 9, 2026
1619547
fix(security/unknown/): update module golang.org/x/crypto to v0.56.0 …
renovate-sh-app[bot] Sep 10, 2026
70a561f
fix(deps): update module github.com/andybalholm/brotli to v1.2.3 (#6357)
renovate-sh-app[bot] Sep 10, 2026
5cec142
fix: resolve 32-bit overflow issues (#6385)
GourangaDasSamrat Sep 10, 2026
03786f4
feat: add remote write labels (#6071)
rohan-patnaik Sep 10, 2026
cdc47e4
Fix stale module paths in AGENTS.md (#6373)
ashrafiucse Sep 10, 2026
70fe22f
refactor(browser): move ElementHandle and Frame options to mapping la…
Shobhit-Nagpal Sep 10, 2026
76499d0
Identify unique installations in anonymous usage reports (#6370)
inancgumus Sep 10, 2026
8589b24
fix: handle VU start error in ramping VUs executor (#5922)
HwangRock Sep 10, 2026
46e3861
Fix browser web vitals lost on intermediate pages (#6163)
ankur22 Sep 10, 2026
238fdc1
httpext: close digest response body on read errors (#6355)
cuishuang Sep 11, 2026
94ad439
Fix golangci findings (#6394)
janHildebrandt98 Sep 11, 2026
92eff84
Add `--scenario` to select scenarios in the script by name (#6360)
inancgumus Sep 11, 2026
c204bdf
Update Sobek and TC39 coverage (#6382)
mstoykov Sep 11, 2026
8d06114
Fix sending duration with HTTPS proxies (#6349)
kausthubhk Sep 11, 2026
4bb65a2
feat(js): propagate metric context through promise reactions (#6340)
mstoykov Sep 15, 2026
ed3ead1
feat(js): support async callbacks in group() (#6341)
mstoykov Sep 15, 2026
2ce1cff
Fix cleared timer callbacks and connecting WebSocket hangs (#6351)
mstoykov Sep 15, 2026
0bd6878
ci: source Go versions from k6-ci (#6398)
mstoykov Sep 15, 2026
0ae3c29
feat(js): propagate metric context into timer callbacks (#6342)
mstoykov Sep 15, 2026
94e183b
chore: update expected tc39 failures after go bump (#6409)
mstoykov Sep 15, 2026
c4c0fe9
feat(js): propagate metric context into WebSocket listeners (#6343)
mstoykov Sep 15, 2026
08c6e1b
feat(js): propagate metric context into gRPC stream listeners (#6344)
mstoykov Sep 15, 2026
f4982c7
Fix missing space in --no-usage-report help text (#6402)
yats0x7 Sep 15, 2026
01d3c93
Fix dispose and getContext data race (#6327)
JohnPei1 Sep 16, 2026
bf2835c
Fix implicit area role test fixture (#6413)
mstoykov Sep 17, 2026
de2ab4a
fix(js): mention async-metric-context feature flag in group() async e…
mstoykov Sep 17, 2026
dcbc7e7
fix(deps): update module github.com/klauspost/compress to v1.20.0 (#6…
renovate-sh-app[bot] Sep 17, 2026
b73b1f5
fix(webcrypto): stop getRandomValues from panicking on bad input (#6368)
hyuraku Sep 17, 2026
5e8d906
Fix selector waits for absent elements (#6412)
inancgumus Sep 17, 2026
0c0eb0a
browser: bound screenshot capture time (#6414)
inancgumus Sep 17, 2026
3fcf538
feat: add execution_result to /v1/status API (#6388)
yorugac Sep 18, 2026
09d4bc5
Remove weekly k6packager schedule
jgaalen Sep 20, 2026
b7e792e
Merge pull request #1 from jgaalen/codex/remove-k6packager-cron-only
jgaalen Sep 20, 2026
cff7da7
fix(deps): update module google.golang.org/grpc to v1.84.0 (#6478)
renovate-sh-app[bot] Sep 21, 2026
03666b6
chore(deps): update golang docker tag to v1.27.1 (#6376)
renovate-sh-app[bot] Sep 21, 2026
40e7c09
feat(browser): propagate metric context into callbacks and metrics (#…
mstoykov Sep 21, 2026
3aee1ad
Bump k6 version to 2.3.0 (#6417)
inancgumus Sep 21, 2026
e088784
Add v2.3.0 release notes (#6389)
inancgumus Sep 21, 2026
4f5c1e5
Merge k6 v2.3.0 into breakingit
jgaalen Sep 22, 2026
1868f4e
Enable native async group transactions in the Breaking-IT fork
jgaalen Sep 29, 2026
d3dc512
Fix metric context restoration during nested native promise settlement
jgaalen Sep 29, 2026
5f8e357
Merge fork master history while keeping upstream packaging disabled
jgaalen Sep 29, 2026
37dead0
Document consolidated fork baseline and build workflow
jgaalen Sep 29, 2026
513e2cd
Add browser admission control
jgaalen Aug 18, 2026
daf5080
Document breakingit build branch and admission configuration
jgaalen Sep 29, 2026
1639fed
Revert browser admission control while preserving async group fixes
jgaalen Sep 29, 2026
9756bfe
Make master the canonical fork branch and guard upstream publishing
jgaalen Oct 13, 2026
9eddec8
Fix fork lint findings and validate lean build capabilities
jgaalen Oct 13, 2026
0b7fd6e
Wait for resized screenshot surfaces to paint before capture
jgaalen Oct 13, 2026
5512e72
Merge pull request #2 from jgaalen/codex/consolidate-fork-default
jgaalen Oct 13, 2026
326d472
Build and test the lean fork in Breaking-IT/k6
jgaalen Nov 6, 2026
4121a15
Launch the hosted Chrome binary for lean browser tests
jgaalen Nov 6, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
25 changes: 16 additions & 9 deletions .github/ISSUE_TEMPLATE/release.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,23 @@ labels: ["release"]

**Release Date**:

22nd June 2026 **<- WRITE HERE THE UPDATED RELEASE DATE**
21st September 2026 **<- WRITE HERE THE UPDATED RELEASE DATE**

## Release Activities

### At the beginning of the cycle

- [ ] Create a new `release-v{major}.{minor}.0` branch.
- [ ] Add a new release notes file using the available [template](https://github.com/grafana/k6/blob/master/release%20notes/template.md) to the [repository's `release notes` folder](https://github.com/grafana/k6/blob/master/release%20notes).
- [ ] Go through the potential [dependencies updates](https://github.com/grafana/k6/blob/master/Dependencies.md) and create a dedicated PR if any of them is relevant to this release.
- [ ] Create a new `release-v{major}.{minor}.0` branch on the [grafana/k6-DefinitelyTyped](https://github.com/grafana/k6-DefinitelyTyped) fork repository.
- Branch directly off `upstream/master`, so the branch starts from the latest upstream state. Do **not** use GitHub's "Sync fork" button: repository rules on the fork block it and they cannot be amended.

```
git remote add upstream https://github.com/DefinitelyTyped/DefinitelyTyped.git # only once
git fetch upstream
git checkout -b release-v2.3.0 upstream/master
git push -u origin release-v2.3.0
```
- [ ] Bump the version in [types/k6/package.json](https://github.com/grafana/k6-DefinitelyTyped/blob/master/types/k6/package.json#L4) to the next one.
- [ ] [Lock the conversation](https://docs.github.com/en/communities/moderating-comments-and-conversations/locking-conversations) of the current issue to prevent any abuse or misuse of the issue. Note, it still allow the maintainers to edit the issue's description and to add comments.

Expand All @@ -25,7 +32,6 @@ labels: ["release"]
#### ~ 2 weeks before the release date

- [ ] Ensure that all PRs from a release milestone are merged.
- [ ] Ensure experimental modules (if needed) have been updated to their latest version.

#### ~ 1 week before the release date

Expand All @@ -34,11 +40,11 @@ labels: ["release"]
- [ ] Ensure all PRs in the `k6` repository, part of the current [milestone](https://github.com/grafana/k6/milestones), have been merged.
- [ ] Open a PR with the release notes for the new version
- [ ] Ask teams that might have contributed to the release to contribute their notes and review the existing ones.
- [ ] Remember to mention and thank [external contributors](https://github.com/search?q=user%3Agrafana+repo%3Ak6+milestone%3A%22v2.1.0%22+-author%3Amstoykov+-author%3Aoleiade+-author%3Acodebien+-author%3Aandrewslotin+-author%3Ajoanlopez+-author%3Aankur22+-author%3Ainancgumus+-author%3Aszkiba+-author%3AAgnesToulet+-author%3Adependabot%5Bbot%5D+-author%3Arenovate-sh-app%5Bbot%5D&type=pullrequests). (**<- Update the query with the correct milestone version**).
- [ ] Remember to mention and thank [external contributors](https://github.com/search?q=user%3Agrafana+repo%3Ak6+milestone%3A%22v2.3.0%22+-author%3Amstoykov+-author%3Aoleiade+-author%3Acodebien+-author%3Aandrewslotin+-author%3Ajoanlopez+-author%3Aankur22+-author%3Ainancgumus+-author%3Aszkiba+-author%3AAgnesToulet+-author%3Adependabot%5Bbot%5D+-author%3Arenovate-sh-app%5Bbot%5D+-author%3AjanHildebrandt98&type=pullrequests). (**<- Update the query with the correct milestone version**).
- [ ] Share the release notes PR with the k6 open-source teams. Request contributions from all affected teams and any other stakeholders involved in the new release.
- [ ] Open a separate PR for bumping [the k6 Go project's version](https://github.com/grafana/k6/blob/master/internal/build/version.go#L6).
- [ ] Open a PR in the `DefinitelyTyped/DefinitelyTyped` repository using the release branch created in the grafana/k6-DefinitelyTyped fork to update the k6 type definitions for the new release.
- [ ] Open a PR to add the new k6 version to the extensions registry (similar to [this one](https://github.com/grafana/k6-extension-registry/pull/104) for v2.1.0).
- [ ] Open a PR to add the new k6 version to the extensions registry (similar to [this one](https://github.com/grafana/k6-extension-registry/pull/261) for v2.2.0).

#### ~ 1 day before the release date

Expand All @@ -50,12 +56,14 @@ labels: ["release"]

- [ ] Open and merge a PR from `main` in the `k6-docs` repository:
- [ ] Creating a new `v{major}.{minor}.0` file in the [next release notes folder](https://github.com/grafana/k6-docs/tree/main/docs/sources/k6/next/release-notes) and copy/paste the main sections of the release notes (new features, deprecations and roadmap).
- [ ] Copying the current k6's `next` (including the newly created release note file) to a folder named with the k6 version (e.g., `v2.1.x`).
- Include the front matter (`title`, `menuTitle`, `description`, `weight`), or the page won't appear in the release notes index.
- [ ] Copying the current k6's `next` (including the newly created release note file) to a folder named with the k6 version (e.g., `v2.2.x`).
- [ ] Ensure the file is in `next` and the highest version folder, not only its own. Only the highest tree is published as `latest`, so notes left in an older folder are lost (see [k6-docs#2299](https://github.com/grafana/k6-docs/pull/2299)). Applies to patch releases from maintenance branches too.
- [ ] Ensure the `k6` repository release notes PR contains the correct links to the docs.

#### In k6 repository

- [ ] Merge the PR bumping [the k6 Go project's version](https://github.com/grafana/k6/blob/master/lib/consts/consts.go#L11-L12).
- [ ] Merge the PR bumping [the k6 Go project's version](https://github.com/grafana/k6/blob/master/internal/build/version.go#L6).
- [ ] Merge the release notes PR.
- [ ] Pull locally the previously merged changes.
- [ ] Create a new long-lived `v{major}.{minor}.x` release branch from the `master` branch.
Expand All @@ -64,7 +72,7 @@ labels: ["release"]
!!! Update the below when making the issue

```
git checkout master && git pull && git checkout -b v2.1.x && git tag v2.1.0 -m "v2.1.0" && git push origin v2.1.0
git checkout master && git pull && git checkout -b v2.3.x && git push -u origin v2.3.x && git tag v2.3.0 -m "v2.3.0" && git push origin v2.3.0
```

#### In k6-extension-registry
Expand All @@ -80,5 +88,4 @@ git checkout master && git pull && git checkout -b v2.1.x && git tag v2.1.0 -m "
## Wrapping Release

- [ ] Ensure the `DefinitelyTyped/DefinitelyTyped` PR(s) are merged.
- [ ] Ensure to sync `grafana/k6-DefinitelyTyped` fork with the latest changes from the `DefinitelyTyped/DefinitelyTyped` repository.
- [ ] Update the k6 repository's `.github/ISSUE_TEMPLATE/release.md` in the event steps from this checklist were incorrect or missing.
33 changes: 0 additions & 33 deletions .github/actions/lint/action.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/actions/test-common/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ runs:
steps:
- name: Install Go
if: ${{ inputs.go_version != 'gotip' }}
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6
uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6
with:
go-version: ${{ inputs.go_version }}
check-latest: true
Expand Down
11 changes: 0 additions & 11 deletions .github/actions/test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,4 @@ runs:
unset args[2]
fi
fi
if [[ ${USE_GOTIP} == 'true' ]]; then
# Under Go 1.27+, golang.org/x/net/http2 switches to a "wrapping
# implementation" that delegates to net/http. With it, ConfigureTransport
# no longer forces HTTP/2 over custom dialers, and HTTP/2 errors surface as
# unexported net/http/internal/http2 types that lib/netext/httpext can no
# longer classify (only StreamError has an upstream errors.As bridge;
# ConnectionError and GoAwayError do not). Force the legacy x/net
# implementation until k6 adapts. See Dependencies.md / the http2 error
# handling in lib/netext/httpext/error_codes.go.
args+=("-tags" "http2legacy")
fi
go test "${args[@]}" -timeout 1600s `go list ./... | grep -v browser/tests`
156 changes: 156 additions & 0 deletions .github/scripts/check-feature-briefs.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,156 @@
#!/usr/bin/env bash
# check-feature-briefs.sh — validate feature briefs in docs/features/
#
# Usage:
# ./check-feature-briefs.sh # check all briefs (local default)
# ./check-feature-briefs.sh path/to/a.md # check specific file(s) (used by CI)
#
# Rules enforced:
# 1. Total prose ≤ 1,200 words (hard limit, error)
# Total prose ≤ 800 words (soft target, warning)
# 2. "## Problem" section ≤ 3 sentences (heuristic: counts . ! ? terminators)
# 3. "## Cost of inaction" section must be present and non-empty
#
# Prose is defined as all text after stripping:
# - Markdown heading lines (lines starting with #)
# - HTML comments (<!-- ... -->, including multi-line)
#
# README.md and 000-TEMPLATE.md are always excluded.

set -euo pipefail

SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
REPO_ROOT="$(cd "$SCRIPT_DIR/../.." && pwd)"
BRIEFS_DIR="$REPO_ROOT/docs/features"

SKIP_PATTERN="README\.md$|000-TEMPLATE\.md$"

# ──────────────────────────────────────────────
# Helpers
# ──────────────────────────────────────────────

# strip_comments FILE — print file contents with HTML comments removed
strip_comments() {
awk '
{
line = $0
while (1) {
if (in_comment) {
idx = index(line, "-->")
if (idx == 0) { line = ""; break }
line = substr(line, idx + 3)
in_comment = 0
} else {
idx = index(line, "<!--")
if (idx == 0) break
before = substr(line, 1, idx - 1)
rest = substr(line, idx + 4)
end_idx = index(rest, "-->")
if (end_idx > 0) {
line = before substr(rest, end_idx + 3)
} else {
printf "%s", before
in_comment = 1
line = ""
break
}
}
}
print line
}
' in_comment=0 "$1"
}

# prose_text FILE — file with comments and heading lines stripped
prose_text() {
strip_comments "$1" | grep -v '^[[:space:]]*#'
}

# section_text FILE HEADING — text of the section starting at HEADING, up to next ## heading
section_text() {
local file="$1"
local heading="$2"
strip_comments "$file" | awk -v heading="$heading" '
BEGIN { found=0 }
/^##[[:space:]]/ {
if (found) exit
if (tolower($0) ~ tolower(heading)) { found=1; next }
}
found { print }
'
}

# ──────────────────────────────────────────────
# Build the file list
# ──────────────────────────────────────────────

if [[ $# -gt 0 ]]; then
files=("$@")
else
# No args: scan all .md files in docs/features/
mapfile -t files < <(find "$BRIEFS_DIR" -maxdepth 1 -name '*.md' | sort)
fi

# Filter out excluded files
filtered=()
for f in "${files[@]}"; do
if echo "$f" | grep -qE "$SKIP_PATTERN"; then
continue
fi
if [[ ! -f "$f" ]]; then
echo "::warning::File not found, skipping: $f"
continue
fi
filtered+=("$f")
done

if [[ ${#filtered[@]} -eq 0 ]]; then
echo "No feature briefs to check."
exit 0
fi

# ──────────────────────────────────────────────
# Validate each brief
# ──────────────────────────────────────────────

failed=0

for f in "${filtered[@]}"; do
echo "Checking: $f"

# 1. Word count -----------------------------------------------------------
word_count=$(prose_text "$f" | wc -w | tr -d '[:space:]')

if [[ "$word_count" -gt 1200 ]]; then
echo "::error file=$f::Word count is $word_count (limit: 1200). Trim the prose."
failed=1
elif [[ "$word_count" -gt 800 ]]; then
echo "::warning file=$f::Word count is $word_count (soft target: ≤800). Consider trimming."
fi

# 2. Problem sentence count -----------------------------------------------
# Heuristic: count sentence-terminating punctuation (. ! ?) that is followed
# by whitespace or end of string. HTML comments already stripped by section_text.
problem_text=$(section_text "$f" "## Problem")
sentence_count=$(echo "$problem_text" | grep -oE '[.!?]([[:space:]]|$)' | wc -l | tr -d '[:space:]')

if [[ "$sentence_count" -gt 3 ]]; then
echo "::error file=$f::Problem statement has ~$sentence_count sentences (limit: 3)."
failed=1
fi

# 3. Cost of inaction — present and non-empty -----------------------------
coi_text=$(section_text "$f" "## Cost of inaction" | tr -d '[:space:]')

if [[ -z "$coi_text" ]]; then
echo "::error file=$f::\"Cost of inaction\" section is missing or empty. It is required."
failed=1
fi

done

if [[ "$failed" -ne 0 ]]; then
exit 1
fi

echo "All briefs OK."
80 changes: 0 additions & 80 deletions .github/workflows/browser_e2e.yml

This file was deleted.

Loading