Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reintroduce flight records #265

Merged
merged 3 commits into from
May 30, 2024
Merged

Reintroduce flight records #265

merged 3 commits into from
May 30, 2024

Conversation

deividaspetraitis
Copy link
Collaborator

This PR proposes a fix for docker image build process that was failing previously ( please see #254 ).

Failure was caused by a wrong Go version since runtime/trace: flight recording package was introduced in go1.22 as an experental feature and was not yet available at go1.21 version, please see https://go-review.googlesource.com/c/exp/+/550257

Proposed change is to bump version from go1.21 to go1.22 in Docker images.
Also this PR reintroduces flight records.

p0mvn and others added 2 commits May 29, 2024 16:38
* POC: Flight recording of slow requests (above 500ms)

* go mods

* config & fixes

* lint
@@ -1,13 +1,13 @@
# syntax=docker/dockerfile:1

ARG GO_VERSION="1.21"
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Proposed change: bump version from go1.21 to go1.22

@@ -1,8 +1,8 @@
# syntax=docker/dockerfile:1
# See README.md#Debugging for more information

ARG GO_VERSION="1.21"
ARG RUNNER_IMAGE="golang:1.21"
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Proposed change: bump version from go1.21 to go1.22

Copy link
Member

@p0mvn p0mvn left a comment

Choose a reason for hiding this comment

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

Excellent - thank you.

I will need to update some configs in our internal repositories. I will merge this PR once that is complete.

CHANGELOG.md Outdated Show resolved Hide resolved
@p0mvn
Copy link
Member

p0mvn commented May 30, 2024

Committed a small nit to changelog.

Thank you again @deividaspetraitis

@p0mvn p0mvn merged commit a812e0f into osmosis-labs:v25.x May 30, 2024
7 checks passed
@deividaspetraitis deividaspetraitis deleted the 254 branch May 30, 2024 04:35
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.

2 participants