Skip to content

Releases: codalab/codalab-worksheets

Version 0.2.36 (October 10, 2018)

11 Oct 00:27
Compare
Choose a tag to compare
  • Make files open in browser instead of download.
  • Now can clone repo to Windows machines.
  • New CodaLab default docker images
  • Worker reliability improvements.

Version 0.2.35 (September 20, 2018)

20 Sep 21:12
Compare
Choose a tag to compare

Worksheets/Server Changes

  • Disk and time quotas for run bundles that do not specify them are now set to the total left for the user. Note that if a user starts multiple runs without specifying these quotas and together the runs go over the quota, one of them will fail
  • Monitor script is now more lenient with runtime of runs in case they stay staged for a long time.

CLI Changes

  • The CLI may now be configured to pass extra HTTP headers with its REST requests. These may be set up in the CodaLab config file.

Worker Bugfixes

  • Docker image management fixes: Docker image size limiting process now doesn't touch images actively being used (or expected) by a run. This prevents infinite looping docker image downloads even in pathological cases
  • Dependency manager is now more resilient to external filesystem changes and just overwrites if a dependency directory it expects to be empty happens to be there.
  • Dependency manager now prunes failed dependencies and retries downloading them if they are requested >10 seconds after the initial failure. This prevents dependency download failures.

Version 0.2.34 (August 20, 2018)

21 Aug 06:34
Compare
Choose a tag to compare

Worker bugfixes

  • When the docker container for a run cannot start for a reason (like too little memory requested), the run fails instead of retrying forever
  • Rewritten concurrency model in Dependency Manager fixes #929, dependency download speeds should be back to normal. All versions >v0.2.26 and <v0.2.34 are affected from this bug, so if you have any of these versions, please update your worker to 0.2.34

Version 0.2.33 (August 14, 2018)

14 Aug 20:38
Compare
Choose a tag to compare

Features

Worker

  • Workers now have a --exit-when-idle flag which kills the worker process if it is ever idle after checking in with the server. This is part of an ongoing effort to allow ephemeral/one-use workers in shared computation environments like Slurm-managed clusters.

Bug fixes

Worksheets web app

  • Fixed a bug where consecutive Markdown blocks were not merged, leading to rendering issues

Worker

  • Fixed worker dependency manager initialization so the worker can correctly pick up existing cached dependencies upon restart
  • Fixed a bug in worker dependency manager state saving that prevented any dependency from getting cleaned up, eventually making the dependency manager hit the disk limit and hang all dependency downloads.
  • Fixed a bug where if the Docker container for a run cannot be started, the worker would forever keep attempting instead of failing the bundle. The bundles are failed immediately now if their Docker containers cannot be started.

Bundle server

  • Fixed a bug that failed worker check-ins if the check-in included any run that had since been deleted server-side. Now the deleted run is ignored.

Misc changes

  • codalab-cli python code is now auto formatted with Black with the exception of string normalization and a more liberal 100 character line limit to reduce the amount of formatting changes
  • The repo comes with a pyproject.toml file to configure Black with these settings and a .pre-commit-config.yaml file to run Black before each commit if you have pre-commit installed.
  • This also means CodaLab code is now written in a Python3 compatible syntax, but no further work has been done for Python3 compatibility beyond fixing the syntax differences.
  • Updated package dependency versions to newer versions as long as there were no breaking changes, mainly as the previous version of gunicorn used had security vulnerabilities.

Version 0.2.32 (August 7, 2018)

07 Aug 17:41
Compare
Choose a tag to compare

This version has mainly new worker focused bugfixes as well as a couple tweaks to the CLI

Server Bugfixes & Tweaks

  • Fails bundles with killed dependencies unless --allow-failed-dependencies specified to fix #930
  • Moves bundles in FINALIZING state but that are not in worker_run to worker_offline state to fix #930

Worker Bugfixes & Tweaks

  • Fixed a KeyError in LocalFileSystemDependencyManager so Workers can clean up their dependencies successfully.
  • Removed the Touched dependency log line from LocalFileSystemDependencyManager to make logs more readable and compact

CLI Bugfixes and tweaks

  • Add a missing default value to the fields argument of print_user_info to fix #928

Version 0.2.31 (August 2, 2018)

03 Aug 00:01
Compare
Choose a tag to compare

Bugfixes

  • A breaking change that made CLI <= v0.2.26 incompatible with the new server when trying to upload was fixed. As of v0.2.31 CLI <= v0.2.26 should still work fine for uploads.
  • Alleviation to an existing bug where trying to include bundle tags in a table schema would break the table rendering.
  • Fix to a bug that made dashboard worksheets broken
  • Update PyPi dependencies so that cl install codalab leads to a full setup again.

If you are on v0.2.27, please update to v0.2.31 as v0.2.27 has these bugs that make it incompatible with previous or later versions.

Version 0.2.27 (August 2, 2018) (Buggy, please update)

02 Aug 18:36
Compare
Choose a tag to compare

** Warning, this version had some bugs and is now incompatible with the Public instance. If you have the CLI running against the public CodaLab server, please update to v0.2.28 or later**

Features

  • .shared and group=<group spec> directives for worksheet and bundle searches. .shared lists any (bundle|worksheet) that any of the groups you are a member of has READ or higher permissions, while group=<group spec> lists all (bundles|worksheets) that the given group has READ or higher permissions to.
  • Support for the new worksheet//bundle style bundle specs when issuing macros or mimic commands. For backwards compatibility we accept both the worksheet/bundle and worksheet//bundle forms for mimic and macro commands.

Tweaks

  • A big rewrite of our Worker code means job state management will be much more robust now, and any failures much easier to debug.
  • A major overhaul to worksheet rendering code to make future extensions to the front end easier.

Breaking changes

  • The new worker code only works with the new server code (due to API changes). If you're running your own CodaLab instance, please make sure to update both your workers and server to version 0.2.27 to avoid failing workers. (If you have workers connected to the public CodaLab instance, please update them)

  • The format of the worker state files have changed. If you're updating your worker, please delete the old dependencies directory and dependencies-state.json, worker-state.json and images-state.json files.

Version 0.2.26 (May 19, 2018)

19 May 09:26
Compare
Choose a tag to compare

Features

  • New admin command "workers" to retrieve info about workers.
  • New admin command "ufarewell" to permanently delete a user.
  • Added fields printing for "uinfo" command.
  • Enabled usage of command "cat" in the web command line interface, albeit with a limit of 100 lines.
  • Added ".shared" and "group=<group_spec>" args to "wls" worksheet search command, which allows you to find worksheets that are shared you through any group, or a specific group, respectively.

Tweaks

  • Added a more descriptive error message when bundle content path is invalid.
  • A request for 0 cpus or less will be bumped up to a request for 1 cpu.

Bugfixes

  • The owner of a group cannot be removed as an admin.
  • Added missing import to upload_manager.
  • Fixed autocomplete for some functions that used TargetsCompleter.
  • Fixed root user creation for clean install of server.

Version 0.2.24 (March 10, 2018)

11 Mar 07:41
65bbff4
Compare
Choose a tag to compare
  • Macros can now take named optional arguments alongside positional arguments
  • Global namespacing for bundles: bundles can now be referred to with host-worksheet//bundle-name from other worksheets
  • Resource management fixes: GPU, CPU and memory requests now act as exclusive request guarantees, and the limits are enforced properly. Removes the free-for-all memory workers
  • URL and Git based bundle uploads can now be made from the Web CLI (cl up https://example.com/test.txt)
  • --allow-failed-dependencies now also allows killed dependencies
  • Fixes and improvements around worker job management: jobs are resumed better after worker restarts, and long running jobs heartbeat the server, preventing unnecessary worker_offline states, offline runs are removed from worker_run
  • Bugfix: content bundle uploads cl upload -c <bundle-contents> now respect their name argument if given
  • Bugfix: content-disposition headers now include attachment as previously they were in violation of the RFC

v0.2.13

18 Jun 04:13
Compare
Choose a tag to compare
bumps version number