Giter Site home page Giter Site logo

conjure-worker's People

Contributors

tmarshall avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

conjure-worker's Issues

missing `task` when stopping non-existent task

0|conjure- | github.container.stop -->  stopping github container (ConjureLabs/mock-web-repo --> prod-2)
0|conjure- | container stop -->  stopping container
0|conjure- | container stop -->  stopping task
0|conjure- | github.container.stop -->  { MissingRequiredParameter: Missing required key 'task' in params
0|conjure- |     at ParamValidator.fail (/home/ubuntu/conjure-worker/node_modules/conjure-core/node_modules/aws-sdk/lib/param_validator.js:50:37)
0|conjure- |     at ParamValidator.validateStructure (/home/ubuntu/conjure-worker/node_modules/conjure-core/node_modules/aws-sdk/lib/param_validator.js:61:14)
0|conjure- |     at ParamValidator.validateMember (/home/ubuntu/conjure-worker/node_modules/conjure-core/node_modules/aws-sdk/lib/param_validator.js:88:21)
0|conjure- |     at ParamValidator.validate (/home/ubuntu/conjure-worker/node_modules/conjure-core/node_modules/aws-sdk/lib/param_validator.js:34:10)
0|conjure- |     at Request.VALIDATE_PARAMETERS (/home/ubuntu/conjure-worker/node_modules/conjure-core/node_modules/aws-sdk/lib/event_listeners.js:125:42)
0|conjure- |     at Request.callListeners (/home/ubuntu/conjure-worker/node_modules/conjure-core/node_modules/aws-sdk/lib/sequential_executor.js:105:20)
0|conjure- |     at callNextListener (/home/ubuntu/conjure-worker/node_modules/conjure-core/node_modules/aws-sdk/lib/sequential_executor.js:95:12)
0|conjure- |     at /home/ubuntu/conjure-worker/node_modules/conjure-core/node_modules/aws-sdk/lib/event_listeners.js:85:9
0|conjure- |     at finish (/home/ubuntu/conjure-worker/node_modules/conjure-core/node_modules/aws-sdk/lib/config.js:320:7)
0|conjure- |     at /home/ubuntu/conjure-worker/node_modules/conjure-core/node_modules/aws-sdk/lib/config.js:338:9
0|conjure- |   message: 'Missing required key \'task\' in params',
0|conjure- |   code: 'MissingRequiredParameter',
0|conjure- |   time: 2018-05-28T23:30:53.934Z }

Secure private instances

A private instance is public if someone knows the host and port. Though they are ephemeral, thus private branches leaking is less likely, eventually someone would figure out the pattern and brute-force search the servers until they find all exposed ports. So, we need to wrap private instances (or all?) with a layer that rejects any request w/o the right headers.Or do not use ports at all? And use some sort of internal routing system?

lambda to check for pending container that is orphaned

if a container goes into pending state, kicks off a worker, and the worker throws before changing the state to spinning up, then that container will never get caught by the lambda check for stale heartbeats.

could possibly check against redis for what's in the queue, and see what either needs to be requeued or set as failed.

Deal with fast webhook events

what happens if a user updates update updates, and all the events get queued?

Possibly certain events should cancel?

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.