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

Stream fallback: error handler #12173

Merged

Commits on Feb 15, 2024

  1. Stop retry flow for error handling (log trigger) (#12026)

    * return timeout for retry interval
    
    * identify retryTimeout + placeholder for err handler
    
    * err codes
    
    * comments
    
    * added function and tests for handling err code
    amirylm committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    75c8094 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8ae5f77 View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2024

  1. Stop retry flow for error handling (conditional trigger) (#12032)

    * err codes for conditionals
    
    * unit tests for conditional
    amirylm committed Feb 16, 2024
    Configuration menu
    Copy the full SHA
    30dc562 View commit details
    Browse the repository at this point in the history

Commits on Feb 19, 2024

  1. Configuration menu
    Copy the full SHA
    ed7baf4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fa054c1 View commit details
    Browse the repository at this point in the history
  3. fix mercury 0.3 DoRequest

    infiloop2 committed Feb 19, 2024
    Configuration menu
    Copy the full SHA
    1219a12 View commit details
    Browse the repository at this point in the history
  4. fix tests

    infiloop2 committed Feb 19, 2024
    Configuration menu
    Copy the full SHA
    edd39eb View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9524f08 View commit details
    Browse the repository at this point in the history
  6. add todo

    infiloop2 committed Feb 19, 2024
    Configuration menu
    Copy the full SHA
    02774b8 View commit details
    Browse the repository at this point in the history
  7. add todo

    infiloop2 committed Feb 19, 2024
    Configuration menu
    Copy the full SHA
    8e7e3fb View commit details
    Browse the repository at this point in the history
  8. improve comments

    infiloop2 committed Feb 19, 2024
    Configuration menu
    Copy the full SHA
    496e0e9 View commit details
    Browse the repository at this point in the history
  9. polish 0.2

    infiloop2 committed Feb 19, 2024
    Configuration menu
    Copy the full SHA
    e97962e View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2024

  1. fix debug.go, refactor eth_call on checkCallback and checkErrorHandle…

    …r, fix some minor comments (typo and test)
    shileiwill committed Feb 20, 2024
    Configuration menu
    Copy the full SHA
    566d1c4 View commit details
    Browse the repository at this point in the history
  2. small fixes

    infiloop2 committed Feb 20, 2024
    Configuration menu
    Copy the full SHA
    cc46df7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    783ed9c View commit details
    Browse the repository at this point in the history
  4. rename to clarify function

    infiloop2 committed Feb 20, 2024
    Configuration menu
    Copy the full SHA
    b660a70 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0336020 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #12088 from smartcontractkit/auto-9006-call-error-…

    …handler
    
    Call check error handler within mercury
    infiloop2 committed Feb 20, 2024
    Configuration menu
    Copy the full SHA
    ceec78a View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2024

  1. Configuration menu
    Copy the full SHA
    d1e15f3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6998268 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4969a0a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9cdc759 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b67d9e2 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    1975a0d View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    d1c9d31 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    d0c6612 View commit details
    Browse the repository at this point in the history
  9. remove unused fields

    shileiwill committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    40d83f7 View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2024

  1. unit tests for v03

    shileiwill committed Feb 22, 2024
    Configuration menu
    Copy the full SHA
    91718a9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d4aad99 View commit details
    Browse the repository at this point in the history
  3. fix mercury_test.go

    infiloop2 committed Feb 22, 2024
    Configuration menu
    Copy the full SHA
    b4d26aa View commit details
    Browse the repository at this point in the history
  4. minor polishing

    infiloop2 committed Feb 22, 2024
    Configuration menu
    Copy the full SHA
    2e473a5 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #12116 from smartcontractkit/unittests

    fix unit tests for mercury
    infiloop2 committed Feb 22, 2024
    Configuration menu
    Copy the full SHA
    a53eaff View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    dfcb2a4 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    addf869 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    84f67cf View commit details
    Browse the repository at this point in the history
  9. fix lint

    amirylm committed Feb 22, 2024
    Configuration menu
    Copy the full SHA
    81b8139 View commit details
    Browse the repository at this point in the history
  10. set timeout to 10s

    amirylm committed Feb 22, 2024
    Configuration menu
    Copy the full SHA
    9e8719f View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    81775b3 View commit details
    Browse the repository at this point in the history
  12. lint

    amirylm committed Feb 22, 2024
    Configuration menu
    Copy the full SHA
    1cd2a97 View commit details
    Browse the repository at this point in the history
  13. add more 0.3 tests

    infiloop2 committed Feb 22, 2024
    Configuration menu
    Copy the full SHA
    fcc1fa2 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    528efd0 View commit details
    Browse the repository at this point in the history
  15. Merge pull request #12089 from smartcontractkit/AUTO-9012-investigate…

    …-http-timeouts-for-mercury-server-calls
    
    Fix timeouts for mercury calls
    infiloop2 committed Feb 22, 2024
    Configuration menu
    Copy the full SHA
    bad4376 View commit details
    Browse the repository at this point in the history
  16. Finalize stream error codes, polish requests to return consistent nil…

    … bytes upon error, use HttpToStreamsErrCode everywhere
    infiloop2 committed Feb 22, 2024
    Configuration menu
    Copy the full SHA
    4540b21 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    bb9295a View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2024

  1. Merge pull request #12146 from smartcontractkit/AUTO-9078

    Add tests for streams.go
    infiloop2 committed Feb 23, 2024
    Configuration menu
    Copy the full SHA
    eb3ae85 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fae562a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3100273 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d8007e4 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    46b9ec5 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    777e5aa View commit details
    Browse the repository at this point in the history
  7. test (wip)

    amirylm committed Feb 23, 2024
    Configuration menu
    Copy the full SHA
    22b2dcf View commit details
    Browse the repository at this point in the history
  8. fixing contract

    amirylm committed Feb 23, 2024
    Configuration menu
    Copy the full SHA
    c8aa142 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    6b04b6c View commit details
    Browse the repository at this point in the history
  10. update contract and generate wrappers

    shileiwill authored and amirylm committed Feb 23, 2024
    Configuration menu
    Copy the full SHA
    f8f7db9 View commit details
    Browse the repository at this point in the history
  11. lint

    amirylm committed Feb 23, 2024
    Configuration menu
    Copy the full SHA
    9c22402 View commit details
    Browse the repository at this point in the history
  12. use startBlock instead of 1

    amirylm committed Feb 23, 2024
    Configuration menu
    Copy the full SHA
    051e0ff View commit details
    Browse the repository at this point in the history
  13. add missing arg

    amirylm committed Feb 23, 2024
    Configuration menu
    Copy the full SHA
    5b18f3b View commit details
    Browse the repository at this point in the history
  14. check multiple responses:

    - server timeout
    - unauthorized
    - bad req
    - internal server err
    - not found
    amirylm committed Feb 23, 2024
    Configuration menu
    Copy the full SHA
    0bcbe19 View commit details
    Browse the repository at this point in the history

Commits on Feb 25, 2024

  1. fix test

    amirylm committed Feb 25, 2024
    Configuration menu
    Copy the full SHA
    360a14b View commit details
    Browse the repository at this point in the history
  2. cleanup

    amirylm committed Feb 25, 2024
    Configuration menu
    Copy the full SHA
    9ee1568 View commit details
    Browse the repository at this point in the history

Commits on Feb 26, 2024

  1. Merge pull request #12100 from smartcontractkit/AUTO-9007-error-handl…

    …er-integration-test
    
    Error handler integration test
    infiloop2 committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    5abd373 View commit details
    Browse the repository at this point in the history
  2. set timeout in http client

    infiloop2 committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    adeaf70 View commit details
    Browse the repository at this point in the history
  3. Add timeout test for streams (#12170)

    * Add timeout test
    
    * fix DoRequest() to consider ctx (client v0.3)
    
    * make sure we timeout in time
    
    * align thread control test
    
    * hacky context timeout
    
    * trying to wait for timeout with child context
    
    * push hack
    
    * update
    
    * another fix
    
    * fix
    
    * use ctx background
    
    * add log
    
    * Use new ctx to implement timeout
    
    * fix test
    
    * add v0.2 test
    
    ---------
    
    Co-authored-by: amirylm <amirylm.dev@gmail.com>
    infiloop2 and amirylm committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    f2d60f0 View commit details
    Browse the repository at this point in the history
  4. Empty Commit

    infiloop2 committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    f2024c5 View commit details
    Browse the repository at this point in the history