Skip to content

Commit e3e3603

Browse files
gouravkrosxclaude
andauthored
docs(time-freezing): correct the Go version claim — works on all supported Go releases (#861)
The two current time-freezing pages (versions 3.0.0 and 4.0.0) both carried the same incorrect note: > Note: Time freezing is only supported till go **1.22.x** version. That hasn't been true for a while. The mechanism is build-time — `-tags=faketime` is a Go build tag that swaps `runtime.now()` to read from the freeze-time agent file instead of the OS clock — so it applies to any Go version that supports the build tag, which is every currently-supported release. Caught when an AI agent walking the Keploy MCP onboarding flow read the existing note, propagated the false "Requires Go 1.22.x" comment into a user's Dockerfile, and rejected newer Go versions. Updating the docs so the next agent (or human) reading the page gets accurate guidance. Replacement text leans positive: states the build-tag mechanism explicitly so a reader understands why the Go-version constraint doesn't apply. Scope intentionally excludes version-2.0.0 (historical / archived docs — not surfaced as current to live readers). Signed-off-by: gouravkrosx <gouravgreatkr@gmail.com> Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent b5adaf6 commit e3e3603

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

versioned_docs/version-3.0.0/keploy-cloud/time-freezing.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,11 @@ For Docker-based applications, you'll need to make a few adjustments to your Doc
5050
uname -a
5151
```
5252

53-
2. Download the the appropriate time freeze agent for your architecture & set the `LD_PRELOAD` Environment Variable in your Dockerfile
53+
2. Download the appropriate time freeze agent for your architecture & set the `LD_PRELOAD` Environment Variable in your Dockerfile
5454

5555
### For Golang(Go) Applications -
5656

57-
> Note: Time freezing is only supported till go **1.22.x** version.
57+
> Note: Time freezing works on every Go version that supports the `faketime` build tag, i.e. all currently supported Go releases. The mechanism is build-time (the `-tags=faketime` flag swaps Go's `time` package to read from a runtime agent file instead of the OS clock), so it's not tied to any specific Go version.
5858
5959
#### amd64/x86_64 🖥️
6060

versioned_docs/version-4.0.0/keploy-cloud/time-freezing.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,11 @@ For Docker-based applications, you'll need to make a few adjustments to your Doc
5151
uname -a
5252
```
5353

54-
2. Download the the appropriate time freeze agent for your architecture & set the `LD_PRELOAD` Environment Variable in your Dockerfile
54+
2. Download the appropriate time freeze agent for your architecture & set the `LD_PRELOAD` Environment Variable in your Dockerfile
5555

5656
### For Golang(Go) Applications -
5757

58-
> Note: Time freezing is only supported till go **1.22.x** version.
58+
> Note: Time freezing works on every Go version that supports the `faketime` build tag, i.e. all currently supported Go releases. The mechanism is build-time (the `-tags=faketime` flag swaps Go's `time` package to read from a runtime agent file instead of the OS clock), so it's not tied to any specific Go version.
5959
6060
#### amd64/x86_64 🖥️
6161

0 commit comments

Comments
 (0)