-
Notifications
You must be signed in to change notification settings - Fork 29
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
[BUG] The website is broken #91
Comments
@etpeterson, I checked the reason for it not working, the website deploy Github Action depends on workflow_run. https://github.com/OSIPI/TF2.4_IVIM-MRI_CodeCollection/blob/main/.github/workflows/website.yml#L6
The workflow_run is currently failing due to the deprecated version of actions/upload-artifact: v3`. Error: This request has been automatically failed because it uses a deprecated version of Will open a pr to update the version. |
Thanks! Looks good. |
@etpeterson, This is still not fixed yet due to the workflow_run. But, this time, it is because the artifact being existed before. " Maybe you could deleted the artifact or we could change the retention time ? |
I think we can just set overwrite to true. We want to update those files anyway. |
Yeah, that is true. Let me send a pr for that. |
Hi, I was exploring this issue a few days ago and made some attempts that might help @Unique-Usman with his PR. Code: # build steps...
- name: Upload raw data
uses: actions/upload-artifact@v4
with:
name: Working_Data_${{ matrix.algorithm }}_${{ matrix.SNR }}
retention-days: 1
path: |
test_output_${{ matrix.algorithm }}_${{ matrix.SNR }}.csv
test_duration_${{ matrix.algorithm }}_${{ matrix.SNR }}.csv
overwrite: true
merge:
runs-on: ubuntu-latest
needs: build
steps:
- name: Download artifacts
uses: actions/download-artifact@v4
with:
path: artifacts
pattern: Working_Data_*
merge-multiple: true
- name: List downloaded files
run: find artifacts -type f | sort
- name: Merge fitting results
run: |
# Find the first output file to get the header
FIRST_OUTPUT=$(find artifacts -name "test_output_*.csv" | head -n 1)
head -n 1 "$FIRST_OUTPUT" > test_output.csv
find artifacts -name "test_output_*.csv" -exec tail -q -n +2 {} \; >> test_output.csv |
You can find the run details for this solution here |
@Unique-Usman Seems like it's still failing and @AhmedBasem20 might have an idea? |
Thanks @AhmedBasem20 and @etpeterson , I will take a look at it. |
@AhmedBasem20 and @etpeterson, I looked into, it seems to me it is as a result of some non-present test reference file or incorrect content. I might need you guys to take a look also. Thank. |
Not sure I understand the question/ask. Where are you seeing/testing it? |
@etpeterson I means you should take a look at the action run by @AhmedBasem20 on his fork https://github.com/AhmedBasem20/TF2.4_IVIM-MRI_CodeCollection/actions/runs/13660567625 |
@etpeterson To add more context, there are two issues in the analysis pipeline:
If possible, the analysis workflow should also run on pull request event to ensure it passes before merging, correct? |
@AhmedBasem20 thanks for adding context. Regarding 1. I took a look and it seems like a good fix. I think only the changes to the uploader and downloader are needed. The merging changes aren't necessary, correct? They both seem to be doing the same thing. Regarding 2. I totally missed that it started to fail so long ago! Not great on my part. I think that's a real failure of the compare script. It could be the script needs to be updated, but it looks like one or more of the algorithms are not performing well anymore. I attached the results and you can see where it's FALSE it failed the comparison. Could try following this https://github.com/OSIPI/TF2.4_IVIM-MRI_CodeCollection/blob/main/tests/IVIMmodels/unit_tests/compare.r#L6 but I think it might be more than just a simple failure and might need some debugging. |
Oh also, the analysis pipeline is too long to run for every PR. It would be nice to but it just takes too long. Maybe there's a way to speed it up or do a fast version? |
While there could be speed up, I do not think it is too long for PR. I have seen some projects PRs taking longer. Having it will really safe us lot of headache in the that arises as a result of not having it. |
Is there an existing issue for this?
Describe the bug
The website that should be automatically generated is not working. https://osipi.github.io/TF2.4_IVIM-MRI_CodeCollection/
Screenshots [optional]
No response
Steps To Reproduce
Visit https://osipi.github.io/TF2.4_IVIM-MRI_CodeCollection/
Observe an error
Expected behavior
The website should be functional and should be updated when the pipeline runs.
Additional context
No response
Are you working on this?
None
The text was updated successfully, but these errors were encountered: