Skip to content

Update Gradlew Daemon to use existing build in cache #43

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

Merged
merged 2 commits into from
Apr 18, 2024

Conversation

harrryr
Copy link
Contributor

@harrryr harrryr commented Apr 17, 2024

Issue #, if available:
When the gradlew daemon restarts it needs to download dependency to build the .jar files. This can cause transient issues if the download fails

Description of changes:
Make the daemon use cached build from ~/.gradle/build instead
We know this is working because if you look at the test run, it shows FROM-CACHE at the end of each build.

Test run: https://github.com/aws-observability/aws-application-signals-test-framework/actions/runs/8717247804
Test run after comment: https://github.com/aws-observability/aws-application-signals-test-framework/actions/runs/8727081926
Test run after adding retries and wait time: https://github.com/aws-observability/aws-application-signals-test-framework/actions/runs/8730663803/job/23954844966

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@harrryr harrryr force-pushed the update-dockerfile branch 2 times, most recently from 1748faa to 6c84933 Compare April 17, 2024 19:12
@harrryr harrryr force-pushed the update-dockerfile branch 2 times, most recently from 749cb12 to 734539e Compare April 18, 2024 00:55
@harrryr harrryr force-pushed the update-dockerfile branch from 734539e to 31c4966 Compare April 18, 2024 00:56
@harrryr harrryr merged commit 296d7a9 into main Apr 18, 2024
@harrryr harrryr deleted the update-dockerfile branch April 18, 2024 01:09
@zzhlogin zzhlogin mentioned this pull request Apr 22, 2024
zzhlogin pushed a commit to zzhlogin/aws-application-signals-test-framework that referenced this pull request Jun 6, 2024
…-dockerfile

Update Gradlew Daemon to use existing build in cache
zzhlogin pushed a commit to zzhlogin/aws-application-signals-test-framework that referenced this pull request Jun 6, 2024
…-dockerfile

Update Gradlew Daemon to use existing build in cache
zzhlogin pushed a commit to zzhlogin/aws-application-signals-test-framework that referenced this pull request Jun 6, 2024
…-dockerfile

Update Gradlew Daemon to use existing build in cache
zzhlogin pushed a commit to zzhlogin/aws-application-signals-test-framework that referenced this pull request Jun 6, 2024
…-dockerfile

Update Gradlew Daemon to use existing build in cache
georgeboc pushed a commit to georgeboc/aws-application-signals-test-framework that referenced this pull request Jul 8, 2024
### Description of changes:
Updated the `_generate_remote_service` function to fallback to parsing
the `_HTTP_URL` attribute for the host and port and generate
remote_service from them. This will be the back up behavior until
`_NET_PEER*` gets populated properly.
GitHub issue:
open-telemetry/opentelemetry-python-contrib#2138.

### Testing
Tested it locally to see that the `aws_remote_service` is being
populated properly.
Tested by deploying the code changes to EKS and nodes were linking
together properly instead of the vehicle-service pointing to
UnknownRemoteService.

![Screenshot 2024-02-06 at 4 31
59 PM](https://github.com/aws-observability/aws-otel-python-instrumentation/assets/23292470/2636bad4-7eff-4be8-a98a-4457dfd3cd9d)


By submitting this pull request, I confirm that you can use, modify,
copy, and redistribute this contribution, under the terms of your
choice.
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.

3 participants