GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — Fix integration test dependencies to build and cosmetic changes by krk · Pull Request #1502 · async-profiler/async-profiler Conversation
Contributor
Before this PR, all integration tests depended on all builds, causing e.g. linux-x64 integration tests to wait for macos build. This is now fixed with some cosmetic changes to make the UI look like attached:
Previous look and structure
Motivation and contextIntegration tests should not wait for builds on unrelated OS/archs. How has this been tested?By the current PR github action. By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Contributor
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
apangin
reviewed
Comment on lines
+7
to
+9
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What are these definitions for? Are they even visible anywhere?
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. These are for the developer, not visible in UI afaik.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. For developers, you mean, for me and you? :) But this looks like some formal API description, not quite human-friendly. In other words, it's just too much boilerplate to explain trivial things.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why do all paths start with
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Doesn't work without.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What do you mean by "containers" here?
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I meant "non-default", considering
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Merged in to
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There is nothing special about these containers. The only difference is that
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, removed the "default" vs. "non-default" separation.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Integration tests previously did not depend on
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Good catch, removing.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
fandreuz
reviewed
|
| image: public.ecr.aws/async-profiler/asprof-builder-amazonlinux:2 | |
| # GHA provides Node.js by attaching a volume to the container. The container path is | |
| # '/__e/node20', and it's not writable unless we override it via 'container.volumes'. | |
| volumes: '["/tmp/node20:/__e/node20"]' |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| run: "[ ! -f /root/setup.sh ] || /root/setup.sh" | ||
| - name: Setup Java | ||
| uses: actions/setup-java@v4 | ||
| if: ${{ !contains(inputs.test-platform, 'alpine') }} |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Can we keep the comment here to explain why Alpine is excluded?
async-profiler/.github/workflows/test-and-publish-nightly.yml
Lines 186 to 187 in d97a7d3
| # https://github.com/actions/setup-java/issues/678#issuecomment-2446279753 | |
| if: matrix.runson.display != 'alpine' |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
This is a feature. No point in cancelling linux tests when macos tests are failing. Linux tests may fail or pass and that could give the developer an idea of what may be wrong. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
On your screenshots, previous workflow ran for 4:41, whereas the new "optimized" one ran for more than a minute longer. Why is that? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
It may have to do with waiting for a GHA runner, as I was triggering runs in quick succession before I took the screenshot. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@krk Can job titles be shortened? This is unreadable:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.