You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: agent-tasks/promote-drift-ee-ce.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -104,3 +104,9 @@ A:
104
104
- EE backend doesn’t depend on drift’s job token middleware.
105
105
- Integration boundary: Backend and drift integrate via shared DB (`backend/models`) and external calls; backend doesn’t call drift endpoints today.
106
106
- If closer drift parity is desired later, import CE drift middleware in relevant services or add a backend wrapper that accepts both `DIGGER_WEBHOOK_SECRET` and `DIGGER_INTERNAL_SECRET`.
107
+
108
+
New finding: EE CLI required for GitHub Issues notifications
109
+
- Observation: The GitHub Issues notification path for drift currently lives in the EE CLI (`ee/cli/pkg/drift/provider.go` and related), selected via `INPUT_DRIFT_GITHUB_ISSUES`. Our Action also toggles EE CLI usage via `ee: 'true'`.
110
+
- Impact: Although drift detection is now CE, using GitHub Issues notifications imposes an EE dependency (the example workflow requires `ee: 'true'`). Slack notifications remain CE-only and do not require EE.
111
+
- Proposed fix (upcoming commit): Promote the GitHub Issues drift notification provider to CE by adding a CE implementation (e.g., `cli/pkg/drift/github_issue.go`) and extending the CE provider to honor `INPUT_DRIFT_GITHUB_ISSUES`. Update docs to remove the `ee: 'true'` requirement for Issues after the change.
112
+
- Interim docs: Until the provider is promoted to CE, users need `ee: 'true'` in the workflow to enable GitHub Issues notifications for drift.
Copy file name to clipboardExpand all lines: docs/ce/features/drift-detection.mdx
+40-4Lines changed: 40 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,10 @@ title: "Drift Detection"
3
3
---
4
4
5
5
6
+
<Note>
7
+
Drift detection has been promoted from EE to CE and is now available to all Community Edition users. The examples below show how to configure scheduled drift checks and notifications.
8
+
</Note>
9
+
6
10
# Drift alerts via Slack
7
11
8
12
## Create a separate workflow file for drift
@@ -47,10 +51,42 @@ Note the `DRIFT_DETECTION_SLACK_NOTIFICATION` env var that the workflow above is
47
51
Follow the [official Slack guide](https://api.slack.com/messaging/webhooks) to get the Incoming Webhook URL; then add it as an Action secret named `DRIFT_DETECTION_SLACK_NOTIFICATION`
48
52
49
53
50
-
# Drift alerts via Github Issues
54
+
# Drift alerts via GitHub Issues
55
+
56
+
Digger supports drift detection and automatic creation of issues in your ticketing system, e.g. GitHub Issues. Configure a scheduled workflow that enables GitHub Issues notifications:
57
+
58
+
```
59
+
name: Drift Detection
60
+
61
+
on:
62
+
workflow_dispatch:
63
+
#schedule: ## Schedule the job to run at 12.am daily.
64
+
# - cron: '0 0 * * *'
51
65
52
-
Coming soon to CE, here is an example of how to configure it: https://github.com/diggerhq/demo-ee-features/edit/main/.github/workflows/drift.yml.
53
-
Digger supports drift detection and automatic creation of issues in your ticketing system, e.g. GitHub Issues:
The example above creates GitHub Issues when drift is detected. Ensure `${{ secrets.GITHUB_TOKEN }}` (or a PAT) has permission to create issues in the repository.
89
+
</Note>
54
90
55
91
<imgheight="400"src="/images/drift-issues.png" />
56
92
@@ -59,4 +95,4 @@ Digger supports drift detection and automatic creation of issues in your ticketi
59
95
## 403 errors
60
96
61
97
If you are seeing permission errors such as 403 in the action log while reporting drift status the backend that is almost always due to missing `no-backend: true`
0 commit comments