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

[ENHANCEMENT] Improved Handling of Failed Library and Variable Imports #338

Open
d-biehl opened this issue Oct 20, 2024 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@d-biehl
Copy link
Member

d-biehl commented Oct 20, 2024

To enhance the robustness of Robot Framework’s import mechanism, we propose improvements for handling failed library and variable imports. The key improvements are as follows:

  1. Enhanced Failure Detection and Response:

    • Upon an import failure, attempt to analyze the root cause (e.g., missing files, incorrect paths, or network issues for remote libraries).
    • Provide more descriptive error messages or suggest potential resolutions based on the detected issue.
  2. Intelligent Retry Mechanism:

    • Avoid re-attempting failed imports during the same execution if the library meets certain conditions:
      • If it is a dynamic library (one that depends on runtime conditions).
      • If the failure is due to a timeout (e.g., network-related issues).
  3. Quickfix Option for failed imports:

    • Introduce a quickfix mechanism to allow users to update and retry the import of only the affected library.
    • To add a library to a permanent cache
@d-biehl d-biehl added the enhancement New feature or request label Oct 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant