Skip to content

[feat] Add Datadog downtime and ArgoCD sync workflow#9

Open
jlabatut wants to merge 1 commit into
algolia:mainfrom
jlabatut:jlabatut-coding-interview-2026-06-12
Open

[feat] Add Datadog downtime and ArgoCD sync workflow#9
jlabatut wants to merge 1 commit into
algolia:mainfrom
jlabatut:jlabatut-coding-interview-2026-06-12

Conversation

@jlabatut

Copy link
Copy Markdown

Simple JavaScript/Node.js script answering some of the README needs, by mocking locally Datadog downtime and ArgoCD sync APIs.

How to run

node index.js myApp

Features

  • Provide an application name
  • Schedule a downtime
  • Sync an ArgoCD application
  • Wait for the ArgoCD application sync
  • Once synced, cancel the previously created downtime

Limitations

Idempotency (downtime already created) is not implemented yet. A failover could also be added while waiting for the application sync, in case the sync cannot be succesful (e.g. by adding a timeout).

@codacy-production

Copy link
Copy Markdown

Not up to standards ⛔

🔴 Issues 1 critical · 2 high

Alerts:

⚠ 3 issues (≤ 0 issues of at least high severity)

Results:
3 new issues

Category Results
Security 1 critical
2 high

View in Codacy

🟢 Metrics 8 complexity · 0 duplication

Metric Results
Complexity 8
Duplication 0

View in Codacy

TIP This summary will be updated as you push new changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant