components-contrib icon indicating copy to clipboard operation
components-contrib copied to clipboard

Handle errors from parallel mode

Open gdlcf88 opened this issue 3 years ago • 17 comments

It seems that errors in the parallel mode cannot be caught: https://github.com/dapr/components-contrib/blob/v1.6.0/pubsub/rabbitmq/rabbitmq.go#L423

Based on https://github.com/dapr/components-contrib/pull/576

gdlcf88 avatar Feb 08 '22 07:02 gdlcf88

Please update tests to cover this case.

daixiang0 avatar Feb 08 '22 07:02 daixiang0

Hi @daixiang0, I have updated the tests. https://github.com/dapr/components-contrib/pull/1482/commits/8cb1052e6b19d2e6aab5ee5b22ca9976fae743b9

gdlcf88 avatar Feb 08 '22 17:02 gdlcf88

@gdlcf88 Please fix linter issues.(You can run gofumpt -e -d pubsub/rabbitmq/rabbitmq_test.go to see details)

Taction avatar Feb 23 '22 14:02 Taction

This pull request has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in 7 days if no further activity occurs. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions!

dapr-bot avatar Apr 14 '22 02:04 dapr-bot

This pull request has been automatically closed because it has not had activity in the last 37 days. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions!

dapr-bot avatar Apr 21 '22 02:04 dapr-bot

ping?

gdlcf88 avatar Apr 27 '22 08:04 gdlcf88

This is very useful PR @gdlcf88. Thanks!

@daixiang0 can you please review this?

yaron2 avatar Apr 28 '22 20:04 yaron2

ping @daixiang0

yaron2 avatar May 13 '22 22:05 yaron2

@gdlcf88 Thanks for your contribution! LGTM overall, just a nit change.

Taction avatar May 21 '22 02:05 Taction

@Taction - Thanks for reviewing. 😊

gdlcf88 avatar May 21 '22 04:05 gdlcf88

The pubsub.rabbitmq certification test is failed all the time, can you please look into this?

Taction avatar May 23 '22 11:05 Taction

The pubsub.rabbitmq certification test is failed all the time, can you please look into this?

Log

2022-05-21T07:06:26.6486731Z [36;1m  echo "::error:: No certification test file was found for component pubsub.rabbitmq"[0m

certification.yml

        # Fail the step if we found no test to run
        if grep -q "\[no test files\]" ${{ env.TEST_OUTPUT_FILE_PREFIX }}_certification.json ; then
          echo "::error:: No certification test file was found for component ${{ matrix.component }}"
          exit -1
        fi

@Taction - Sorry, I am not sure what's wrong with this PR. Could you please help?

gdlcf88 avatar May 23 '22 11:05 gdlcf88

This pull request has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in 7 days if no further activity occurs. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions!

dapr-bot avatar Jul 21 '22 23:07 dapr-bot

This pull request has been automatically closed because it has not had activity in the last 37 days. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions!

dapr-bot avatar Jul 28 '22 23:07 dapr-bot

This pull request has been automatically closed because it has not had activity in the last 37 days. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions!

dapr-bot avatar Aug 05 '22 00:08 dapr-bot

@gdlcf88 please resolve conflicts.

yaron2 avatar Aug 09 '22 16:08 yaron2

Codecov Report

Merging #1482 (c9dadcb) into master (a69b9b9) will increase coverage by 0.08%. The diff coverage is 71.76%.

@@            Coverage Diff             @@
##           master    #1482      +/-   ##
==========================================
+ Coverage   37.62%   37.70%   +0.08%     
==========================================
  Files         192      192              
  Lines       23982    24026      +44     
==========================================
+ Hits         9023     9059      +36     
- Misses      14193    14199       +6     
- Partials      766      768       +2     
Impacted Files Coverage Δ
pubsub/rabbitmq/rabbitmq.go 60.00% <71.76%> (+2.58%) :arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

codecov[bot] avatar Aug 11 '22 01:08 codecov[bot]

This pull request has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in 7 days if no further activity occurs. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions!

dapr-bot avatar Oct 29 '22 23:10 dapr-bot

This pull request has been automatically closed because it has not had activity in the last 37 days. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions!

dapr-bot avatar Nov 05 '22 23:11 dapr-bot

This pull request has been automatically closed because it has not had activity in the last 37 days. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions!

dapr-bot avatar Nov 12 '22 23:11 dapr-bot