Permalink
Switch branches/tags
Commits on Nov 16, 2018
  1. fnserver: 0.3.617 release [skip ci]

    CI
    CI committed Nov 16, 2018
  2. fn: safer hand over between monitoring and main processing (#1316)

    skinowski committed Nov 16, 2018
    In runHot(), it's safer to use a separate channel between
    monitoring go-routine and processing go-routine to handle
    cancellations triggered by monitorin go-routine.
Commits on Nov 15, 2018
  1. fnserver: 0.3.616 release [skip ci]

    CI
    CI committed Nov 15, 2018
  2. fn: container initialization monitoring (#1288)

    skinowski committed Nov 15, 2018
    Container initialization phase consumes resource tracker
    resources (token), during lengthy operations.
    In order for agent stability/liveness, this phase has
    to be evictable/cancelable and time bounded.
    
    With this change, introducing a new system wide environment setting
    to bound the time spent in container initialization phase. This phase
    includes docker-pull, docker-create, docker-attach, docker-start
    and UDS wait operations. This initialization period is also now
    considered evictable.
  3. fn: cookie and driver api changes (#1312)

    skinowski committed Nov 15, 2018
    Now obsoleted driver.PrepareCookie() call handled image and
    container creation. In agent, going forward we will need finer
    grained control over the timeouts implied by the contexts.
    For this reason, with this change, we split PrepareCookie()
    into Validate/Pull/Create calls under Cookie interface.
Commits on Nov 14, 2018
  1. fnserver: 0.3.615 release [skip ci]

    CI
    CI committed Nov 14, 2018
  2. fnserver: 0.3.614 release [skip ci]

    CI
    CI committed Nov 14, 2018
  3. initial addition of the diskfree op (#1308)

    ericfode committed Nov 14, 2018
    * initial addition of the diskfree op
    
    fixing up some typos
    
    last of fmt errors
    
    * fixed up some feedbacks
Commits on Nov 12, 2018
Commits on Nov 9, 2018
  1. fnserver: 0.3.613 release [skip ci]

    CI
    CI committed Nov 9, 2018
  2. Feature/acksync response writer (#1267)

    reclaro authored and skinowski committed Nov 9, 2018
    This implements a "detached" mechanism to get an ack from the runner
    once it actually starts to run a function. In this scenario the response
    returned back is just a 202 if we placed the function in a specific
    time-frame. If we hit some errors or we fail to place the fn in time we
    return back different errors.
Commits on Nov 7, 2018
  1. fnserver: 0.3.612 release [skip ci]

    CI
    CI committed Nov 7, 2018
  2. fnserver: 0.3.611 release [skip ci]

    CI
    CI committed Nov 7, 2018
  3. go modifyed (#1284)

    ericfode committed Nov 7, 2018
    * go modified
    
    fiddling with vendor
    
    got rid of the vendor directory
    
    revendored but with the exact same versions of things
    
    maybe better
    
    added mods for the images
    
    revendored
    
    using `GOFLAGS` instead of repeating my self
    
    vendor everything to the exact same commit hash as before
    
    and fixed ugorji
    
    Delete Deproxy.toml
    
    empty file
    
    cleaned up some file
    
    cleaned up some cruft
    
    get rid of some unused packages and exclude some Microsoft packages
    
    added flags to the variables that get pushed into docker in the makefile
    
    It works I suppose
    
    added noop
    
    excluded what we did not want
    
    even less hacky
    
    reverted to a version that has not been mangled
    
    * get rid of my experiment
Commits on Nov 6, 2018
  1. fnserver: 0.3.610 release [skip ci]

    CI
    CI committed Nov 6, 2018
  2. fn: tests for hung and bad docker repo during docker-pull (#1298)

    skinowski committed Nov 6, 2018
    * fn: tests for hung and bad docker repo during docker-pull
Commits on Nov 5, 2018
  1. fnserver: 0.3.609 release [skip ci]

    CI
    CI committed Nov 5, 2018
  2. Fix filtering by name when getting list of funcs (#1295)

    harryjsmith authored and rdallman committed Nov 5, 2018
    * Fix filtering by name when getting list of funcs
    
    * Add datastore test for function list name filter
    
    * Fix tests
Commits on Nov 2, 2018
  1. fnserver: 0.3.608 release [skip ci]

    CI
    CI committed Nov 2, 2018
  2. fnserver: 0.3.607 release [skip ci]

    CI
    CI committed Nov 2, 2018
Commits on Nov 1, 2018
  1. fnserver: 0.3.606 release [skip ci]

    CI
    CI committed Nov 1, 2018
  2. fn: cleanup of docker timeouts and docker health check (#1292)

    skinowski committed Nov 1, 2018
    Moving the timeout management of various docker operations
    to agent. This allows for finer control over what operation
    should use. For instance, for pause/unpause our tolerance
    is very low to avoid resource issues. For docker remove,
    the consequences of failure will lead to potential agent
    failure and therefore we wait up to 10 minute.
    For cookie create/prepare (which includes docker-pull)
    we cap this at 10 minutes by default.
    
    With new UDS/FDK contract, health check is now obsoleted
    as container advertise health using UDS availibility.
Commits on Oct 31, 2018
  1. fnserver: 0.3.605 release [skip ci]

    CI
    CI committed Oct 31, 2018
  2. fn: adding pre/post sleep and UDS shutdown in fn-test-utils (#1291)

    skinowski committed Oct 31, 2018
    These will be useful in future tests to simulate hung/slow
    initialization, shutdown as well as UDS crash, etc.
Commits on Oct 30, 2018
  1. fnserver: 0.3.604 release [skip ci]

    CI
    CI committed Oct 30, 2018
  2. fn: Remove error channel for container exits (#1287)

    skinowski committed Oct 30, 2018
    The channel is unnecessary and unreliable since exits
    trigger I/O failure on UDS earlier than we detect
    the exit.
Commits on Oct 29, 2018
  1. improve contribution guide (#1076)

    rdallman authored and carimura committed Oct 29, 2018
    * improve contribution guide
    
    * at least a stub security bug section, this works as a policy most likely
    until we can improve this (TODO we need an email for this!)
    * adds info in CONTRIBUTING.md for creating helpful normal issues for us, this
    is much the same info as the template
    * coding style section. This was lacking, and led to wishy washy reviews. now
    we have an official reference in place to point at for 'do this this way
    please' and not just random opinions. everyone should read this if they
    haven't! I have it bookmarked...
    * info on creating useful commit messages and commit formatting, like code
    reviews, its nice to have this in the contrib guide to reference when asking
    people to do this so that it's not just a one off opinion
    
    tried to make this pretty lax, the last thing i/we want is for the
    contributing process to be overbearing, I do think the contribution guide
    serves the dual purpose of best practice enforcement as well as helping people
    to maneuver the process to make it easier for all of us (them included).
    
    open to idears. this is a convergence of a few guides from popular repos
    
    * update what's in core section to reduce confusion
  2. Update CODE_OF_CONDUCT.md (#1285)

    carimura authored and rdallman committed Oct 29, 2018
    * Update CODE_OF_CONDUCT.md
    
    * Update CODE_OF_CONDUCT.md
    
    * Update README.md
    
    * Update README.md
Commits on Oct 26, 2018
  1. fnserver: 0.3.603 release [skip ci]

    CI
    CI committed Oct 26, 2018
  2. death to format (#1281)

    rdallman committed Oct 26, 2018
    * get rid of old format stuff, utils usage, fix up for fdk2.0 interface
    
    * pure agent format removal, TODO remove format field, fix up all tests
    
    * shitter's clogged
    
    * fix agent tests
    
    * start rolling through server tests
    
    * tests compile, some failures
    
    * remove json / content type detection on invoke/httptrigger, fix up tests
    
    * remove hello, fixup system tests
    
    the fucking status checker test just hangs and it's testing that it doesn't
    work so the test passes but the test doesn't pass fuck life it's not worth it
    
    * fix migration
    
    * meh
    
    * make dbhelper shut up about dbhelpers not being used
    
    * move fail status at least into main thread, jfc
    
    * fix status call to have FN_LISTENER
    
    also turns off the stdout/stderr blocking between calls, because it's
    impossible to debug without that (without syslog), now that stdout and stderr
    go to the same place (either to host stderr or nowhere) and isn't used for
    function output this shouldn't be a big fuss really
    
    * remove stdin
    
    * cleanup/remind: fixed bug where watcher would leak if container dies first
    
    * silence system-test logs until fail, fix datastore tests
    
    postgres does weird things with constraints when renaming tables, took the
    easy way out
    
    system-tests were loud as fuck and made you download a circleci text file of
    the logs, made them only yell when they goof
    
    * fix fdk-go dep for test image. fun
    
    * fix swagger and remove test about format
    
    * update all the gopkg files
    
    * add back FN_FORMAT for fdks that assert things. pfft
    
    * add useful error for functions that exit
    
    this error is really confounding because containers can exit for all manner of
    reason, we're just guessing that this is the most likely cause for now, and
    this error message should very likely change or be removed from the client
    path anyway (context.Canceled wasn't all that useful either, but anyway, I'd
    been hunting for this... so found it). added a test to avoid being publicly
    shamed for 1 line commits (beware...).