Conversation
…uthoritative manifests Companion to the SyncDefinition.isDirectorySource flag added earlier in this PR: - Add `isDirectorySource?: boolean` to the `IntegrationManifest` interface so code-based manifests can advertise themselves as authoritative employee directories with the same vocabulary that dynamic integrations use via `SyncDefinition.isDirectorySource`. - Set `isDirectorySource: true` on the two code-based manifests that actually perform employee sync today: `google-workspace` and `rippling`. Both are customer-trusted directories of who works at the company, and their inline Phase 2 deactivation in `sync.controller.ts` is the correct behavior for them. Why this matters even though the inline GWS/Rippling sync paths don't go through `processEmployees` today: - Consistency: every authoritative directory now declares its role in one obvious place, regardless of code-based vs dynamic. - Documentation: a future reader of the manifest immediately sees "this integration is the source of truth for employment status." - Future-proofing: if the inline GWS/Rippling sync paths are ever consolidated into the generic `processEmployees` pipeline, the flag is already correctly set and the consolidation becomes a one-line change. No behavior change today — purely declarative. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
CS-422 [BUG] Employees missing following confluence sync
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
Contributor
|
🎉 This PR is included in version 3.61.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is an automated pull request to release the candidate branch into production, which will trigger a deployment.
It was created by the [Production PR] action.
Summary by cubic
Gate Phase 2 deactivation behind a new
isDirectorySourceflag so only authoritative directories can deactivate members; skips deactivation for product-scoped tools to prevent accidental removals. Addresses CS-422 where Confluence sync caused employees to disappear.isDirectorySourcetoSyncDefinitionandIntegrationManifest(default false).isDirectorySource: trueforgoogle-workspaceandrippling; controller now passes the flag toprocessEmployees.GenericEmployeeSyncServiceto skip Phase 2 unless the flag is true; added tests for gating and domain checks.Written for commit 660daba. Summary will update on new commits. Review in cubic