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] automatically close issues marked awaiting answer #13668

Merged
merged 1 commit into from Mar 8, 2024

Conversation

titusfortner
Copy link
Member

@titusfortner titusfortner commented Mar 8, 2024

User description

We (well, Diego) spend a lot of time going back and closing issues when we don't hear back from the author. It would save time (and feel less personal) if this were made automatic. To work it uses the stale github action to remove the awaiting-answer label and restore the needs-triage label if any additional comment is made. This has the added benefit of allowing us to filter the needs-triage labels to see only issues with new information.


Type

enhancement


Description

  • Upgraded GitHub stale action to version 9 for better performance and features.
  • Introduced a new automated process to close issues marked 'R-awaiting answer' after 14 days of inactivity, improving issue management efficiency.
  • Configured to automatically add 'needs-triaging' label to issues that receive updates after being marked as stale, facilitating easier tracking and management.

Changes walkthrough

Relevant files
Enhancement
stale.yml
Enhance Issue Management with Automated Closing for Awaiting Answer

.github/workflows/stale.yml

  • Updated the stale GitHub action to version 9.
  • Added a new stale action specifically for issues labeled 'R-awaiting
    answer'.
  • Configured the new action to close issues after 14 days if no
    additional information is provided.
  • Set the action to add 'needs-triaging' label when an issue becomes
    unstale.
  • +9/-2     

    PR-Agent usage:
    Comment /help on the PR to get a list of all available PR-Agent tools and their descriptions

    @titusfortner titusfortner added the C-build Build related issues (bazel and CI) label Mar 8, 2024
    @titusfortner titusfortner requested a review from diemol March 8, 2024 22:26
    Copy link

    PR Description updated to latest commit (db280a5)

    Copy link

    PR Review

    ⏱️ Estimated effort to review [1-5]

    2, because the changes are focused on GitHub Actions configuration, which is generally straightforward to review. The modifications are clear and pertain to automating issue management, which does not involve complex logic changes.

    🧪 Relevant tests

    No, as this change is specific to GitHub workflow automation and does not directly affect the codebase or require unit/integration tests.

    🔍 Possible issues

    Incorrect Label Usage: Ensure that the 'R-awaiting answer' and 'needs-triaging' labels exist and are used consistently across the project. Misnaming or lack of these labels could lead to the action not working as intended.

    Negative Days Before Stale: The configuration days-before-stale: -1 for the 'R-awaiting answer' label might be intended to immediately mark issues as stale, but it's unusual to see a negative value here. Confirm this is the desired behavior.

    🔒 Security concerns

    No


    ✨ Review tool usage guide:

    Overview:
    The review tool scans the PR code changes, and generates a PR review. The tool can be triggered automatically every time a new PR is opened, or can be invoked manually by commenting on any PR.
    When commenting, to edit configurations related to the review tool (pr_reviewer section), use the following template:

    /review --pr_reviewer.some_config1=... --pr_reviewer.some_config2=...
    

    With a configuration file, use the following template:

    [pr_reviewer]
    some_config1=...
    some_config2=...
    
    Utilizing extra instructions

    The review tool can be configured with extra instructions, which can be used to guide the model to a feedback tailored to the needs of your project.

    Be specific, clear, and concise in the instructions. With extra instructions, you are the prompter. Specify the relevant sub-tool, and the relevant aspects of the PR that you want to emphasize.

    Examples for extra instructions:

    [pr_reviewer] # /review #
    extra_instructions="""
    In the 'possible issues' section, emphasize the following:
    - Does the code logic cover relevant edge cases?
    - Is the code logic clear and easy to understand?
    - Is the code logic efficient?
    ...
    """
    

    Use triple quotes to write multi-line instructions. Use bullet points to make the instructions more readable.

    How to enable\disable automation
    • When you first install PR-Agent app, the default mode for the review tool is:
    pr_commands = ["/review", ...]
    

    meaning the review tool will run automatically on every PR, with the default configuration.
    Edit this field to enable/disable the tool, or to change the used configurations

    Auto-labels

    The review tool can auto-generate two specific types of labels for a PR:

    • a possible security issue label, that detects possible security issues (enable_review_labels_security flag)
    • a Review effort [1-5]: x label, where x is the estimated effort to review the PR (enable_review_labels_effort flag)
    Extra sub-tools

    The review tool provides a collection of possible feedbacks about a PR.
    It is recommended to review the possible options, and choose the ones relevant for your use case.
    Some of the feature that are disabled by default are quite useful, and should be considered for enabling. For example:
    require_score_review, require_soc2_ticket, and more.

    Auto-approve PRs

    By invoking:

    /review auto_approve
    

    The tool will automatically approve the PR, and add a comment with the approval.

    To ensure safety, the auto-approval feature is disabled by default. To enable auto-approval, you need to actively set in a pre-defined configuration file the following:

    [pr_reviewer]
    enable_auto_approval = true
    

    (this specific flag cannot be set with a command line argument, only in the configuration file, committed to the repository)

    You can also enable auto-approval only if the PR meets certain requirements, such as that the estimated_review_effort is equal or below a certain threshold, by adjusting the flag:

    [pr_reviewer]
    maximal_review_effort = 5
    
    More PR-Agent commands

    To invoke the PR-Agent, add a comment using one of the following commands:

    • /review: Request a review of your Pull Request.
    • /describe: Update the PR title and description based on the contents of the PR.
    • /improve [--extended]: Suggest code improvements. Extended mode provides a higher quality feedback.
    • /ask <QUESTION>: Ask a question about the PR.
    • /update_changelog: Update the changelog based on the PR's contents.
    • /add_docs 💎: Generate docstring for new components introduced in the PR.
    • /generate_labels 💎: Generate labels for the PR based on the PR's contents.
    • /analyze 💎: Automatically analyzes the PR, and presents changes walkthrough for each component.

    See the tools guide for more details.
    To list the possible configuration parameters, add a /config comment.

    See the review usage page for a comprehensive guide on using this tool.

    Copy link

    codiumai-pr-agent-pro bot commented Mar 8, 2024

    PR Code Suggestions

    CategorySuggestions                                                                                                                                                       
    Maintainability
    Consolidate duplicated actions/stale@v9 configurations into a single instance.

    The configuration for actions/stale@v9 is duplicated, which could lead to unintended
    behavior or confusion. Consider consolidating the configuration into a single instance of
    actions/stale@v9 and combining the settings as needed to cover both use cases. This will
    make the workflow more maintainable and easier to understand.

    .github/workflows/stale.yml [19-33]

     - uses: actions/stale@v9
       with:
         stale-issue-message: 'This issue is stale because it has been open 280 days with no activity. Remove stale label or comment or this will be closed in 14 days.'
         close-issue-message: 'This issue was closed because it has been stalled for 14 days with no activity.'
         stale-issue-label: 'I-stale'
         days-before-stale: 280
         days-before-close: 14
    -- uses: actions/stale@v9
    -  with:
    -    close-issue-message: 'This issue was closed because we did not receive any additional information after 14 days.'
    -    stale-issue-label: 'R-awaiting answer'
    -    days-before-stale: -1
    -    days-before-close: 14
    +    # Additional settings for specific use case
    +    additional-close-issue-message: 'This issue was closed because we did not receive any additional information after 14 days.'
    +    additional-stale-issue-label: 'R-awaiting answer'
    +    additional-days-before-stale: -1
    +    additional-days-before-close: 14
         labels-to-add-when-unstale: 'needs-triaging'
     

    ✨ Improve tool usage guide:

    Overview:
    The improve tool scans the PR code changes, and automatically generates suggestions for improving the PR code. The tool can be triggered automatically every time a new PR is opened, or can be invoked manually by commenting on a PR.
    When commenting, to edit configurations related to the improve tool (pr_code_suggestions section), use the following template:

    /improve --pr_code_suggestions.some_config1=... --pr_code_suggestions.some_config2=...
    

    With a configuration file, use the following template:

    [pr_code_suggestions]
    some_config1=...
    some_config2=...
    
    Enabling\disabling automation

    When you first install the app, the default mode for the improve tool is:

    pr_commands = ["/improve --pr_code_suggestions.summarize=true", ...]
    

    meaning the improve tool will run automatically on every PR, with summarization enabled. Delete this line to disable the tool from running automatically.

    Utilizing extra instructions

    Extra instructions are very important for the improve tool, since they enable to guide the model to suggestions that are more relevant to the specific needs of the project.

    Be specific, clear, and concise in the instructions. With extra instructions, you are the prompter. Specify relevant aspects that you want the model to focus on.

    Examples for extra instructions:

    [pr_code_suggestions] # /improve #
    extra_instructions="""
    Emphasize the following aspects:
    - Does the code logic cover relevant edge cases?
    - Is the code logic clear and easy to understand?
    - Is the code logic efficient?
    ...
    """
    

    Use triple quotes to write multi-line instructions. Use bullet points to make the instructions more readable.

    A note on code suggestions quality
    • While the current AI for code is getting better and better (GPT-4), it's not flawless. Not all the suggestions will be perfect, and a user should not accept all of them automatically.
    • Suggestions are not meant to be simplistic. Instead, they aim to give deep feedback and raise questions, ideas and thoughts to the user, who can then use his judgment, experience, and understanding of the code base.
    • Recommended to use the 'extra_instructions' field to guide the model to suggestions that are more relevant to the specific needs of the project, or use the custom suggestions 💎 tool
    • With large PRs, best quality will be obtained by using 'improve --extended' mode.
    More PR-Agent commands

    To invoke the PR-Agent, add a comment using one of the following commands:

    • /review: Request a review of your Pull Request.
    • /describe: Update the PR title and description based on the contents of the PR.
    • /improve [--extended]: Suggest code improvements. Extended mode provides a higher quality feedback.
    • /ask <QUESTION>: Ask a question about the PR.
    • /update_changelog: Update the changelog based on the PR's contents.
    • /add_docs 💎: Generate docstring for new components introduced in the PR.
    • /generate_labels 💎: Generate labels for the PR based on the PR's contents.
    • /analyze 💎: Automatically analyzes the PR, and presents changes walkthrough for each component.

    See the tools guide for more details.
    To list the possible configuration parameters, add a /config comment.

    See the improve usage page for a more comprehensive guide on using this tool.

    @titusfortner
    Copy link
    Member Author

    We probably should go through all the awaiting-answer labels before merging this and if they have responses change them to needs-triaging 😄

    Copy link

    CI Failure Feedback

    Action: Test / All RBE tests

    Failed stage: Run Bazel [❌]

    Failure summary:

    The action failed due to an error in parsing the PEP 440 version identifier for the selenium-wheel
    target. The specified version '4.19.0.nightly' does not comply with PEP 440 versioning standards
    because of the '.nightly' suffix. PEP 440 does not recognize '.nightly' as a valid version
    specifier, leading to a parse error.

    Relevant error logs:
    1:  ##[group]Operating System
    2:  Ubuntu
    ...
    
    963:  Package 'php-symfony-debug-bundle' is not installed, so not removed
    964:  Package 'php-symfony-dependency-injection' is not installed, so not removed
    965:  Package 'php-symfony-deprecation-contracts' is not installed, so not removed
    966:  Package 'php-symfony-discord-notifier' is not installed, so not removed
    967:  Package 'php-symfony-doctrine-bridge' is not installed, so not removed
    968:  Package 'php-symfony-doctrine-messenger' is not installed, so not removed
    969:  Package 'php-symfony-dom-crawler' is not installed, so not removed
    970:  Package 'php-symfony-dotenv' is not installed, so not removed
    971:  Package 'php-symfony-error-handler' is not installed, so not removed
    ...
    
    1670:  (22:29:57) �[32mINFO: �[0mAnalyzed 1243 targets (926 packages loaded, 38963 targets configured).
    1671:  (22:29:57) �[32mINFO: �[0mFound 1243 test targets...
    1672:  (22:29:57) �[32m[0 / 84]�[0m [Prepa] Writing file dotnet/test/common/ClickTest-chrome/net7.0/WebDriver.Common.Tests.deps.json
    1673:  (22:30:02) �[32m[539 / 1,583]�[0m Creating runfiles tree bazel-out/k8-fastbuild-ST-5ed0eea50982/bin/dotnet/test/common/DevTools/DevToolsConsoleTest-firefox/net7.0/WebDriver.Common.Tests.dll.sh.runfiles; 4s local ... (48 actions, 45 running)
    1674:  (22:30:08) �[32m[1,348 / 3,058]�[0m Creating runfiles tree bazel-out/k8-fastbuild-ST-5ed0eea50982/bin/dotnet/test/common/DevTools/DevToolsConsoleTest-firefox/net7.0/WebDriver.Common.Tests.dll.sh.runfiles; 9s local ... (50 actions, 47 running)
    1675:  (22:30:11) �[32mINFO: �[0mFrom Compiling generator [for tool]:
    1676:  warning CS1701: Assuming assembly reference 'System.Runtime, Version=4.2.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' used by 'Microsoft.Extensions.DependencyInjection' matches identity 'System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' of 'System.Runtime', you may need to supply runtime policy
    1677:  (22:30:12) �[32mINFO: �[0mFrom Building java/src/org/openqa/selenium/remote/libapi-class.jar (65 source files):
    1678:  java/src/org/openqa/selenium/remote/ErrorHandler.java:46: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1679:  private final ErrorCodes errorCodes;
    1680:  ^
    1681:  java/src/org/openqa/selenium/remote/ErrorHandler.java:60: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1682:  this.errorCodes = new ErrorCodes();
    1683:  ^
    1684:  java/src/org/openqa/selenium/remote/ErrorHandler.java:68: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1685:  public ErrorHandler(ErrorCodes codes, boolean includeServerErrors) {
    1686:  ^
    1687:  java/src/org/openqa/selenium/remote/Response.java:97: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1688:  ErrorCodes errorCodes = new ErrorCodes();
    1689:  ^
    1690:  java/src/org/openqa/selenium/remote/Response.java:97: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1691:  ErrorCodes errorCodes = new ErrorCodes();
    1692:  ^
    1693:  java/src/org/openqa/selenium/remote/ProtocolHandshake.java:206: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1694:  response.setStatus(ErrorCodes.SUCCESS);
    1695:  ^
    1696:  java/src/org/openqa/selenium/remote/ProtocolHandshake.java:207: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1697:  response.setState(ErrorCodes.SUCCESS_STRING);
    1698:  ^
    1699:  java/src/org/openqa/selenium/remote/W3CHandshakeResponse.java:53: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1700:  new ErrorCodes().toStatus((String) rawError, Optional.of(tuple.getStatusCode())));
    1701:  ^
    1702:  java/src/org/openqa/selenium/remote/W3CHandshakeResponse.java:56: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1703:  new ErrorCodes().getExceptionType((String) rawError);
    1704:  ^
    1705:  java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:44: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1706:  private final ErrorCodes errorCodes = new ErrorCodes();
    1707:  ^
    1708:  java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:44: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1709:  private final ErrorCodes errorCodes = new ErrorCodes();
    1710:  ^
    1711:  java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:55: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1712:  int status = response.getStatus() == ErrorCodes.SUCCESS ? HTTP_OK : HTTP_INTERNAL_ERROR;
    1713:  ^
    1714:  java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:101: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1715:  response.setStatus(ErrorCodes.UNKNOWN_COMMAND);
    1716:  ^
    1717:  java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:103: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1718:  response.setStatus(ErrorCodes.UNHANDLED_ERROR);
    1719:  ^
    1720:  java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:124: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1721:  response.setStatus(ErrorCodes.SUCCESS);
    1722:  ^
    1723:  java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:125: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1724:  response.setState(errorCodes.toState(ErrorCodes.SUCCESS));
    1725:  ^
    1726:  java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:131: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1727:  response.setState(errorCodes.toState(ErrorCodes.SUCCESS));
    1728:  ^
    1729:  java/src/org/openqa/selenium/remote/codec/w3c/W3CHttpResponseCodec.java:70: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1730:  private final ErrorCodes errorCodes = new ErrorCodes();
    1731:  ^
    1732:  java/src/org/openqa/selenium/remote/codec/w3c/W3CHttpResponseCodec.java:70: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1733:  private final ErrorCodes errorCodes = new ErrorCodes();
    1734:  ^
    1735:  java/src/org/openqa/selenium/remote/codec/w3c/W3CHttpResponseCodec.java:93: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1736:  response.setStatus(ErrorCodes.UNKNOWN_COMMAND);
    1737:  ^
    1738:  java/src/org/openqa/selenium/remote/codec/w3c/W3CHttpResponseCodec.java:98: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1739:  response.setStatus(ErrorCodes.UNHANDLED_ERROR);
    1740:  ^
    1741:  java/src/org/openqa/selenium/remote/codec/w3c/W3CHttpResponseCodec.java:145: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1742:  response.setStatus(ErrorCodes.SUCCESS);
    1743:  ^
    1744:  (22:30:13) �[32m[2,368 / 3,352]�[0m Creating runfiles tree bazel-out/k8-fastbuild-ST-5ed0eea50982/bin/dotnet/test/common/DevTools/DevToolsConsoleTest-firefox/net7.0/WebDriver.Common.Tests.dll.sh.runfiles; 14s local ... (50 actions, 44 running)
    1745:  (22:30:17) �[32mINFO: �[0mFrom Building java/src/org/openqa/selenium/grid/web/libweb.jar (19 source files):
    1746:  java/src/org/openqa/selenium/grid/web/NoHandler.java:23: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1747:  import static org.openqa.selenium.remote.ErrorCodes.UNKNOWN_COMMAND;
    ...
    
    1753:  (22:30:39) �[32m[4,071 / 4,124]�[0m Creating runfiles tree bazel-out/k8-fastbuild-ST-5ed0eea50982/bin/dotnet/test/common/ElementFindingTest-chrome/net7.0/WebDriver.Common.Tests.dll.sh.runfiles; 22s local ... (50 actions, 49 running)
    1754:  (22:30:44) �[32m[4,118 / 4,168]�[0m Creating runfiles tree bazel-out/k8-fastbuild-ST-5ed0eea50982/bin/dotnet/test/common/ExecutingAsyncJavascriptTest-chrome/net7.0/WebDriver.Common.Tests.dll.sh.runfiles; 24s local ... (50 actions running)
    1755:  (22:30:49) �[32m[4,147 / 4,196]�[0m Creating runfiles tree bazel-out/k8-fastbuild-ST-5ed0eea50982/bin/dotnet/test/common/FrameSwitchingTest-firefox/net7.0/WebDriver.Common.Tests.dll.sh.runfiles; 27s local ... (49 actions running)
    1756:  (22:30:54) �[32m[4,202 / 4,257]�[0m Creating runfiles tree bazel-out/k8-fastbuild-ST-5ed0eea50982/bin/dotnet/test/common/GetLogsTest-chrome/net7.0/WebDriver.Common.Tests.dll.sh.runfiles; 29s local ... (50 actions, 49 running)
    1757:  (22:30:59) �[32m[4,350 / 4,404]�[0m Creating runfiles tree bazel-out/k8-fastbuild-ST-5ed0eea50982/bin/dotnet/test/common/Interactions/DragAndDropTest-firefox/net7.0/WebDriver.Common.Tests.dll.sh.runfiles; 30s local ... (50 actions, 49 running)
    1758:  (22:31:04) �[32m[4,471 / 4,528]�[0m Creating runfiles tree bazel-out/k8-fastbuild-ST-5ed0eea50982/bin/dotnet/test/common/ProxySettingTest-firefox/net7.0/WebDriver.Common.Tests.dll.sh.runfiles; 24s local ... (50 actions, 49 running)
    1759:  (22:31:09) �[32m[5,771 / 6,667]�[0m Creating runfiles tree bazel-out/k8-fastbuild-ST-5ed0eea50982/bin/dotnet/test/common/ProxySettingTest-firefox/net7.0/WebDriver.Common.Tests.dll.sh.runfiles; 29s local ... (49 actions, 47 running)
    1760:  (22:31:11) �[32mINFO: �[0mFrom Building java/src/org/openqa/selenium/remote/libapi-class.jar (65 source files):
    1761:  java/src/org/openqa/selenium/remote/ErrorHandler.java:46: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1762:  private final ErrorCodes errorCodes;
    1763:  ^
    1764:  java/src/org/openqa/selenium/remote/ErrorHandler.java:60: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1765:  this.errorCodes = new ErrorCodes();
    1766:  ^
    1767:  java/src/org/openqa/selenium/remote/ErrorHandler.java:68: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1768:  public ErrorHandler(ErrorCodes codes, boolean includeServerErrors) {
    1769:  ^
    1770:  java/src/org/openqa/selenium/remote/Response.java:97: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1771:  ErrorCodes errorCodes = new ErrorCodes();
    1772:  ^
    1773:  java/src/org/openqa/selenium/remote/Response.java:97: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1774:  ErrorCodes errorCodes = new ErrorCodes();
    1775:  ^
    1776:  java/src/org/openqa/selenium/remote/ProtocolHandshake.java:206: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1777:  response.setStatus(ErrorCodes.SUCCESS);
    1778:  ^
    1779:  java/src/org/openqa/selenium/remote/ProtocolHandshake.java:207: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1780:  response.setState(ErrorCodes.SUCCESS_STRING);
    1781:  ^
    1782:  java/src/org/openqa/selenium/remote/W3CHandshakeResponse.java:53: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1783:  new ErrorCodes().toStatus((String) rawError, Optional.of(tuple.getStatusCode())));
    1784:  ^
    1785:  java/src/org/openqa/selenium/remote/W3CHandshakeResponse.java:56: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1786:  new ErrorCodes().getExceptionType((String) rawError);
    1787:  ^
    1788:  java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:44: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1789:  private final ErrorCodes errorCodes = new ErrorCodes();
    1790:  ^
    1791:  java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:44: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1792:  private final ErrorCodes errorCodes = new ErrorCodes();
    1793:  ^
    1794:  java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:55: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1795:  int status = response.getStatus() == ErrorCodes.SUCCESS ? HTTP_OK : HTTP_INTERNAL_ERROR;
    1796:  ^
    1797:  java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:101: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1798:  response.setStatus(ErrorCodes.UNKNOWN_COMMAND);
    1799:  ^
    1800:  java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:103: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1801:  response.setStatus(ErrorCodes.UNHANDLED_ERROR);
    1802:  ^
    1803:  java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:124: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1804:  response.setStatus(ErrorCodes.SUCCESS);
    1805:  ^
    1806:  java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:125: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1807:  response.setState(errorCodes.toState(ErrorCodes.SUCCESS));
    1808:  ^
    1809:  java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:131: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1810:  response.setState(errorCodes.toState(ErrorCodes.SUCCESS));
    1811:  ^
    1812:  java/src/org/openqa/selenium/remote/codec/w3c/W3CHttpResponseCodec.java:70: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1813:  private final ErrorCodes errorCodes = new ErrorCodes();
    1814:  ^
    1815:  java/src/org/openqa/selenium/remote/codec/w3c/W3CHttpResponseCodec.java:70: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1816:  private final ErrorCodes errorCodes = new ErrorCodes();
    1817:  ^
    1818:  java/src/org/openqa/selenium/remote/codec/w3c/W3CHttpResponseCodec.java:93: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1819:  response.setStatus(ErrorCodes.UNKNOWN_COMMAND);
    1820:  ^
    1821:  java/src/org/openqa/selenium/remote/codec/w3c/W3CHttpResponseCodec.java:98: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1822:  response.setStatus(ErrorCodes.UNHANDLED_ERROR);
    1823:  ^
    1824:  java/src/org/openqa/selenium/remote/codec/w3c/W3CHttpResponseCodec.java:145: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1825:  response.setStatus(ErrorCodes.SUCCESS);
    1826:  ^
    1827:  (22:31:14) �[32m[6,467 / 6,983]�[0m Creating runfiles tree bazel-out/k8-fastbuild-ST-5ed0eea50982/bin/dotnet/test/common/SessionHandlingTest-firefox/net7.0/WebDriver.Common.Tests.dll.sh.runfiles; 28s local ... (50 actions, 49 running)
    1828:  (22:31:19) �[32m[6,831 / 7,060]�[0m Creating runfiles tree bazel-out/k8-fastbuild-ST-5ed0eea50982/bin/dotnet/test/common/SlowLoadingPageTest-firefox/net7.0/WebDriver.Common.Tests.dll.sh.runfiles; 29s local ... (50 actions, 49 running)
    1829:  (22:31:19) �[32mINFO: �[0mFrom Building java/src/org/openqa/selenium/grid/web/libweb.jar (19 source files):
    1830:  java/src/org/openqa/selenium/grid/web/NoHandler.java:23: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1831:  import static org.openqa.selenium.remote.ErrorCodes.UNKNOWN_COMMAND;
    ...
    
    1852:  (22:33:02) �[32m[8,908 / 8,970]�[0m Creating runfiles tree bazel-out/k8-fastbuild/bin/java/test/org/openqa/selenium/bidi/log/LogInspectorTest-remote.runfiles; 16s local ... (50 actions, 49 running)
    1853:  (22:33:07) �[32m[9,096 / 9,159]�[0m Creating runfiles tree bazel-out/k8-fastbuild/bin/java/test/org/openqa/selenium/chrome/ChromeOptionsFunctionalTest.runfiles; 17s local ... (50 actions, 49 running)
    1854:  (22:33:12) �[32m[9,273 / 9,336]�[0m Creating runfiles tree bazel-out/k8-fastbuild/bin/java/test/org/openqa/selenium/devtools/CdpFacadeTest-chrome-remote.runfiles; 13s local ... (50 actions, 49 running)
    1855:  (22:33:17) �[32m[9,522 / 9,589]�[0m Creating runfiles tree bazel-out/k8-fastbuild/bin/java/test/org/openqa/selenium/devtools/ConsoleEventsTest-chrome-remote.runfiles; 16s local ... (50 actions, 47 running)
    1856:  (22:33:22) �[32m[9,863 / 9,966]�[0m Creating runfiles tree bazel-out/k8-fastbuild/bin/java/test/org/openqa/selenium/environment/webserver/NettyAppServerTest.runfiles; 14s local ... (50 actions, 49 running)
    1857:  (22:33:27) �[32m[9,995 / 10,097]�[0m Creating runfiles tree bazel-out/k8-fastbuild/bin/java/test/org/openqa/selenium/firefox/RemoteFirefoxDriverTest-remote.runfiles; 17s local ... (50 actions, 49 running)
    1858:  (22:33:32) �[32m[10,133 / 10,235]�[0m Creating runfiles tree bazel-out/k8-fastbuild/bin/java/test/org/openqa/selenium/grid/router/DistributedCdpTest.runfiles; 14s local ... (50 actions, 49 running)
    1859:  (22:33:35) �[32mINFO: �[0mFrom Building java/test/org/openqa/selenium/json/JsonTest.jar (1 source file):
    1860:  java/test/org/openqa/selenium/json/JsonTest.java:430: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1861:  assertThat(response.getState()).isEqualTo(new ErrorCodes().toState(0));
    1862:  ^
    1863:  java/test/org/openqa/selenium/json/JsonTest.java:441: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1864:  assertThat(response.getState()).isEqualTo(new ErrorCodes().toState(0));
    1865:  ^
    1866:  java/test/org/openqa/selenium/json/JsonTest.java:454: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1867:  assertThat(response.getState()).isEqualTo(new ErrorCodes().toState(32));
    1868:  ^
    1869:  (22:33:37) �[32mINFO: �[0mFrom Building java/test/org/openqa/selenium/remote/libsmall-tests-test-lib.jar (5 source files) and running annotation processors (AutoServiceProcessor):
    1870:  java/test/org/openqa/selenium/remote/WebDriverFixture.java:170: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1871:  response.setStatus(new ErrorCodes().toStatus(state, Optional.of(400)));
    1872:  ^
    1873:  (22:33:37) �[32mINFO: �[0mFrom Building java/test/org/openqa/selenium/remote/ErrorHandlerTest.jar (1 source file) and running annotation processors (AutoServiceProcessor):
    1874:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:79: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1875:  handler.throwIfResponseFailed(createResponse(ErrorCodes.SUCCESS), 100);
    1876:  ^
    1877:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:85: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1878:  assertThrowsCorrectExceptionType(ErrorCodes.NO_SUCH_WINDOW, NoSuchWindowException.class);
    1879:  ^
    1880:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:86: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1881:  assertThrowsCorrectExceptionType(ErrorCodes.NO_SUCH_FRAME, NoSuchFrameException.class);
    1882:  ^
    1883:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:87: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1884:  assertThrowsCorrectExceptionType(ErrorCodes.NO_SUCH_ELEMENT, NoSuchElementException.class);
    1885:  ^
    1886:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:88: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1887:  assertThrowsCorrectExceptionType(ErrorCodes.UNKNOWN_COMMAND, UnsupportedCommandException.class);
    1888:  ^
    1889:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:90: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1890:  ErrorCodes.METHOD_NOT_ALLOWED, UnsupportedCommandException.class);
    1891:  ^
    1892:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:92: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1893:  ErrorCodes.STALE_ELEMENT_REFERENCE, StaleElementReferenceException.class);
    1894:  ^
    1895:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:94: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1896:  ErrorCodes.INVALID_ELEMENT_STATE, InvalidElementStateException.class);
    1897:  ^
    1898:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:95: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1899:  assertThrowsCorrectExceptionType(ErrorCodes.XPATH_LOOKUP_ERROR, InvalidSelectorException.class);
    1900:  ^
    1901:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:107: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1902:  Response response = createResponse(ErrorCodes.UNHANDLED_ERROR);
    1903:  ^
    1904:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:120: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1905:  createResponse(ErrorCodes.UNHANDLED_ERROR, "boom"), 123))
    1906:  ^
    1907:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:133: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1908:  createResponse(ErrorCodes.UNHANDLED_ERROR, ImmutableMap.of("message", "boom")),
    1909:  ^
    1910:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:147: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1911:  ErrorCodes.UNHANDLED_ERROR,
    1912:  ^
    1913:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:167: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1914:  ErrorCodes.UNHANDLED_ERROR,
    1915:  ^
    1916:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:193: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1917:  createResponse(ErrorCodes.UNHANDLED_ERROR, toMap(serverError)), 123))
    1918:  ^
    1919:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:214: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1920:  createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))
    1921:  ^
    1922:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:248: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1923:  createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))
    1924:  ^
    1925:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:280: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1926:  createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))
    1927:  ^
    1928:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:308: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1929:  createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))
    1930:  ^
    1931:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:327: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1932:  createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))
    1933:  ^
    1934:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:355: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1935:  createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))
    1936:  ^
    1937:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:394: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1938:  createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))
    1939:  ^
    1940:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:426: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1941:  createResponse(ErrorCodes.UNHANDLED_ERROR, toMap(serverError)), 123))
    1942:  ^
    1943:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:435: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1944:  exceptions.put(ErrorCodes.NO_SUCH_SESSION, NoSuchSessionException.class);
    1945:  ^
    1946:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:436: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1947:  exceptions.put(ErrorCodes.NO_SUCH_ELEMENT, NoSuchElementException.class);
    1948:  ^
    1949:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:437: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1950:  exceptions.put(ErrorCodes.NO_SUCH_FRAME, NoSuchFrameException.class);
    1951:  ^
    1952:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:438: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1953:  exceptions.put(ErrorCodes.UNKNOWN_COMMAND, UnsupportedCommandException.class);
    1954:  ^
    1955:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:439: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1956:  exceptions.put(ErrorCodes.STALE_ELEMENT_REFERENCE, StaleElementReferenceException.class);
    1957:  ^
    1958:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:440: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1959:  exceptions.put(ErrorCodes.INVALID_ELEMENT_STATE, InvalidElementStateException.class);
    1960:  ^
    1961:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:441: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1962:  exceptions.put(ErrorCodes.UNHANDLED_ERROR, WebDriverException.class);
    1963:  ^
    1964:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:442: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1965:  exceptions.put(ErrorCodes.JAVASCRIPT_ERROR, JavascriptException.class);
    1966:  ^
    1967:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:443: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1968:  exceptions.put(ErrorCodes.XPATH_LOOKUP_ERROR, InvalidSelectorException.class);
    1969:  ^
    1970:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:444: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1971:  exceptions.put(ErrorCodes.TIMEOUT, TimeoutException.class);
    1972:  ^
    1973:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:445: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1974:  exceptions.put(ErrorCodes.NO_SUCH_WINDOW, NoSuchWindowException.class);
    1975:  ^
    1976:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:446: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1977:  exceptions.put(ErrorCodes.INVALID_COOKIE_DOMAIN, InvalidCookieDomainException.class);
    1978:  ^
    1979:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:447: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1980:  exceptions.put(ErrorCodes.UNABLE_TO_SET_COOKIE, UnableToSetCookieException.class);
    1981:  ^
    1982:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:448: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1983:  exceptions.put(ErrorCodes.UNEXPECTED_ALERT_PRESENT, UnhandledAlertException.class);
    1984:  ^
    1985:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:449: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1986:  exceptions.put(ErrorCodes.NO_ALERT_PRESENT, NoAlertPresentException.class);
    1987:  ^
    1988:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:450: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1989:  exceptions.put(ErrorCodes.ASYNC_SCRIPT_TIMEOUT, ScriptTimeoutException.class);
    1990:  ^
    1991:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:451: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1992:  exceptions.put(ErrorCodes.INVALID_SELECTOR_ERROR, InvalidSelectorException.class);
    1993:  ^
    1994:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:452: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1995:  exceptions.put(ErrorCodes.SESSION_NOT_CREATED, SessionNotCreatedException.class);
    1996:  ^
    1997:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:453: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1998:  exceptions.put(ErrorCodes.MOVE_TARGET_OUT_OF_BOUNDS, MoveTargetOutOfBoundsException.class);
    1999:  ^
    2000:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:454: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2001:  exceptions.put(ErrorCodes.INVALID_XPATH_SELECTOR, InvalidSelectorException.class);
    2002:  ^
    2003:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:455: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2004:  exceptions.put(ErrorCodes.INVALID_XPATH_SELECTOR_RETURN_TYPER, InvalidSelectorException.class);
    2005:  ^
    2006:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:469: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2007:  ? ErrorCodes.INVALID_SELECTOR_ERROR
    2008:  ^
    2009:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:471: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2010:  assertThat(new ErrorCodes().toStatusCode(e)).isEqualTo(expected);
    2011:  ^
    2012:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:483: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2013:  response.setState(new ErrorCodes().toState(status));
    2014:  ^
    2015:  (22:33:37) �[32m[10,372 / 10,474]�[0m Creating runfiles tree bazel-out/k8-fastbuild/bin/java/test/org/openqa/selenium/html5/LocalStorageTest-chrome.runfiles; 16s local ... (50 actions, 49 running)
    2016:  (22:33:38) �[32mINFO: �[0mFrom Building java/test/org/openqa/selenium/remote/RemotableByTest.jar (1 source file) and running annotation processors (AutoServiceProcessor):
    2017:  java/test/org/openqa/selenium/remote/RemotableByTest.java:23: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2018:  import static org.openqa.selenium.remote.ErrorCodes.SUCCESS_STRING;
    2019:  ^
    2020:  java/test/org/openqa/selenium/remote/RemotableByTest.java:23: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2021:  import static org.openqa.selenium.remote.ErrorCodes.SUCCESS_STRING;
    2022:  ^
    2023:  java/test/org/openqa/selenium/remote/RemotableByTest.java:23: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2024:  import static org.openqa.selenium.remote.ErrorCodes.SUCCESS_STRING;
    2025:  ^
    2026:  java/test/org/openqa/selenium/remote/RemotableByTest.java:45: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2027:  private final ErrorCodes errorCodes = new ErrorCodes();
    2028:  ^
    2029:  java/test/org/openqa/selenium/remote/RemotableByTest.java:45: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2030:  private final ErrorCodes errorCodes = new ErrorCodes();
    2031:  ^
    2032:  java/test/org/openqa/selenium/remote/RemotableByTest.java:45: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2033:  private final ErrorCodes errorCodes = new ErrorCodes();
    2034:  ^
    2035:  java/test/org/openqa/selenium/remote/RemotableByTest.java:45: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2036:  private final ErrorCodes errorCodes = new ErrorCodes();
    2037:  ^
    2038:  (22:33:39) �[32mINFO: �[0mFrom Building java/test/org/openqa/selenium/remote/codec/w3c/W3CHttpResponseCodecTest.jar (1 source file):
    2039:  java/test/org/openqa/selenium/remote/codec/w3c/W3CHttpResponseCodecTest.java:26: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2040:  import static org.openqa.selenium.remote.ErrorCodes.METHOD_NOT_ALLOWED;
    2041:  ^
    2042:  java/test/org/openqa/selenium/remote/codec/w3c/W3CHttpResponseCodecTest.java:55: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2043:  assertThat(decoded.getStatus().intValue()).isEqualTo(ErrorCodes.SUCCESS);
    2044:  ^
    2045:  java/test/org/openqa/selenium/remote/codec/w3c/W3CHttpResponseCodecTest.java:81: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2046:  assertThat(decoded.getStatus().intValue()).isEqualTo(ErrorCodes.UNHANDLED_ERROR);
    2047:  ^
    2048:  java/test/org/openqa/selenium/remote/codec/w3c/W3CHttpResponseCodecTest.java:107: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2049:  assertThat(decoded.getStatus().intValue()).isEqualTo(ErrorCodes.UNHANDLED_ERROR);
    ...
    
    2082:  (22:33:48) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/atoms/BUILD.bazel:350:19: runfiles symlink javascript/atoms/test/click_submit_test.html -> javascript/atoms/test/click_submit_test.html obscured by javascript/atoms/test -> bazel-out/k8-fastbuild/bin/javascript/atoms/test
    2083:  (22:33:48) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/atoms/BUILD.bazel:350:19: runfiles symlink javascript/atoms/test/click_test.html -> javascript/atoms/test/click_test.html obscured by javascript/atoms/test -> bazel-out/k8-fastbuild/bin/javascript/atoms/test
    2084:  (22:33:48) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/atoms/BUILD.bazel:350:19: runfiles symlink javascript/atoms/test/clientrect_test.html -> javascript/atoms/test/clientrect_test.html obscured by javascript/atoms/test -> bazel-out/k8-fastbuild/bin/javascript/atoms/test
    2085:  (22:33:48) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/atoms/BUILD.bazel:350:19: runfiles symlink javascript/atoms/test/color_test.html -> javascript/atoms/test/color_test.html obscured by javascript/atoms/test -> bazel-out/k8-fastbuild/bin/javascript/atoms/test
    2086:  (22:33:48) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/atoms/BUILD.bazel:350:19: runfiles symlink javascript/atoms/test/dom_test.html -> javascript/atoms/test/dom_test.html obscured by javascript/atoms/test -> bazel-out/k8-fastbuild/bin/javascript/atoms/test
    2087:  (22:33:48) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/atoms/BUILD.bazel:350:19: runfiles symlink javascript/atoms/test/drag_test.html -> javascript/atoms/test/drag_test.html obscured by javascript/atoms/test -> bazel-out/k8-fastbuild/bin/javascript/atoms/test
    2088:  (22:33:48) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/atoms/BUILD.bazel:350:19: runfiles symlink javascript/atoms/test/enabled_test.html -> javascript/atoms/test/enabled_test.html obscured by javascript/atoms/test -> bazel-out/k8-fastbuild/bin/javascript/atoms/test
    2089:  (22:33:48) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/atoms/BUILD.bazel:350:19: runfiles symlink javascript/atoms/test/enter_submit_test.html -> javascript/atoms/test/enter_submit_test.html obscured by javascript/atoms/test -> bazel-out/k8-fastbuild/bin/javascript/atoms/test
    2090:  (22:33:48) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/atoms/BUILD.bazel:350:19: runfiles symlink javascript/atoms/test/error_test.html -> javascript/atoms/test/error_test.html obscured by javascript/atoms/test -> bazel-out/k8-fastbuild/bin/javascript/atoms/test
    ...
    
    2332:  //dotnet/test/common:ElementEqualityTest-chrome                 �[0m�[32m(cached) PASSED�[0m in 7.0s
    2333:  //dotnet/test/common:ElementEqualityTest-firefox                �[0m�[32m(cached) PASSED�[0m in 13.6s
    2334:  //dotnet/test/common:ElementFindingTest-chrome                  �[0m�[32m(cached) PASSED�[0m in 21.8s
    2335:  //dotnet/test/common:ElementFindingTest-firefox                 �[0m�[32m(cached) PASSED�[0m in 51.7s
    2336:  //dotnet/test/common:ElementPropertyTest-chrome                 �[0m�[32m(cached) PASSED�[0m in 7.0s
    2337:  //dotnet/test/common:ElementPropertyTest-firefox                �[0m�[32m(cached) PASSED�[0m in 14.5s
    2338:  //dotnet/test/common:ElementSelectingTest-chrome                �[0m�[32m(cached) PASSED�[0m in 15.1s
    2339:  //dotnet/test/common:ElementSelectingTest-firefox               �[0m�[32m(cached) PASSED�[0m in 26.3s
    2340:  //dotnet/test/common:ErrorsTest-chrome                          �[0m�[32m(cached) PASSED�[0m in 6.0s
    2341:  //dotnet/test/common:ErrorsTest-firefox                         �[0m�[32m(cached) PASSED�[0m in 9.3s
    ...
    
    2605:  //java/test/org/openqa/selenium:ElementFindingTest-firefox-beta �[0m�[32m(cached) PASSED�[0m in 50.5s
    2606:  //java/test/org/openqa/selenium:ElementFindingTest-firefox-dev  �[0m�[32m(cached) PASSED�[0m in 48.0s
    2607:  //java/test/org/openqa/selenium:ElementFindingTest-spotbugs     �[0m�[32m(cached) PASSED�[0m in 12.4s
    2608:  //java/test/org/openqa/selenium:ElementSelectingTest            �[0m�[32m(cached) PASSED�[0m in 26.1s
    2609:  //java/test/org/openqa/selenium:ElementSelectingTest-chrome     �[0m�[32m(cached) PASSED�[0m in 16.0s
    2610:  //java/test/org/openqa/selenium:ElementSelectingTest-firefox-beta �[0m�[32m(cached) PASSED�[0m in 27.2s
    2611:  //java/test/org/openqa/selenium:ElementSelectingTest-firefox-dev �[0m�[32m(cached) PASSED�[0m in 34.4s
    2612:  //java/test/org/openqa/selenium:ElementSelectingTest-spotbugs   �[0m�[32m(cached) PASSED�[0m in 8.9s
    2613:  //java/test/org/openqa/selenium:ErrorsTest                      �[0m�[32m(cached) PASSED�[0m in 13.9s
    2614:  //java/test/org/openqa/selenium:ErrorsTest-chrome               �[0m�[32m(cached) PASSED�[0m in 10.1s
    2615:  //java/test/org/openqa/selenium:ErrorsTest-firefox-beta         �[0m�[32m(cached) PASSED�[0m in 17.3s
    2616:  //java/test/org/openqa/selenium:ErrorsTest-firefox-dev          �[0m�[32m(cached) PASSED�[0m in 13.7s
    2617:  //java/test/org/openqa/selenium:ErrorsTest-spotbugs             �[0m�[32m(cached) PASSED�[0m in 7.1s
    ...
    
    3193:  //java/test/org/openqa/selenium/os:ExternalProcessTest          �[0m�[32m(cached) PASSED�[0m in 3.1s
    3194:  //java/test/org/openqa/selenium/os:ExternalProcessTest-spotbugs �[0m�[32m(cached) PASSED�[0m in 10.1s
    3195:  //java/test/org/openqa/selenium/os:OsProcessTest                �[0m�[32m(cached) PASSED�[0m in 4.9s
    3196:  //java/test/org/openqa/selenium/os:OsProcessTest-spotbugs       �[0m�[32m(cached) PASSED�[0m in 8.9s
    3197:  //java/test/org/openqa/selenium/remote:AugmenterTest            �[0m�[32m(cached) PASSED�[0m in 5.9s
    3198:  //java/test/org/openqa/selenium/remote:AugmenterTest-spotbugs   �[0m�[32m(cached) PASSED�[0m in 11.7s
    3199:  //java/test/org/openqa/selenium/remote:DesiredCapabilitiesTest  �[0m�[32m(cached) PASSED�[0m in 1.8s
    3200:  //java/test/org/openqa/selenium/remote:DesiredCapabilitiesTest-spotbugs �[0m�[32m(cached) PASSED�[0m in 10.0s
    3201:  //java/test/org/openqa/selenium/remote:ErrorCodecTest           �[0m�[32m(cached) PASSED�[0m in 1.7s
    3202:  //java/test/org/openqa/selenium/remote:ErrorCodecTest-spotbugs  �[0m�[32m(cached) PASSED�[0m in 11.2s
    3203:  //java/test/org/openqa/selenium/remote:ErrorHandlerTest         �[0m�[32m(cached) PASSED�[0m in 2.5s
    3204:  //java/test/org/openqa/selenium/remote:ErrorHandlerTest-spotbugs �[0m�[32m(cached) PASSED�[0m in 13.0s
    ...
    
    3455:  //py:common-firefox-test/selenium/webdriver/support/expected_conditions_tests.py �[0m�[32m(cached) PASSED�[0m in 10.9s
    3456:  //py:common-firefox-test/selenium/webdriver/support/relative_by_tests.py �[0m�[32m(cached) PASSED�[0m in 11.5s
    3457:  //py:test-chrome-test/selenium/webdriver/chrome/chrome_network_emulation_tests.py �[0m�[32m(cached) PASSED�[0m in 3.3s
    3458:  //py:unit-test/unit/selenium/webdriver/chrome/chrome_options_tests.py �[0m�[32m(cached) PASSED�[0m in 2.1s
    3459:  //py:unit-test/unit/selenium/webdriver/common/common_options_tests.py �[0m�[32m(cached) PASSED�[0m in 2.1s
    3460:  //py:unit-test/unit/selenium/webdriver/common/print_page_options_tests.py �[0m�[32m(cached) PASSED�[0m in 2.0s
    3461:  //py:unit-test/unit/selenium/webdriver/edge/edge_options_tests.py �[0m�[32m(cached) PASSED�[0m in 3.7s
    3462:  //py:unit-test/unit/selenium/webdriver/firefox/firefox_options_tests.py �[0m�[32m(cached) PASSED�[0m in 1.9s
    3463:  //py:unit-test/unit/selenium/webdriver/remote/error_handler_tests.py �[0m�[32m(cached) PASSED�[0m in 2.2s
    ...
    
    3539:  (22:35:14) �[32mINFO: �[0mInvocation ID: 4c386226-f434-4a43-8812-d20856e9ed54
    3540:  (22:35:14) �[32mINFO: �[0mStreaming build results to: https://gypsum.cluster.engflow.com/invocation/4c386226-f434-4a43-8812-d20856e9ed54
    3541:  (22:35:15) �[32mINFO: �[0mCurrent date is 2024-03-08
    3542:  (22:35:15) �[32mLoading:�[0m 
    3543:  (22:35:15) �[32mLoading:�[0m 
    3544:  (22:35:15) �[32mLoading:�[0m 0 packages loaded
    3545:  (22:35:15) �[32mINFO: �[0mBuild option --test_env has changed, discarding analysis cache.
    3546:  (22:35:17) �[32mAnalyzing:�[0m 411 targets (1 packages loaded, 0 targets configured)
    3547:  (22:35:21) �[31m�[1mERROR: �[0m/home/runner/work/selenium/selenium/py/BUILD.bazel:234:9: in py_wheel rule //py:selenium-wheel: 
    3548:  Traceback (most recent call last):
    3549:  File "/home/runner/.bazel/external/rules_python/python/private/py_wheel.bzl", line 302, column 25, in _py_wheel_impl
    3550:  normalize_pep440(version),
    3551:  File "/home/runner/.bazel/external/rules_python/python/private/py_wheel_normalize_pep440.bzl", line 515, column 13, in normalize_pep440
    3552:  fail(
    3553:  Error in fail: Failed to parse PEP 440 version identifier '4.19.0.nightly'. Parse error at '.nightly'
    3554:  (22:35:21) �[31m�[1mERROR: �[0m/home/runner/work/selenium/selenium/py/BUILD.bazel:234:9: Analysis of target '//py:selenium-wheel' failed
    3555:  (22:35:21) �[31m�[1mERROR: �[0mAnalysis of target '//py:selenium-wheel' failed; build aborted: 
    3556:  (22:35:21) �[32mINFO: �[0mElapsed time: 7.089s
    3557:  (22:35:21) �[32mINFO: �[0m0 processes.
    3558:  (22:35:21) �[31m�[1mFAILED:�[0m Build did NOT complete successfully (43 packages loaded, 22360 targets configured)
    3559:  (22:35:22) �[32mINFO: �[0mStreaming build results to: https://gypsum.cluster.engflow.com/invocation/4c386226-f434-4a43-8812-d20856e9ed54
    3560:  (22:35:22) �[31m�[1mFAILED:�[0m Build did NOT complete successfully (43 packages loaded, 22360 targets configured)
    3561:  �[0m
    3562:  ##[error]Process completed with exit code 1.
    

    ✨ CI feedback usage guide:

    The CI feedback tool (/checks) automatically triggers when a PR has a failed check.
    The tool analyzes the failed checks and provides several feedbacks:

    • Failed stage
    • Failed test name
    • Failure summary
    • Relevant error logs

    In addition to being automatically triggered, the tool can also be invoked manually by commenting on a PR:

    /checks "https://github.com/{repo_name}/actions/runs/{run_number}/job/{job_number}"
    

    where {repo_name} is the name of the repository, {run_number} is the run number of the failed check, and {job_number} is the job number of the failed check.

    Configuration options

    • enable_auto_checks_feedback - if set to true, the tool will automatically provide feedback when a check is failed. Default is true.
    • excluded_checks_list - a list of checks to exclude from the feedback, for example: ["check1", "check2"]. Default is an empty list.
    • enable_help_text - if set to true, the tool will provide a help message with the feedback. Default is true.
    • persistent_comment - if set to true, the tool will overwrite a previous checks comment with the new feedback. Default is true.
    • final_update_message - if persistent_comment is true and updating a previous checks message, the tool will also create a new message: "Persistent checks updated to latest commit". Default is true.

    See more information about the checks tool in the docs.

    @titusfortner
    Copy link
    Member Author

    Ok, all the issues that need updating have been. If this works we may want to apply the same logic to other labels as well.

    @titusfortner titusfortner merged commit 8f7c7a4 into trunk Mar 8, 2024
    9 of 10 checks passed
    @titusfortner titusfortner deleted the stale_answer branch March 8, 2024 23:23
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    C-build Build related issues (bazel and CI) enhancement Review effort [1-5]: 2
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    None yet

    2 participants