-
Notifications
You must be signed in to change notification settings - Fork 660
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
[Docs] Some P0 tests are broken #4764
Comments
🤖 Hello @iaroslav-ciupin! I'm Dosu, a bot here to assist while we wait for a human maintainer. Whether it's solving bugs, answering your questions, or helping you become a contributor, I'm here to help. Let's work together to get things sorted out! Thank you for bringing this to our attention. It seems like the tests As you correctly pointed out, relying on external data sources that are not hosted by Flyte can lead to such issues. A more reliable approach would be to host the necessary test data within the Flyte repository or another controlled environment. As for the specific functionalities of these tests, based on the context and naming conventions, it can be inferred that:
However, without the actual test files or more context, we cannot confirm this with certainty. In the meantime, I would recommend updating the tests to use a reliable data source. If the data is not sensitive, consider adding it to the repository or hosting it in a controlled environment that the tests can access. Please let me know if you need further assistance or have any other questions. Dosu SourcesThis response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research. Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant. If you want to continue the conversation, start your reply with @dosu-bot. |
1 similar comment
🤖 Hello @iaroslav-ciupin! I'm Dosu, a bot here to assist while we wait for a human maintainer. Whether it's solving bugs, answering your questions, or helping you become a contributor, I'm here to help. Let's work together to get things sorted out! Thank you for bringing this to our attention. It seems like the tests As you correctly pointed out, relying on external data sources that are not hosted by Flyte can lead to such issues. A more reliable approach would be to host the necessary test data within the Flyte repository or another controlled environment. As for the specific functionalities of these tests, based on the context and naming conventions, it can be inferred that:
However, without the actual test files or more context, we cannot confirm this with certainty. In the meantime, I would recommend updating the tests to use a reliable data source. If the data is not sensitive, consider adding it to the repository or hosting it in a controlled environment that the tests can access. Please let me know if you need further assistance or have any other questions. Dosu SourcesThis response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research. Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant. If you want to continue the conversation, start your reply with @dosu-bot. |
Hi, Implementing this change will enhance the robustness of our testing framework and make it easier to maintain moving forward. Please let me know your thoughts on this! #take |
Hi, I've created the necessary CSV files in the I checked the Here are some troubleshooting steps I've taken:
Or is there a better place to keep the test data? Like flyte's static-resources I'd appreciate any guidance or insights you could provide regarding this. Thank you! |
@eapolinario @cosmicBboy I guess referencing datasets hosted somewhere else helps keep the repo lightweight, but also may affect the example when those datasets are not available anymore in the hardcoded location. What do you think about hosting datasets used in examples in flytesnacks or static-resources? |
Keeping the necessary datasets in the repo (as long as they are not big files) is the sensible choice. Here's a PR to allow csv files in flytesnacks: flyteorg/flytesnacks#1763 |
Thank you @eapolinario @davidmirror-ops for the insights! I agree that hosting the datasets within the repository is a sensible approach, especially to avoid issues with broken links in the future. Also, thanks for creating the PR to allow CSV files in Flytesnacks. Once the PR#1763 is merged, I’ll go ahead and add the necessary CSV files for the normalization examples. If there’s anything else you think I should consider while preparing my changes, please let me know! |
@davidmirror-ops Since PR for allowing .csv file to be added got merged, I also created test_data folder and and added .csv files. Here is the PR. |
Description
P0 priority tests
data_types_and_io.file.normalize_csv_file
anddata_types_and_io.folder.download_and_normalize_csv_files
are broken. Error:GET https://people.sc.fsu.edu/~jburkardt/data/csv/biostats.csv indeed returns 404 Not Found. Probably, examples/tests should not rely on external data sources that are not hosted by Flyte.
Are you sure this issue hasn't been raised already?
Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: