Skip to content

TPT-3596: Project CloudPulse Metrics Integration for Core Compute - #1058

Merged
yec-akamai merged 7 commits into
mainfrom
proj/aclp-linode-alerts
Oct 12, 2026
Merged

yec-akamai merged 7 commits into
mainfrom
proj/aclp-linode-alerts

Conversation

@yec-akamai

@yec-akamai yec-akamai commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

📝 Description

Merge project Cloud Pulse Metrics.

✔️ How to Test

make test-unit
make test-int

yec-akamai and others added 6 commits February 10, 2026 14:29
* linode alerts

* add docs

* address comments

* address comments

* update monthly transfer
* rm omitempty

* use pointer

* update unit test

* misc

* use omitzero

* nit

* add marshal empty test
* Create tests TestLinodeAlertsWorkflow, TestTryToUpdateLinodeAlertsLegacyAndAclpAtTheSameTime and update existing tests to verify alerts fields

* Apply copilot suggestions

* apply code review suggestions

* apply code review suggestions

* apply code review suggestions
# Conflicts:
#	instances.go
#	test/integration/instances_test.go
#	test/unit/fixtures/interface_list.json
#	test/unit/instance_test.go
@yec-akamai
yec-akamai requested review from a team as code owners October 12, 2026 14:51
@yec-akamai
yec-akamai requested a balanced review from Copilot and removed request for a team October 12, 2026 14:51
@yec-akamai yec-akamai added the project for new projects in the changelog. label Oct 12, 2026
@yec-akamai
yec-akamai requested review from ezilber-akamai and mawilk90 and removed request for a team October 12, 2026 14:51
@yec-akamai yec-akamai changed the title Project: CloudPulse Metrics Integration for Core Compute TPT-3596 Project: CloudPulse Metrics Integration for Core Compute Oct 12, 2026
@yec-akamai yec-akamai changed the title TPT-3596 Project: CloudPulse Metrics Integration for Core Compute TPT-3596: Project CloudPulse Metrics Integration for Core Compute Oct 12, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The integration workflow uses DBaaS definitions, resets legacy thresholds, and leaks a cloned instance.

7 open findings
What changed in this PR

Adds CloudPulse alert associations to core compute instances.

Changes:

  • Adds system/user alert IDs to instance models and options.
  • Extends unit coverage and fixtures for alert serialization.
  • Adds integration workflows for legacy and ACLP alerts.
File Description
instances.go Adds alert IDs and create/clone options.
test/​unit/​instance_test.go Tests alert decoding and serialization.
test/​unit/​fixtures/​instance_update.json Adds update alert response data.
test/​unit/​fixtures/​instance_get.json Adds get alert response data.
test/​unit/​fixtures/​instance_create.json Adds create alert response data.
test/​unit/​fixtures/​instance_clone.json Adds clone alert response data.
test/​integration/​instances_test.go Adds alert integration workflows.
test/​integration/​fixtures/​TestInstance_UpdateACLPAlerts.yaml Records ACLP update workflow.
test/​integration/​fixtures/​TestInstance_LegacyAlertsWorkflow.yaml Records legacy alert workflow.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread test/integration/instances_test.go Outdated
Comment thread test/integration/fixtures/TestInstance_LegacyAlertsWorkflow.yaml Outdated
Comment thread test/integration/instances_test.go
Comment thread test/integration/instances_test.go
Comment thread test/integration/instances_test.go Outdated
Comment thread test/unit/instance_test.go Outdated
Comment thread instances.go Outdated

@ezilber-akamai ezilber-akamai left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tests passing locally!

@yec-akamai
yec-akamai merged commit ba4d457 into main Oct 12, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

project for new projects in the changelog.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants