Skip to content

Conversation

@elvisboghiu
Copy link
Contributor

Reasoning behind the pull request

Proposed changes

Testing procedure

Pre-requisites

Based on the Contributing Guidelines the PR author and the reviewers must check the following requirements are met:

  • was the PR targeted to the correct branch?
  • if this is a larger feature that probably needs more than one PR, is there a feat branch created?
  • if this is a feat branch merging, do all satellite projects have a proper tag inside go.mod?

sstanculeanu
sstanculeanu previously approved these changes Jun 19, 2025
@github-actions
Copy link

Integration Tests passed successfully!

📊 MultiversX Automated Test Report: View Report

🔄 Build Details:

  • mx-chain-go Commit Hash: f958a5a72b33278123f2ea088f9a33b3264ea765
  • Current Branch: fix_gh_action_Update_Index_Page
  • mx-chain-go Target Branch: rc/barnard
  • mx-chain-simulator-go Target Branch: rc/barnard
  • mx-chain-testing-suite Target Branch: rc/barnard
  • mx-chain-simulator-go Commit Hash: 5e209ee2544f45c6b6ab39760d94ab3dab2a90de

🚀 Environment Variables:

  • TIMESTAMP: 2025_JUNE_20__09_07_31
  • PYTEST_EXIT_CODE: 0

andreibancioiu
andreibancioiu previously approved these changes Jun 20, 2025
@codecov
Copy link

codecov bot commented Jun 20, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 75.10%. Comparing base (9d5b143) to head (e32ec7c).
Report is 9 commits behind head on rc/barnard.

Additional details and impacted files
@@             Coverage Diff             @@
##           rc/barnard    #7068   +/-   ##
===========================================
  Coverage       75.10%   75.10%           
===========================================
  Files             808      808           
  Lines          133617   133617           
===========================================
+ Hits           100348   100359   +11     
+ Misses          27578    27570    -8     
+ Partials         5691     5688    -3     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Comment on lines 365 to 366
git commit -m "Update Index of Reports" || echo "No changes to commit."
git push origin gh-pages --force
Copy link
Contributor

Choose a reason for hiding this comment

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

i think in the end status code will be taken from next command git push ...

git commit -m "Update Index of Reports" || echo "No changes to commit."
if git commit -m "Update Index of Reports"; then
git push origin gh-pages --force
else
Copy link
Collaborator

Choose a reason for hiding this comment

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

wrong indentation

@elvisboghiu elvisboghiu requested a review from sstanculeanu June 20, 2025 13:18
sstanculeanu
sstanculeanu previously approved these changes Jun 20, 2025
ssd04
ssd04 previously approved these changes Jun 20, 2025
andreibancioiu
andreibancioiu previously approved these changes Jun 20, 2025
@andreibancioiu andreibancioiu requested a review from Copilot June 20, 2025 13:20

This comment was marked as outdated.

@github-actions
Copy link

Integration Tests completed with failures or errors.

📊 MultiversX Automated Test Report: View Report

🔄 Build Details:

  • mx-chain-go Commit Hash: c35250a2723eb57dac6787751db53bfe6a3fae78
  • Current Branch: fix_gh_action_Update_Index_Page
  • mx-chain-go Target Branch: rc/barnard
  • mx-chain-simulator-go Target Branch: rc/barnard
  • mx-chain-testing-suite Target Branch: rc/barnard
  • mx-chain-simulator-go Commit Hash: 5e209ee2544f45c6b6ab39760d94ab3dab2a90de

🚀 Environment Variables:

  • TIMESTAMP: 2025_JUNE_20__14_15_23
  • PYTEST_EXIT_CODE: ``

@github-actions
Copy link

Integration Tests completed with failures or errors.

📊 MultiversX Automated Test Report: View Report

🔄 Build Details:

  • mx-chain-go Commit Hash: c35250a2723eb57dac6787751db53bfe6a3fae78
  • Current Branch: fix_gh_action_Update_Index_Page
  • mx-chain-go Target Branch: rc/barnard
  • mx-chain-simulator-go Target Branch: rc/barnard
  • mx-chain-testing-suite Target Branch: rc/barnard
  • mx-chain-simulator-go Commit Hash: N/A

🚀 Environment Variables:

  • TIMESTAMP: 2025_JUNE_23__07_38_41
  • PYTEST_EXIT_CODE: ``

@github-actions
Copy link

Integration Tests completed with failures or errors.

📊 MultiversX Automated Test Report: View Report

🔄 Build Details:

  • mx-chain-go Commit Hash: c35250a2723eb57dac6787751db53bfe6a3fae78
  • Current Branch: fix_gh_action_Update_Index_Page
  • mx-chain-go Target Branch: rc/barnard
  • mx-chain-simulator-go Target Branch: rc/barnard
  • mx-chain-testing-suite Target Branch: rc/barnard
  • mx-chain-simulator-go Commit Hash: N/A

🚀 Environment Variables:

  • TIMESTAMP: 2025_JUNE_23__07_56_17
  • PYTEST_EXIT_CODE: ``

fix re-run passed tests to not fail the ci
add file cleanup after execution
@btc-fan btc-fan dismissed stale reviews from andreibancioiu, ssd04, and sstanculeanu via 6262f96 June 23, 2025 10:44
@btc-fan
Copy link
Contributor

btc-fan commented Jun 23, 2025

Run Tests:
mx-chain-testing-suite: fix_ci

@github-actions
Copy link

Integration Tests completed with failures or errors.

📊 MultiversX Automated Test Report: View Report

🔄 Build Details:

  • mx-chain-go Commit Hash: 6262f96e7de51950a339e7777a1da0e76370111a
  • Current Branch: fix_gh_action_Update_Index_Page
  • mx-chain-go Target Branch: rc/barnard
  • mx-chain-simulator-go Target Branch: rc/barnard
  • mx-chain-testing-suite Target Branch: rc/barnard
  • mx-chain-simulator-go Commit Hash: 5e209ee2544f45c6b6ab39760d94ab3dab2a90de

🚀 Environment Variables:

  • TIMESTAMP: 2025_JUNE_23__10_45_21
  • PYTEST_EXIT_CODE: ``

@btc-fan
Copy link
Contributor

btc-fan commented Jun 23, 2025

Run Tests:
mx-chain-testing-suite: fix_ci

@github-actions
Copy link

📊 MultiversX Automated Test Report: View Report

🔄 Build Details:

  • mx-chain-go Commit Hash: 38b0585e40690c356af428cf217e49209e16a19a
  • Current Branch: master
  • mx-chain-go Target Branch: ``
  • mx-chain-simulator-go Target Branch: ``
  • mx-chain-testing-suite Target Branch: fix_ci

🚀 Environment Variables:

  • TIMESTAMP: 23062025-112501
  • PYTEST_EXIT_CODE: 0
    🎉 MultiversX CI/CD Workflow Complete!

@github-actions
Copy link

Integration Tests passed successfully!

📊 MultiversX Automated Test Report: View Report

🔄 Build Details:

  • mx-chain-go Commit Hash: 3af1f6ae5c39934b4f4ae1ba197a1326a9c79f80
  • Current Branch: fix_gh_action_Update_Index_Page
  • mx-chain-go Target Branch: rc/barnard
  • mx-chain-simulator-go Target Branch: rc/barnard
  • mx-chain-testing-suite Target Branch: fix_ci
  • mx-chain-simulator-go Commit Hash: 5e209ee2544f45c6b6ab39760d94ab3dab2a90de

🚀 Environment Variables:

  • TIMESTAMP: 2025_JUNE_23__12_19_15
  • PYTEST_EXIT_CODE: 0

sstanculeanu
sstanculeanu previously approved these changes Jun 23, 2025
- uses: actions/setup-go@v5
with:
go-version: 1.23.6
cache: false
Copy link
Contributor

Choose a reason for hiding this comment

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

Only for self-hosted.

@andreibancioiu andreibancioiu requested a review from Copilot June 23, 2025 12:34

This comment was marked as outdated.

@btc-fan btc-fan force-pushed the fix_gh_action_Update_Index_Page branch from 2605e72 to 0d9197a Compare June 23, 2025 12:38
Copy link
Contributor

@andreibancioiu andreibancioiu left a comment

Choose a reason for hiding this comment

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

Somehow overkill for a workflow. Simple cleanup, without extra checks, conditions, and reports about running processes would have worked, as well (I think).

@andreibancioiu andreibancioiu requested a review from Copilot June 23, 2025 12:47
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR updates GitHub Actions workflows to improve the "Index of Reports" update and cleanup processes during CI runs. Key changes include:

  • Disabling caching in the setup of Go actions across multiple workflows.
  • Enhancing report parsing and the commit step for updating the index, with a safety check for when there are no changes to commit.
  • Introducing a comprehensive cleanup block to terminate residual processes and remove temporary files post-test execution.

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
.github/workflows/code-coverage.yml Added “cache: false” to the Go setup step.
.github/workflows/build_and_test_on_macos.yml Added “cache: false” to the Go setup step.
.github/workflows/build_and_run_chain_simulator_and_execute_system_test.yml Updated test report parsing, refined the commit step, and added an extensive workspace cleanup process.

Comment on lines +414 to +417
if git commit -m "Update Index of Reports"; then
git push origin gh-pages --force
else
echo "No changes to commit. Nothing to push."
Copy link

Copilot AI Jun 23, 2025

Choose a reason for hiding this comment

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

[nitpick] Consider checking for changes before attempting to commit to avoid unnecessary commit attempts. Using a pre-check like 'git diff-index --quiet HEAD' can help ensure a commit is only attempted when there are changes.

Suggested change
if git commit -m "Update Index of Reports"; then
git push origin gh-pages --force
else
echo "No changes to commit. Nothing to push."
if git diff-index --quiet HEAD; then
echo "No changes to commit. Nothing to push."
else
git commit -m "Update Index of Reports"
git push origin gh-pages --force

Copilot uses AI. Check for mistakes.
fi
- name: Cleanup Workspace and Processes
Copy link

Copilot AI Jun 23, 2025

Choose a reason for hiding this comment

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

[nitpick] The cleanup block is quite extensive; consider refactoring these steps into a separate script to improve readability and reusability.

Copilot uses AI. Check for mistakes.
@github-actions
Copy link

Integration Tests passed successfully!

📊 MultiversX Automated Test Report: View Report

🔄 Build Details:

  • mx-chain-go Commit Hash: e32ec7cf64e58539af0e0e508dfd8ffeeb41005d
  • Current Branch: fix_gh_action_Update_Index_Page
  • mx-chain-go Target Branch: rc/barnard
  • mx-chain-simulator-go Target Branch: rc/barnard
  • mx-chain-testing-suite Target Branch: fix_ci
  • mx-chain-simulator-go Commit Hash: 5e209ee2544f45c6b6ab39760d94ab3dab2a90de

🚀 Environment Variables:

  • TIMESTAMP: 2025_JUNE_23__13_48_16
  • PYTEST_EXIT_CODE: 0

@github-actions
Copy link

Integration Tests passed successfully!

📊 MultiversX Automated Test Report: View Report

🔄 Build Details:

  • mx-chain-go Commit Hash: e32ec7cf64e58539af0e0e508dfd8ffeeb41005d
  • Current Branch: fix_gh_action_Update_Index_Page
  • mx-chain-go Target Branch: rc/barnard
  • mx-chain-simulator-go Target Branch: rc/barnard
  • mx-chain-testing-suite Target Branch: fix_ci
  • mx-chain-simulator-go Commit Hash: 5e209ee2544f45c6b6ab39760d94ab3dab2a90de

🚀 Environment Variables:

  • TIMESTAMP: 2025_JUNE_23__15_31_34
  • PYTEST_EXIT_CODE: 0

@github-actions
Copy link

Integration Tests passed successfully!

📊 MultiversX Automated Test Report: View Report

🔄 Build Details:

  • mx-chain-go Commit Hash: e32ec7cf64e58539af0e0e508dfd8ffeeb41005d
  • Current Branch: fix_gh_action_Update_Index_Page
  • mx-chain-go Target Branch: rc/barnard
  • mx-chain-simulator-go Target Branch: rc/barnard
  • mx-chain-testing-suite Target Branch: fix_ci
  • mx-chain-simulator-go Commit Hash: 5e209ee2544f45c6b6ab39760d94ab3dab2a90de

🚀 Environment Variables:

  • TIMESTAMP: 2025_JUNE_23__15_37_59
  • PYTEST_EXIT_CODE: 0

@github-actions
Copy link

Integration Tests passed successfully!

📊 MultiversX Automated Test Report: View Report

🔄 Build Details:

  • mx-chain-go Commit Hash: e32ec7cf64e58539af0e0e508dfd8ffeeb41005d
  • Current Branch: fix_gh_action_Update_Index_Page
  • mx-chain-go Target Branch: rc/barnard
  • mx-chain-simulator-go Target Branch: rc/barnard
  • mx-chain-testing-suite Target Branch: fix_ci
  • mx-chain-simulator-go Commit Hash: 5e209ee2544f45c6b6ab39760d94ab3dab2a90de

🚀 Environment Variables:

  • TIMESTAMP: 2025_JUNE_23__16_19_00
  • PYTEST_EXIT_CODE: 0

@btc-fan btc-fan merged commit 675a2b7 into rc/barnard Jun 24, 2025
14 of 15 checks passed
@btc-fan btc-fan deleted the fix_gh_action_Update_Index_Page branch June 24, 2025 06:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

github_actions Pull requests that update GitHub Actions code github-workflow

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants