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

ci: Get api.json from Misskeyでupload-artifact@v4で同名artifactでエラーになるのを修正 #12770

Merged
merged 3 commits into from
Dec 24, 2023

Conversation

anatawa12
Copy link
Member

@anatawa12 anatawa12 commented Dec 24, 2023

What

#12768 と同じです。

Regression in #12670

また、レポートの方でエラーになったときに何もエラーにならなかったので、エラーをプルリクに投げるようにしました。

Why

Additional info (optional)

普通の動作確認: anatawa12#10
upload-artifact@v3時代との互換性確認: anatawa12#11
report-api-diff内でのエラーの確認: anatawa12#12 (取得自体を無効化してます)

Checklist

  • Read the contribution guide
  • Test working in a local environment
  • (If needed) Add story of storybook
  • (If needed) Update CHANGELOG.md
  • (If possible) Add tests

Copy link

codecov bot commented Dec 24, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (471c8ec) 79.79% compared to head (cfa8a61) 79.89%.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop   #12770      +/-   ##
===========================================
+ Coverage    79.79%   79.89%   +0.10%     
===========================================
  Files          956      956              
  Lines       108800   108800              
  Branches      8373     8403      +30     
===========================================
+ Hits         86814    86927     +113     
+ Misses       21986    21873     -113     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@anatawa12
Copy link
Member Author

backwords compatibiltyは持たせたので古いget-api-diffの結果を新しいreport-api-diffでレポートすることはできますが、forword compatibilityはもたせてないので新しいget-api-diffの結果を古いreport-api-diffでレポートしようとしているこのブランチのreport-api-diffが落ちてるのはexpectedです

@syuilo syuilo merged commit 316ffce into misskey-dev:develop Dec 24, 2023
18 checks passed
@syuilo
Copy link
Member

syuilo commented Dec 24, 2023

🙏🙏

@samunohito
Copy link
Member

🙏

@anatawa12 anatawa12 deleted the fix-api-json-report branch December 24, 2023 05:56
camilla-ett pushed a commit to kaseiski/misskey that referenced this pull request Jan 2, 2024
misskey-dev#12770)

* ci: upload-artifact@v4で同名artifactでエラーになるのを修正

Co-authored-by: おさむのひと <46447427+samunohito@users.noreply.github.com>

* report-api-diff.ymlの最中にエラーが発生したときに分かりづらいので、PRにコメントを残すようにする

* 古いget-api-diffを使ってるactionとの互換性をもたせる

---------

Co-authored-by: おさむのひと <46447427+samunohito@users.noreply.github.com>
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