This commit is contained in:
Balena CI 2022-11-18 16:08:16 +00:00
parent 40d19520e5
commit e64166a583
No known key found for this signature in database
GPG Key ID: E2ADEC9754128402
6 changed files with 75 additions and 6 deletions

View File

@ -1,3 +1,63 @@
- commits:
- subject: Improve determination of when a state change may need to be reported
hash: 599b5cf811eaf3fbc0d52ac1ca249b58e1f5d942
body: ""
footer:
Change-type: patch
change-type: patch
Signed-off-by: Ken Bannister <kb2ma@runbox.com>
signed-off-by: Ken Bannister <kb2ma@runbox.com>
author: Ken Bannister
nested: []
- subject: Report must include a state change if sooner than metrics frequency
hash: b1d4aa5159add5269999087507ef355def358f86
body: |
Export list of metrics properties from device state module for this
determination.
footer:
Change-type: patch
change-type: patch
Signed-off-by: Ken Bannister <kb2ma@runbox.com>
signed-off-by: Ken Bannister <kb2ma@runbox.com>
author: Ken Bannister
nested: []
- subject: Remove report frequency management from current state reporting function
hash: d1dd53b5b6dd4b81e634c769a59ad3cf8111d343
body: |
Report frequency now managed completely by callers.
footer:
Change-type: patch
change-type: patch
Signed-off-by: Ken Bannister <kb2ma@runbox.com>
signed-off-by: Ken Bannister <kb2ma@runbox.com>
author: Ken Bannister
nested: []
- subject: Move definition of maxReportFrequency to the reporting file
hash: c67429f3e11158335a780778e04b2a94a5623788
body: >
Narrows scope to where it is used, like the new maxMetricsFrequency value.
footer:
Change-type: patch
change-type: patch
Signed-off-by: Ken Bannister <kb2ma@runbox.com>
signed-off-by: Ken Bannister <kb2ma@runbox.com>
author: Ken Bannister
nested: []
- subject: Report metrics in target-state PATCH based on a max frequency
hash: 45d71fa60d8da9bbf8071b359620de43a8ca15be
body: |
Adds maxMetricsFrequency, separate from maxReportFrequency.
Also ensures most recent state change event is reported.
footer:
Change-type: patch
change-type: patch
Signed-off-by: Ken Bannister <kb2ma@runbox.com>
signed-off-by: Ken Bannister <kb2ma@runbox.com>
author: Ken Bannister
nested: []
version: 14.4.1
title: ""
date: 2022-11-18T16:08:13.927Z
- commits: - commits:
- subject: Use fatrw utility for writes to boot partition - subject: Use fatrw utility for writes to boot partition
hash: dade5987370c68d639d698cc3e4a9d6ccf4df9c5 hash: dade5987370c68d639d698cc3e4a9d6ccf4df9c5

View File

@ -4,6 +4,15 @@ All notable changes to this project will be documented in this file
automatically by Versionist. DO NOT EDIT THIS FILE MANUALLY! automatically by Versionist. DO NOT EDIT THIS FILE MANUALLY!
This project adheres to [Semantic Versioning](http://semver.org/). This project adheres to [Semantic Versioning](http://semver.org/).
# v14.4.1
## (2022-11-18)
* Improve determination of when a state change may need to be reported [Ken Bannister]
* Report must include a state change if sooner than metrics frequency [Ken Bannister]
* Remove report frequency management from current state reporting function [Ken Bannister]
* Move definition of maxReportFrequency to the reporting file [Ken Bannister]
* Report metrics in target-state PATCH based on a max frequency [Ken Bannister]
# v14.4.0 # v14.4.0
## (2022-11-17) ## (2022-11-17)

View File

@ -1 +1 @@
14.4.0 14.4.1

View File

@ -2,6 +2,6 @@ name: balena-supervisor
description: 'Balena Supervisor: balena''s agent on devices.' description: 'Balena Supervisor: balena''s agent on devices.'
joinable: false joinable: false
type: sw.application type: sw.application
version: 14.4.0 version: 14.4.1
provides: provides:
- slug: sw.compose.long-volume-syntax - slug: sw.compose.long-volume-syntax

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{ {
"name": "balena-supervisor", "name": "balena-supervisor",
"version": "14.4.0", "version": "14.4.1",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "balena-supervisor", "name": "balena-supervisor",
"version": "14.4.0", "version": "14.4.1",
"license": "Apache-2.0", "license": "Apache-2.0",
"dependencies": { "dependencies": {
"@balena/happy-eyeballs": "0.0.6", "@balena/happy-eyeballs": "0.0.6",

View File

@ -1,7 +1,7 @@
{ {
"name": "balena-supervisor", "name": "balena-supervisor",
"description": "This is balena's Supervisor, a program that runs on IoT devices and has the task of running user Apps (which are Docker containers), and updating them as the balena API informs it to.", "description": "This is balena's Supervisor, a program that runs on IoT devices and has the task of running user Apps (which are Docker containers), and updating them as the balena API informs it to.",
"version": "14.4.0", "version": "14.4.1",
"license": "Apache-2.0", "license": "Apache-2.0",
"repository": { "repository": {
"type": "git", "type": "git",
@ -145,6 +145,6 @@
} }
}, },
"versionist": { "versionist": {
"publishedAt": "2022-11-17T01:37:53.367Z" "publishedAt": "2022-11-18T16:08:14.909Z"
} }
} }