Git Product home page Git Product logo

remotebuildaction's People

Contributors

joshuaauerbachwatson avatar

Watchers

 avatar

remotebuildaction's Issues

Further improvements to builder action

The current error handling in the action-loop builder actions (written in Python) is flawed in at least these ways.

  1. Many paths through the code (those involving errors detected by nim or unhandled exceptions in nim or in Python code), were coming back as timeouts. This is discussed in nimbella/nimbella-cli#163.
  2. Even if the previous were corrected, many "normal error" returns (typically, due to developer errors in the submitted action) would still come back as if they were serious system errors and required system-level explorations, such as examining the activation record.

I proposed two fixes in the CLI issue, one very modest one in the issue description, and a more extensive one in a later comment. The first was tried out by Nimbella and fixed the timeout problem in cases that were of immediate interest but it turns out it was not complete enough. The second proposal was nearly complete enough but continued to refer the developer to the activation record for details that ought to have been fed back in a more intuitive way as outputs of the deployment operation.

The task now is to fix the remaining details.

More improvements needed to error handling

The current error handling in the action-loop builder actions (written in Python) is flawed in at least these ways.

  1. Many paths through the code (those involving errors detected by nim or unhandled exceptions in nim or in Python code), were coming back as timeouts. This is discussed in nimbella/nimbella-cli#163.
  2. Even if the previous were corrected, many "normal error" returns (typically, due to developer errors in the submitted action) would still come back as if they were serious system errors and required system-level explorations, such as examining the activation record.

I proposed two fixes in the CLI issue, one very modest one in the issue description, and a more extensive one in a later comment. The first was tried out by Nimbella and fixed the timeout problem in cases that were of immediate interest but it turns out it was not complete enough. The second proposal was nearly complete enough but continued to refer the developer to the activation record for details that ought to have been fed back in a more intuitive way as outputs of the deployment operation.

The task now is to fix the remaining details.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.