refactor: Format comments in MoveTelemetryServiceTokenToTelemetryIngestionKey migration for clarity
Some checks failed
Build / docker-build-accounts (push) Waiting to run
Build / docker-build-isolated-vm (push) Waiting to run
Build / docker-build-home (push) Waiting to run
Build / docker-build-worker (push) Waiting to run
Build / docker-build-workflow (push) Waiting to run
Build / docker-build-api-reference (push) Waiting to run
Build / docker-build-docs (push) Waiting to run
Build / docker-build-otel-collector (push) Waiting to run
Build / docker-build-app (push) Waiting to run
Compile / compile-worker (push) Waiting to run
Compile / compile-workflow (push) Waiting to run
Compile / compile-accounts (push) Waiting to run
Compile / compile-isolated-vm (push) Waiting to run
Compile / compile-common (push) Waiting to run
Compile / compile-app (push) Waiting to run
Compile / compile-home (push) Waiting to run
Compile / compile-api-reference (push) Waiting to run
Compile / compile-docs-reference (push) Waiting to run
Compile / compile-nginx (push) Waiting to run
Compile / compile-infrastructure-agent (push) Waiting to run
Compile / compile-admin-dashboard (push) Waiting to run
Compile / compile-dashboard (push) Waiting to run
Compile / compile-e2e (push) Waiting to run
Compile / compile-probe (push) Waiting to run
Compile / compile-probe-ingest (push) Waiting to run
Compile / compile-server-monitor-ingest (push) Waiting to run
Compile / compile-test-server (push) Waiting to run
Compile / compile-mcp (push) Waiting to run
Compile / compile-ai-agent (push) Waiting to run
OpenAPI Spec Generation / generate-openapi-spec (push) Waiting to run
Terraform Provider Generation / generate-terraform-provider (push) Waiting to run
Push Test Images to Docker Hub and GitHub Container Registry / generate-build-number (push) Waiting to run
Push Test Images to Docker Hub and GitHub Container Registry / read-version (push) Waiting to run
Push Test Images to Docker Hub and GitHub Container Registry / mcp-docker-image-deploy (push) Blocked by required conditions
Push Test Images to Docker Hub and GitHub Container Registry / nginx-docker-image-deploy (push) Blocked by required conditions
Build / docker-build-e2e (push) Waiting to run
Build / docker-build-admin-dashboard (push) Waiting to run
Build / docker-build-dashboard (push) Waiting to run
Build / docker-build-probe (push) Waiting to run
Build / docker-build-probe-ingest (push) Waiting to run
Build / docker-build-server-monitor-ingest (push) Waiting to run
Build / docker-build-telemetry (push) Waiting to run
Build / docker-build-incoming-request-ingest (push) Waiting to run
Build / docker-build-status-page (push) Waiting to run
Build / docker-build-test-server (push) Waiting to run
Build / docker-build-ai-agent (push) Waiting to run
CodeQL / Analyze (push) Waiting to run
Common Jobs / helm-lint (push) Waiting to run
Common Jobs / js-lint (push) Waiting to run
Compile / compile-telemetry (push) Waiting to run
Compile / compile-incoming-request-ingest (push) Waiting to run
Compile / compile-status-page (push) Waiting to run
ProbeIngest Test / test (push) Waiting to run
Push Test Images to Docker Hub and GitHub Container Registry / e2e-docker-image-deploy (push) Blocked by required conditions
Push Test Images to Docker Hub and GitHub Container Registry / test-server-docker-image-deploy (push) Blocked by required conditions
Push Test Images to Docker Hub and GitHub Container Registry / otel-collector-docker-image-deploy (push) Blocked by required conditions
Push Test Images to Docker Hub and GitHub Container Registry / isolated-vm-docker-image-deploy (push) Blocked by required conditions
Push Test Images to Docker Hub and GitHub Container Registry / home-docker-image-deploy (push) Blocked by required conditions
Push Test Images to Docker Hub and GitHub Container Registry / status-page-docker-image-deploy (push) Blocked by required conditions
Push Test Images to Docker Hub and GitHub Container Registry / test-docker-image-deploy (push) Blocked by required conditions
Push Test Images to Docker Hub and GitHub Container Registry / probe-ingest-docker-image-deploy (push) Blocked by required conditions
Push Test Images to Docker Hub and GitHub Container Registry / server-monitor-ingest-docker-image-deploy (push) Blocked by required conditions
Push Test Images to Docker Hub and GitHub Container Registry / incoming-request-ingest-docker-image-deploy (push) Blocked by required conditions
Push Test Images to Docker Hub and GitHub Container Registry / telemetry-docker-image-deploy (push) Blocked by required conditions
Push Test Images to Docker Hub and GitHub Container Registry / probe-docker-image-deploy (push) Blocked by required conditions
Push Test Images to Docker Hub and GitHub Container Registry / dashboard-docker-image-deploy (push) Blocked by required conditions
Push Test Images to Docker Hub and GitHub Container Registry / admin-dashboard-docker-image-deploy (push) Blocked by required conditions
Push Test Images to Docker Hub and GitHub Container Registry / app-docker-image-deploy (push) Blocked by required conditions
Push Test Images to Docker Hub and GitHub Container Registry / api-reference-docker-image-deploy (push) Blocked by required conditions
Push Test Images to Docker Hub and GitHub Container Registry / accounts-docker-image-deploy (push) Blocked by required conditions
Push Test Images to Docker Hub and GitHub Container Registry / ai-agent-docker-image-deploy (push) Blocked by required conditions
Push Test Images to Docker Hub and GitHub Container Registry / worker-docker-image-deploy (push) Blocked by required conditions
Push Test Images to Docker Hub and GitHub Container Registry / workflow-docker-image-deploy (push) Blocked by required conditions
Push Test Images to Docker Hub and GitHub Container Registry / docs-docker-image-deploy (push) Blocked by required conditions
Push Test Images to Docker Hub and GitHub Container Registry / publish-terraform-provider (push) Blocked by required conditions
Push Test Images to Docker Hub and GitHub Container Registry / test-helm-chart (push) Blocked by required conditions
Push Test Images to Docker Hub and GitHub Container Registry / test-e2e-test-saas (push) Blocked by required conditions
Push Test Images to Docker Hub and GitHub Container Registry / test-e2e-test-self-hosted (push) Blocked by required conditions
Push Test Images to Docker Hub and GitHub Container Registry / infrastructure-agent-deploy (push) Blocked by required conditions
AIAgent Test / test (push) Waiting to run
Common Test / test (push) Waiting to run
Incoming Request Ingest Test / test (push) Waiting to run
MCP Server Test / test (push) Waiting to run
Probe Test / test (push) Waiting to run
Telemetry Test / test (push) Waiting to run
Tests / test-app (push) Waiting to run
Tests / test-home (push) Waiting to run
Tests / test-worker (push) Waiting to run
Push Release Images to Docker Hub and GitHub Container Registry / generate-build-number (push) Has been cancelled
Push Release Images to Docker Hub and GitHub Container Registry / read-version (push) Has been cancelled
Push Release Images to Docker Hub and GitHub Container Registry / helm-chart-deploy (push) Has been cancelled
Push Release Images to Docker Hub and GitHub Container Registry / mcp-docker-image-deploy (push) Has been cancelled
Push Release Images to Docker Hub and GitHub Container Registry / nginx-docker-image-deploy (push) Has been cancelled
Push Release Images to Docker Hub and GitHub Container Registry / e2e-docker-image-deploy (push) Has been cancelled
Push Release Images to Docker Hub and GitHub Container Registry / isolated-vm-docker-image-deploy (push) Has been cancelled
Push Release Images to Docker Hub and GitHub Container Registry / home-docker-image-deploy (push) Has been cancelled
Push Release Images to Docker Hub and GitHub Container Registry / test-server-docker-image-deploy (push) Has been cancelled
Push Release Images to Docker Hub and GitHub Container Registry / otel-collector-docker-image-deploy (push) Has been cancelled
Push Release Images to Docker Hub and GitHub Container Registry / status-page-docker-image-deploy (push) Has been cancelled
Push Release Images to Docker Hub and GitHub Container Registry / test-docker-image-deploy (push) Has been cancelled
Push Release Images to Docker Hub and GitHub Container Registry / probe-ingest-docker-image-deploy (push) Has been cancelled
Push Release Images to Docker Hub and GitHub Container Registry / server-monitor-ingest-docker-image-deploy (push) Has been cancelled
Push Release Images to Docker Hub and GitHub Container Registry / telemetry-docker-image-deploy (push) Has been cancelled
Push Release Images to Docker Hub and GitHub Container Registry / incoming-request-ingest-docker-image-deploy (push) Has been cancelled
Push Release Images to Docker Hub and GitHub Container Registry / probe-docker-image-deploy (push) Has been cancelled
Push Release Images to Docker Hub and GitHub Container Registry / admin-dashboard-docker-image-deploy (push) Has been cancelled
Push Release Images to Docker Hub and GitHub Container Registry / infrastructure-agent-deploy (push) Has been cancelled
Push Release Images to Docker Hub and GitHub Container Registry / Publish GitHub release (push) Has been cancelled
Push Release Images to Docker Hub and GitHub Container Registry / dashboard-docker-image-deploy (push) Has been cancelled
Push Release Images to Docker Hub and GitHub Container Registry / app-docker-image-deploy (push) Has been cancelled
Push Release Images to Docker Hub and GitHub Container Registry / accounts-docker-image-deploy (push) Has been cancelled
Push Release Images to Docker Hub and GitHub Container Registry / ai-agent-docker-image-deploy (push) Has been cancelled
Push Release Images to Docker Hub and GitHub Container Registry / publish-npm-packages (push) Has been cancelled
Push Release Images to Docker Hub and GitHub Container Registry / docs-docker-image-deploy (push) Has been cancelled
Push Release Images to Docker Hub and GitHub Container Registry / worker-docker-image-deploy (push) Has been cancelled
Push Release Images to Docker Hub and GitHub Container Registry / workflow-docker-image-deploy (push) Has been cancelled
Push Release Images to Docker Hub and GitHub Container Registry / publish-terraform-provider (push) Has been cancelled
Push Release Images to Docker Hub and GitHub Container Registry / api-reference-docker-image-deploy (push) Has been cancelled
Push Release Images to Docker Hub and GitHub Container Registry / Push release tags before GitHub release (push) Has been cancelled
Push Release Images to Docker Hub and GitHub Container Registry / test-e2e-release-saas (push) Has been cancelled
Push Release Images to Docker Hub and GitHub Container Registry / test-e2e-release-self-hosted (push) Has been cancelled
Push Release Images to Docker Hub and GitHub Container Registry / Create draft GitHub release (push) Has been cancelled

This commit is contained in:
Nawaz Dhandala 2026-01-10 09:29:27 +00:00
parent 54b1a74dc2
commit abd9741337
No known key found for this signature in database
GPG key ID: 96C5DCA24769DBCA
2 changed files with 17 additions and 16 deletions

View file

@ -13,19 +13,18 @@ export default class AddTelemetryServiceColor extends DataMigrationBase {
public override async migrate(): Promise<void> {
// get all the users with email isVerified true.
const services: Array<Service> =
await ServiceService.findBy({
query: {},
select: {
_id: true,
serviceColor: true,
},
limit: LIMIT_MAX,
skip: 0,
props: {
isRoot: true,
},
});
const services: Array<Service> = await ServiceService.findBy({
query: {},
select: {
_id: true,
serviceColor: true,
},
limit: LIMIT_MAX,
skip: 0,
props: {
isRoot: true,
},
});
for (const service of services) {
if (!service.serviceColor) {

View file

@ -6,9 +6,11 @@ export default class MoveTelemetryServiceTokenToTelemetryIngestionKey extends Da
}
public override async migrate(): Promise<void> {
// This migration is no longer needed as the telemetryServiceToken field
// has been removed from the Service model. The migration was used to move
// tokens from TelemetryService to TelemetryIngestionKey.
/*
* This migration is no longer needed as the telemetryServiceToken field
* has been removed from the Service model. The migration was used to move
* tokens from TelemetryService to TelemetryIngestionKey.
*/
return;
}