5 files changed,
+6
−6
infra/modules/region-host/group_alarms.tf
+1 −1
infra/modules/region-host/main.tf
+1 −1
infra/modules/region-host/variables.tf
+2 −2
internal/host/memwatch.go
+1 −1
internal/host/systemleg.go
+1 −1
Intent
Attributed to this commit: 36.8 g CO₂e (4,533,916 tokens). This is an attribution, not a measurement — usage counted from this commit's own marker forward to the next one on region-ha-p3b-build, never backward from it. A turn that produced more than one commit books all of its tokens to the last one, and a concurrent session on this branch can add to the same figure. Some of it was priced using the shared default rate, because no model-specific factor row exists yet for at least one model involved. The Carbon view has the repo total, which is never derived from this attribution.
full ledger: region-ha-p3b-build
| index b2ed29a87..0ef73c423 100644 |
| --- a/infra/modules/region-host/group_alarms.tf |
| +++ b/infra/modules/region-host/group_alarms.tf |
| @@ -92,7 +92,7 @@ resource "aws_cloudwatch_metric_alarm" "group_memory" { |
| resource "aws_cloudwatch_metric_alarm" "group_clock" { |
| count = var.mode == "group" ? 1 : 0 |
| alarm_name = "${var.name}-group-clock" |
| - alarm_description = "A group clock is more than one second off, or clock readings are missing. Check each member's clock evidence." |
| + alarm_description = "A group member's clock is more than one second off, or clock readings are missing. Check each member's clock evidence." |
| namespace = "Carlos/Host" |
| metric_name = "ClockOffsetSeconds" |
| statistic = "Maximum" |
| index ba9108366..b785073fe 100644 |
| --- a/infra/modules/region-host/main.tf |
| +++ b/infra/modules/region-host/main.tf |
| @@ -154,7 +154,7 @@ resource "aws_iam_role" "host" { |
| can(regex("^[a-zA-Z][a-zA-Z0-9-]{0,22}$", var.name)) && |
| can(regex("^[a-zA-Z][a-zA-Z0-9-]{0,63}$", var.iam_name)) |
| ) |
| - error_message = "group mode needs explicit VPC and group configuration, scoped SSM and steering, and no fixed subnet, custom user data, relay or console settings" |
| + error_message = "group mode requires an explicit VPC and group configuration, scoped SSM and steering, and no fixed subnet, custom user data, relay, or console settings" |
| } |
| } |
| name = var.iam_name |
| index 3d771b36e..63a8d8f45 100644 |
| --- a/infra/modules/region-host/variables.tf |
| +++ b/infra/modules/region-host/variables.tf |
| @@ -4,7 +4,7 @@ variable "name" { |
| } |
| |
| variable "sg_description" { |
| - description = "Security group description. Changing it forces SG replacement — keep it stable." |
| + description = "Security group description. Changing it forces security group replacement. Keep it stable." |
| type = string |
| } |
| |
| @@ -301,7 +301,7 @@ variable "group_config" { |
| can(regex("^arn:${data.aws_partition.current[0].partition}:kms:${data.aws_region.current.region}:${data.aws_caller_identity.current.account_id}:key/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$", var.group_config.configuration_kms_key_arn)) && |
| alltrue([for arn in [var.deployment_bucket_arn, var.data_bucket_arn] : can(regex("^arn:${data.aws_partition.current[0].partition}:s3:::[a-z0-9][a-z0-9.-]{1,61}[a-z0-9]$", arn))]) |
| ) |
| - error_message = "group_config must name safe deployment, region and pool identifiers, a pinned AMI and release, regional configuration KMS key and bucket ARNs" |
| + error_message = "group_config must name valid deployment, region, and pool identifiers, a pinned AMI and release, a regional configuration KMS key, and deployment and data bucket ARNs" |
| } |
| } |
| |
| index 9dde5fa21..c7153a9c0 100644 |
| --- a/internal/host/memwatch.go |
| +++ b/internal/host/memwatch.go |
| @@ -129,7 +129,7 @@ func memwatchLoop() { |
| return readChronyTracking(ctx, exec.CommandContext) |
| }) |
| if os.Getenv("CARLOS_GROUP_ADMISSION") == "1" && w.admission == nil { |
| - log.Print("memwatch: admission metrics are disabled. Admission state, deployment bucket, region configuration and a verified launch binding for group boxes are required") |
| + log.Print("memwatch: admission metrics are disabled; group boxes require admission state, a deployment bucket, region configuration, and a verified launch binding") |
| } |
| log.Printf("agent: memwatch armed (%s in %s, every %s, instance %s)", memwatchNamespace, cfg.Region, memwatchPeriod, id) |
| for now := range time.Tick(memwatchPeriod) { |
| index dca443289..909be5681 100644 |
| --- a/internal/host/systemleg.go |
| +++ b/internal/host/systemleg.go |
| @@ -198,7 +198,7 @@ func (l *systemLeg) tick(ctx context.Context, now time.Time) { |
| } |
| if l.readers != nil && !l.groupReaderTargetAllowed(p, now) { |
| if l.readerRefusedAt.IsZero() || now.Sub(l.readerRefusedAt) >= time.Minute { |
| - l.printf("agent: system update %s refused: group reader capability or retirement evidence is unknown", p.version) |
| + l.printf("agent: system update %s refused: group boxes may still publish names, and the target release is not known to read them", p.version) |
| l.readerRefusedAt = now |
| } |
| return |