Skip to content

Releases: forta-network/forta-node

v0.8.1

06 Jun 12:34
25763c5
Compare
Choose a tag to compare
  • Updated forta-core-go to take @aomerk's memory usage improvements in forta-network/forta-core-go#239
  • Removed the unsafe.Pointer hack in gRPC message encoding
  • Reusing top-level bot context to implement the "closed" state for the bot client
  • Removing bot container images only during cleanups (not node exits)

What's Changed

  • General improvements (memory, bot client, containers) by @canercidam in #745

Full Changelog: v0.8.0...v0.8.1

v0.8.0

02 Jun 18:48
71706da
Compare
Choose a tag to compare

Bot lifecycle management refactor

This release includes architectural changes to bot lifecycle management and internal messaging architecture, and general improvements to recent issues. The supervisor service has become the actor that detects assignment changes and drives state changes in the rest of the services.

More bot metrics and new system errors

To increase the observability on the internal issues, we reused previous bot metrics definitions and added bot lifecycle metrics. Some of these metrics signal the checkpoints in the lifecycle as well as mentioning the bot lifecycle errors and system errors.

Sending error messages is made possible by adding a new details field to metrics.

Other improvements

  • Added back handling of initialize response errors (originally added in #724)
  • Added cleanup step to bot lifecycle in order to remove unused bot resources
  • Added cooldown to bot image pull retries and removed the infinite loop
  • Preserved infinite loop for bot release image downloads

What's Changed

Full Changelog: v0.7.16...v0.8.0

v0.7.16

30 May 18:39
198b640
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.7.15...v0.7.16

v0.7.15

24 May 20:21
ebfc0e6
Compare
Choose a tag to compare

Fix high memory consumption in forta-scanner container

What's Changed

Full Changelog: v0.7.14...v0.7.15

v0.7.14

24 May 17:32
c107341
Compare
Choose a tag to compare

Added more bot lifecycle metrics

What's Changed

Full Changelog: v0.7.13...v0.7.14

v0.7.13

18 May 13:10
3f766fb
Compare
Choose a tag to compare

Minor patches to the bot lifecycle

What's Changed

  • Remove subscriptions from nuked bots by @aomerk in #708
  • Improve bot initialization by @aomerk in #718
  • Set bot deploy context timeout per deployment by @aomerk in #720
  • Scanner does not re deploy bots on deployment failures by @aomerk in #719
  • Wait for agent initalization to start processing by @aomerk in #721

Full Changelog: v0.7.12...v0.7.13

v0.7.12

18 May 13:09
b25da9a
Compare
Choose a tag to compare

Reducing the pressure on the bot list mutex

# @begin release_config
deprecationPolicy:
  supportedVersions:
    - v0.7.12
  activatesInHours: 138
# @end release_config

What's Changed

Full Changelog: v0.7.11...v0.7.12

v0.7.11

17 May 12:18
a8a8b34
Compare
Choose a tag to compare

Reverting the change that enforces the latest bot list every 15 seconds

# @begin release_config
deprecationPolicy:
  supportedVersions:
    - v0.7.11
  activatesInHours: 130
# @end release_config

What's Changed

  • Revert "Always publish latest bots" by @aomerk in #707

Full Changelog: v0.7.10...v0.7.11

v0.7.10

16 May 11:58
9bc4c48
Compare
Choose a tag to compare

Bug fix to bot memory limit

What's Changed

Full Changelog: v0.7.9...v0.7.10

v0.7.9

16 May 08:09
ef621ff
Compare
Choose a tag to compare

Deprecation policy

Starting with this version, Forta node releases may contain release settings which mention the deprecation policy. As we make fixes and add new features to node software, we are trying to ensure that all of the network is running only the supported versions so the detection bots can be run reliably and use the latest features.

If no deprecation policy is mentioned, all nodes will be expected to switch to the latest version within 7 days after the release. The nodes which keep running old versions of the software after this period may start experiencing low SLA scores.

A better forta version command

Since Forta containers can be dynamically updated and can have newer versions than the installed CLI, we updated the forta version command to give you a better understanding about what versions your node is running at any given time. Example output:

{
  "cli": {
    "commit": "ef621ff8cf9e467e021630a6c0367214883e1130",
    "ipfs": "QmbnNB1iyrNthzSptqxXkdz4RHfU3g5Y7QesLhbmv5xrF2",
    "version": "v0.1.2"
  },
  "containers": {
    "commit": "ef621ff8cf9e467e021630a6c0367214883e1130",
    "ipfs": "QmbnNB1iyrNthzSptqxXkdz4RHfU3g5Y7QesLhbmv5xrF2",
    "version": "v0.2.3"
  }
}

General bug fixes

  • Fixed a mutex-related bug that causes input lags, low SLA scores and bot update problems
  • Refactored the updater and increased robustness
# @begin release_config
deprecationPolicy:
  supportedVersions:
    - v0.7.9
  activatesInHours: 72
# @end release_config

What's Changed

Full Changelog: v0.7.8...v0.7.9