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

Fix test failure issue creation #5710

Merged
merged 1 commit into from
Jun 13, 2023
Merged

Fix test failure issue creation #5710

merged 1 commit into from
Jun 13, 2023

Conversation

youngbupark
Copy link

@youngbupark youngbupark commented Jun 13, 2023

Description

GitHub Team cannot be assignees. So issue creation is failing now.

Issue reference

Fixes: #issue_number

Checklist

Please make sure you've completed the relevant tasks for this PR, out of the following list:

  • Code compiles correctly
  • Adds necessary unit tests for change
  • Adds necessary E2E tests for change
  • Unit tests passing
  • Extended the documentation / Created issue for it

Auto-generated summary

🤖 Generated by Copilot at 1f35b10

Summary

🚫🧹🤷

Removed assignees field from create-issue step in .github/workflows/functional-test.yaml. This simplifies the workflow and avoids assigning issues to a specific team.

assignees gone
workflow config simplified
autumn leaves fall fast

Walkthrough

  • Remove assignees field from create-issue step in functional-test workflow (link). This simplifies the workflow configuration and avoids assigning issues to a specific team. The workflow runs functional tests on every pull request to the main branch of the .github/workflows/functional-test.yaml file and creates an issue if any test fails.

@youngbupark youngbupark requested a review from a team as a code owner June 13, 2023 22:58
@youngbupark
Copy link
Author

/ok-to-test

@github-actions
Copy link

github-actions bot commented Jun 13, 2023

Radius functional test overview

🔍 Go to test action run

Name Value
Repository project-radius/radius
Commit ref 1f35b10
Unique ID 3ec1b166b9
Image tag pr-3ec1b166b9
Click here to see the list of tools in the current test run
  • gotestsum 1.10.0
  • KinD: v0.18.0
  • Dapr: 1.10.0
  • Azure KeyVault CSI driver: 1.4.2
  • Azure Workload identity webhook: 1.0.0
  • recipe location radiusdev.azurecr.io/test/functional/corerp/recipes/<name>:pr-3ec1b166b9
  • appcore-rp test image location: radiusdev.azurecr.io/appcore-rp:pr-3ec1b166b9
  • ucp test image location: radiusdev.azurecr.io/ucpd:pr-3ec1b166b9

Test Status

⌛ Building Radius and pushing container images for functional tests...
✅ Container images build succeeded
⌛ Publishing Bicep Recipes for functional tests...
✅ Recipe publishing succeeded
⌛ Starting corerp functional tests...
⌛ Starting samples functional tests...
✅ samples functional tests succeeded
⌛ Starting ucp functional tests...
✅ ucp functional tests succeeded
✅ corerp functional tests succeeded

@github-actions
Copy link

Test Results

2 699 tests  ±0   2 692 ✔️ ±0   1m 56s ⏱️ -1s
   239 suites ±0          7 💤 ±0 
       1 files   ±0          0 ±0 

Results for commit 1f35b10. ± Comparison against base commit 6357cb7.

This pull request removes 2 and adds 2 tests. Note that renamed tests count towards both.
github.com/project-radius/radius/pkg/armrpc/frontend/controller ‑ TestValidateEtag_IfMatch/5d7544a3-9eca-4b0a-b0ef-a4f6c071a25f
github.com/project-radius/radius/pkg/armrpc/frontend/controller ‑ TestValidateEtag_IfMatch/5d7544a3-9eca-4b0a-b0ef-a4f6c071a25f#01
github.com/project-radius/radius/pkg/armrpc/frontend/controller ‑ TestValidateEtag_IfMatch/3d848d3a-6459-4846-8348-0a92d756e3c5
github.com/project-radius/radius/pkg/armrpc/frontend/controller ‑ TestValidateEtag_IfMatch/3d848d3a-6459-4846-8348-0a92d756e3c5#01

@github-actions
Copy link

63.8

For the detailed report, please go to Checks tab, click Build and Test, and then download unit_test_coverage artifact at the bottom of build page.

  • Your PR branch coverage: 63.8 %
  • main branch coverage: 63.8 %
  • diff coverage: 0 %

The coverage result does not include the functional test coverage.

@youngbupark youngbupark merged commit dc49de4 into main Jun 13, 2023
@youngbupark youngbupark deleted the youngp/remove-assignees branch June 13, 2023 23:47
Copy link
Contributor

@rynowak rynowak left a comment

Choose a reason for hiding this comment

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

:shipit:

nithyatsu pushed a commit that referenced this pull request Jun 21, 2023
# Description

GitHub Team cannot be `assignees`. So issue creation is failing now.

## Issue reference

<!--
We strive to have all PR being opened based on an issue, where the
problem or feature have been discussed prior to implementation.
-->

Fixes: #issue_number

## Checklist

Please make sure you've completed the relevant tasks for this PR, out of
the following list:

* [ ] Code compiles correctly
* [ ] Adds necessary unit tests for change
* [ ] Adds necessary E2E tests for change
* [ ] Unit tests passing
* [ ] Extended the documentation / Created issue for it

## Auto-generated summary

<!--
GitHub Copilot for docs will auto-generate a summary of the PR
-->

<!--
copilot:all
-->
### <samp>🤖 Generated by Copilot at 1f35b10</samp>

### Summary
🚫🧹🤷

<!--
1. 🚫 - This emoji conveys the idea of removing or deleting something,
which is what happened to the `assignees` field. It can also imply a
negative or unwanted outcome, which might be the case if the issue is
not assigned to anyone who can fix it.
2. 🧹 - This emoji suggests the idea of cleaning or simplifying
something, which is the intention behind omitting the `assignees` field.
It can also imply a positive or desirable outcome, which might be the
case if the workflow configuration is easier to read and maintain.
3. 🤷 - This emoji expresses the idea of uncertainty or indifference,
which might be the attitude of the workflow creator or the issue creator
towards the `assignees` field. It can also imply a lack of
responsibility or accountability, which might be the case if the issue
is not assigned to anyone who can fix it.
-->
Removed `assignees` field from `create-issue` step in
`.github/workflows/functional-test.yaml`. This simplifies the workflow
and avoids assigning issues to a specific team.

> _`assignees` gone_
> _workflow config simplified_
> _autumn leaves fall fast_

### Walkthrough
* Remove `assignees` field from `create-issue` step in `functional-test`
workflow
([link](https://github.com/project-radius/radius/pull/5710/files?diff=unified&w=0#diff-c79f364a9293abaaa8595776b74674e24bec6287834e63ab8aa7aec6a42f0dbcL525)).
This simplifies the workflow configuration and avoids assigning issues
to a specific team. The workflow runs functional tests on every pull
request to the `main` branch of the
`.github/workflows/functional-test.yaml` file and creates an issue if
any test fails.
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