-
Notifications
You must be signed in to change notification settings - Fork 440
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
output supported versions #3058
base: main
Are you sure you want to change the base?
Conversation
# note: This will only run when there *are* changes to integration versions | ||
- name: Create Pull Request | ||
id: pr | ||
uses: peter-evans/create-pull-request@v6 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
if: ${{ github.event.workflow_run.conclusion == 'success' }} | ||
steps: | ||
- uses: actions/checkout@v4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -0,0 +1,44 @@ | |||
name: Supported Versions | |||
on: | |||
workflow_run: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Datadog ReportBranch report: ✅ 0 Failed, 5121 Passed, 70 Skipped, 2m 54.95s Total Time |
BenchmarksBenchmark execution time: 2025-01-03 18:12:55 Comparing candidate commit 26b5d26 in PR branch Found 0 performance improvements and 0 performance regressions! Performance is the same for 58 metrics, 1 unstable metrics. |
func main() { | ||
goModPath := "integration_go.mod" // path to integration_go.mod | ||
outputPath := "supported_versions.md" | ||
instrumentedSet := map[string]struct{}{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -42,15 +42,13 @@ require ( | |||
github.com/gocql/gocql v1.6.0 | |||
github.com/gofiber/fiber/v2 v2.52.5 | |||
github.com/gomodule/redigo v1.8.9 | |||
github.com/google/pprof v0.0.0-20230817174616-7a8ec2ada47b |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably put these changes in a separate PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The generated format looks good! I pointed out some problems / wrong info I see in the outputted markdown.
| github.com/go-redis/redis | v6.15.9+incompatible | v6.15.9+incompatible | false | ||
| github.com/go-redis/redis/v7 | v7.4.1 | v7.4.1 | true | ||
| github.com/go-redis/redis/v8 | v8.11.5 | v8.11.5 | true | ||
| github.com/go-redis/redis/v9 | v9.7.0 // renamed to redis/go-redis in v9 | v9.7.0 | false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| github.com/go-redis/redis/v9 | v9.7.0 // renamed to redis/go-redis in v9 | v9.7.0 | false | |
| github.com/redis/go-redis/v9 | v9.7.0 | v9.7.0 | false |
First column should be the module name (not the repo name) + those comments shouldn't be here IMO
| github.com/emicklei/go-restful/v3 | v3.11.0 | v3.12.1 | false | ||
| github.com/garyburd/redigo | v1.6.4 | v1.6.4 | false | ||
| github.com/gin-gonic/gin | v1.9.1 | v1.10.0 | true | ||
| github.com/globalsign/mgo | v0.0.0-20181015135952-eeefdecb41b8 | github.com/globalsign/mgo | false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
third column doesn't contain a version
| github.com/bradfitz/gomemcache | v0.0.0-20230611145640-acc696258285 | github.com/bradfitz/gomemcache | false | ||
| github.com/confluentinc/confluent-kafka-go | v1.9.2 | v1.9.3-RC3 | false | ||
| github.com/confluentinc/confluent-kafka-go/v2 | v2.2.0 | v2.6.1 | false | ||
| github.com/denisenkom/go-mssqldb | v0.11.0 | v0.12.3 | false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is not an integration
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
marking the subsequent related comments as resolved, addressed these in #3064
| github.com/aws/aws-sdk-go-v2/service/sfn | v1.19.4 | v1.34.2 | false | ||
| github.com/aws/aws-sdk-go-v2/service/sns | v1.21.4 | v1.33.8 | false | ||
| github.com/aws/aws-sdk-go-v2/service/sqs | v1.24.4 | v1.37.3 | false | ||
| github.com/bradfitz/gomemcache | v0.0.0-20230611145640-acc696258285 | github.com/bradfitz/gomemcache | false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
third column does not contain a version
github.com/google/uuid v1.5.0 | ||
github.com/gorilla/mux v1.8.0 | ||
github.com/graph-gophers/graphql-go v1.5.0 | ||
github.com/graphql-go/graphql v0.8.1 | ||
github.com/graphql-go/handler v0.2.3 | ||
github.com/hashicorp/consul/api v1.24.0 | ||
github.com/hashicorp/go-multierror v1.1.1 | ||
github.com/hashicorp/go-secure-stdlib/parseutil v0.1.7 | ||
github.com/hashicorp/vault/api v1.9.2 | ||
github.com/hashicorp/vault/sdk v0.9.2 | ||
github.com/jackc/pgx/v5 v5.6.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How is this go.mod being generated?
What does this PR do?
.github/workflows/apps/output_integration_versions.go
integration_go.mod
, and the maximum fromgo list -m -versions <package>
Supported Versions
workflow which runs only afterSmoke Tests
successfully passes on mainSmoke Tests
tests thatddtrace
works with the latest versions of the packages. So if Smoke Tests passed, we can safely assume thatlatest
works.TODO:
Motivation
Reviewer's Checklist
v2-dev
branch and reviewed by @DataDog/apm-go.Unsure? Have a question? Request a review!