Skip to content

Releases: simonsobs/ocs

v0.11.3

20 Sep 15:07
4089389
Compare
Choose a tag to compare

Description

This is a minor release after changing the build backend. There are no functionality changes, but the source distribution published to PyPI has changed slightly. In prior releases some of the tests were published, but not in a way that was functional. In this, and future releases, the tests/ directory is not included in the sdist. Some other files that should not have been included have also been removed. Users interested in contributing to ocs are encouraged to get the tests directly from this repo instead.

Reported version change when installing from source

The reported version installed now has a slightly different format, as we have dropped use of versioneer, which was providing this version number. This only affects users who install directly from source, not if you install from PyPI. Here is an example of the change:

old version format: 0.11.2+7.ga1e7e91
new version format: 0.11.2.post1.dev7+ga1e7e91

What's Changed

Full Changelog: v0.11.2...v0.11.3

v0.11.2

30 Aug 14:37
fe03421
Compare
Choose a tag to compare

Description

This release reworks how the ocs Docker image is built, removing some unneeded base layers. This shrinks the image considerably.

It also introduces a timeout feature in the create_agent_runner_fixture function, used in integration testing. This timeout feature helps abort tests that hang due to a crash in the agent subprocess. The default timeout is 60 seconds. If you have integration tests that take longer than that for a given test you should be sure to use a longer timeout, else the test will abort early.

What's Changed

Full Changelog: v0.11.1...v0.11.2

v0.11.1

31 Jul 17:35
0de9c72
Compare
Choose a tag to compare

Description

This release is mostly to solidify the recent packaging issue resolutions from #392 and #394. The setuptools issue in particular was hitting downstream packages like socs.

We expect these packaging fixes to be temporary, but found them to be necessary for now. Please use the discussion associated with this release or the issues tracker to report any issues.

What's Changed

Packaging

Version Updates

Misc.

Full Changelog: v0.11.0...v0.11.1

v0.11.0

29 Apr 20:14
bafc2f4
Compare
Choose a tag to compare

Description

Release v0.11.0 drops support for Docker Compose v1 in the Host Manager agent and adds support for Docker Compose v2. It also comes with improvements to the session.status object. Lastly, we have stopped publishing the ocs-utils image, which has not been properly maintained for a while now.

Compose v2 Update

OCS users relying on the Host Manager Agent likely already have Compose v2 installed, but should migrate to Compose v2 and remove v1. Using v1 may result in some errors preventing updates to services.

session.status Update

Details on this update can be found in #371. One added feature is the new "DEGRADED" OpCode value. See the updated documentation for how to use this to monitor the state of an agent.

Additionally, session.status is now placed into the "RUNNING" state automatically just before the agent operation is launched. Agent developers no longer need to call session.set_status('running') explicitly within their agents. Any instances of session.set_status('starting') should be removed from existing Agents, as they will cause an error related to the session status going backwards. session.publish_status has also been removed.

What's Changed

New Features

Bug Fixes

  • Fix bug in how args are parsed from site-config by @jlashner in #378

Version Updates

Misc.

Full Changelog: v0.10.4...v0.11.0

v0.10.4

08 Jan 15:06
078bbcb
Compare
Choose a tag to compare

Description

Release v0.10.4 fixes a data duplication bug that can occur under certain circumstances in any agent that subscribes to a Feed. Within the core OCS agents this means the aggregator and InfluxDB publisher agents. The bug occurs when a network interruption disrupts the connection between the crossbar server and the subscribing agent, depending on the state of the crossbar server. Details are available in #366. Users are encouraged to update their agents.

What's Changed

Full Changelog: v0.10.3...v0.10.4

v0.10.3

13 Nov 19:05
da25bd8
Compare
Choose a tag to compare

Description

Release v0.10.3 focuses on the Host Manager Agent and introduces a configurable agent timeout for crossbar disconnects. Users are encouraged to upgrade.

Host Manager

There are many bug fixes and some new features for the Host Manager introduced by #353. For details see the "Centralized Management" page in the docs. One highlight in particular is the new "manage" options, detailed in "Advanced host config". These changes should also enable running a single Host Manager where two previously were run (one for agents on the host, and one for agents within Docker containers.)

Crossbar Timeout

The "crossbar-timeout" setting allows for agents to wait longer for the crossbar server to come back online before shutting down. They can wait indefinitely if this is set to 0. See "Crossbar Connection Timeout" for more details.

What's Changed

New Features

Bug Fixes

Version Updates

Testing

Full Changelog: v0.10.2...v0.10.3

v0.10.2

30 May 18:38
e7d331f
Compare
Choose a tag to compare

Description

Release v0.10.2 mostly contains bug fixes and quality of life improvements.

Address Root

Bug fix #327 effectively adds the functionality provided by the "address_root". This allows you to set the address root to a string other than 'observatory', however you must then adjust settings in your crossbar server configuration. See the updated System Configuration pages for the SCF and Crossbar Configuration for more details.

Note
Changing the address root on an existing system will have implications for viewing the data in Grafana and loading from .g3 file, as all feed names will change to include the new address root.

What's Changed

New Features

  • Separate blocks for each registered operation by @jlashner in #312
  • ocs-agent-cli renames itself in process list by @mhasself in #325

Bug Fixes

Testing

Documentation

Version Updates

Misc.

Full Changelog: v0.10.1...v0.10.2

v0.10.1

15 Nov 15:30
e8728fe
Compare
Choose a tag to compare

Description

Release v0.10.1 is mostly bug fixes and performance improvements.

Users are especially encouraged to upgrade the registry and influxdb publisher agents, as major performance improvements have been made which become necessary when the OCS network grows to a certain size. These improvements reduce I/O load on the system.

What's Changed

New Features

Bug Fixes

Version Updates

Misc.

New Contributors

Full Changelog: v0.10.0...v0.10.1

v0.10.0

17 Oct 18:02
c50f7e5
Compare
Choose a tag to compare

Description

There are several large changes in release v0.10.0. These may require user action, as described below.

ocs-web

ocs-web has been removed from this repository. It has been replaced by an improved Vue.js version kept in simonsobs/ocs-web.

Current users of ocs-web should upgrade to the new Vue.js based version. Setup instructions, including how to run with the provided Docker image, are located in the ocs-web repo's README file.

OCS Plugins

v0.10.0 adds the OCS Plugin system. This has moved all core OCS Agents to be within the ocs package. (They were previously in a separate agents/ directory.) This allows core Agent installation via pip from PyPI.

During this change all core ocs Agent Docker images have been merged into a single image. All core Agents can now be run from the simonsobs/ocs image. Configuration of the image can now largely be done by setting environment variables. For example, to run a fake data Agent a docker-compose service would look like:

fake-data1:
    image: simonsobs/ocs:v0.10.0
    hostname: ocs-docker
    environment:
      - INSTANCE_ID=fake-data1
    volumes:
      - ${OCS_CONFIG_DIR}:/config:ro

Please see each Agent's respective reference page for updated configuration file information.

Separate Agent images will not be built moving forward, so in order to update you must switch to using the new simonsobs/ocs:v0.10.0 image.

Task Abort

Task aborting has been a long planned feature of ocs. It is now implemented. Agent developers can now add the ability to abort tasks. You can read about how to do so in the newly re-written Agent Writing Guide. More specifically see "Aborting a Task".

OCS now tries to run the Process stop command in the same threading context as the Process itself (the same is true for Task aborts.) Existing Agents with their process start/stop commands in differing contexts can still be run, but OCS will print a warning. Agent developers are encouraged to put their start/stops in the same context. See the Agent guide above for details.

What's Changed

New Features

Documentation Updates

Bug Fixes

Misc.

Full Changelog: v0.9.3...v0.10.0

v0.9.3

14 Jun 13:54
076105e
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.9.2...v0.9.3