Repository navigation
feat(people): start dates, time zones, Slack IDs and per-field filters for search_people - #10538
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
[Medium impact] The PR appears safe to merge; no new actionable issues were confirmed. SummaryAdds directory start dates, time zones, Slack identities, and field-by-field filters to People search.
|
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
All reported issues were addressed across 26 files
Reply with feedback, questions, or to request a fix.
Turn on auto-fix | Re-trigger cubic
bfc60af to
4f222d9
Compare
|
@cubic-dev-ai review this PR |
@waleedlatif1 I have started the AI code review. It will take a few minutes to complete. |
There was a problem hiding this comment.
All reported issues were addressed across 29 files
Reply with feedback, questions, or to request a fix.
Turn on auto-fix | Re-trigger cubic
|
@cubic-dev-ai review this PR |
@waleedlatif1 I have started the AI code review. It will take a few minutes to complete. |
There was a problem hiding this comment.
All reported issues were addressed across 29 files
Reply with feedback, questions, or to request a fix.
Turn on auto-fix | Re-trigger cubic
|
@cubic-dev-ai review this PR |
@waleedlatif1 I have started the AI code review. It will take a few minutes to complete. |
27d678d to
ca6cfc3
Compare
|
@cubic-dev-ai review this PR |
@waleedlatif1 I have started the AI code review. It will take a few minutes to complete. |
There was a problem hiding this comment.
All reported issues were addressed across 36 files
You've manually re-run cubic several times on this PR. Each manual re-review checks the full PR again and counts toward your usage quota. To preserve your usage limits, we recommend letting cubic automatically review new commits.
Turn on auto-fix | Re-trigger cubic
@waleedlatif1 I have started the AI code review. It will take a few minutes to complete. |
There was a problem hiding this comment.
No issues found across 36 files
Confidence score: 5/5
- Automated review surfaced no issues in the provided summaries.
- No files require special attention.
You've manually re-run cubic several times on this PR. Each manual re-review checks the full PR again and counts toward your usage quota. To preserve your usage limits, we recommend letting cubic automatically review new commits.
Turn on auto-fix | Re-trigger cubic
|
@cubic-dev-ai review this PR |
@waleedlatif1 I have started the AI code review. It will take a few minutes to complete. |
There was a problem hiding this comment.
All reported issues were addressed across 36 files
You've manually re-run cubic several times on this PR. Each manual re-review checks the full PR again and counts toward your usage quota. To preserve your usage limits, we recommend letting cubic automatically review new commits.
Turn on auto-fix | Re-trigger cubic
…s for search_people - people_directory_entry/stage gain start_date and timezone, read from Entra employeeHireDate, Okta timezone and hireDate/startDate attributes, and SCIM timezone - people_slack_identity holds each person's Slack user ID and time zone, refreshed daily by the People sync cron from the Slack Search bot's member list under a fenced lease - search_people filters by name, email, title, department, location and managerPersonId, and returns time zone, Slack user ID, manager ID and email, and direct report counts
…r, fence writes to the current bot, regenerate assistant catalogs
…utbound scope, count only committed refreshes, format migration meta
…ation's last bot is disabled
…staging; pass search_people filters through the workflow block
…ch Slack refresh its own time budget
…e catalogs after staging
…ibute does not parse
… workspace and name the workspace with each ID
…h one bounded parameter
9138b10 to
93f4fef
Compare
|
@cubic-dev-ai review this PR |
@waleedlatif1 I have started the AI code review. It will take a few minutes to complete. |
There was a problem hiding this comment.
No issues found across 36 files
Confidence score: 5/5
- Automated review surfaced no issues in the provided summaries.
- No files require special attention.
You've manually re-run cubic several times on this PR. Each manual re-review checks the full PR again and counts toward your usage quota. To preserve your usage limits, we recommend letting cubic automatically review new commits.
Turn on auto-fix | Re-trigger cubic
Summary
people_directory_entryandpeople_directory_stagegainstart_dateandtimezone. The sync reads EntraemployeeHireDate, Oktatimezone(plushireDate/startDatecustom attributes), and SCIMtimezone. Values that are not a calendar date or an IANA zone are dropped. One-time Okta/Entra imports also carry the start date.people_slack_identitytable (pluspeople_slack_syncstate): each person's Slack user ID and time zone in the organization's Slack Search workspace, matched by email. The existing People sync cron refreshes it daily from the bot'susers.list:search_people(Search MCP, Assistant, workflows):name,email(exact, case-insensitive),title,department,location,managerPersonIdtimezone,slackUserId; list rows also getmanagerPersonId,managerEmailandtotalDirectReportsorganization_search_peopletool take the same filters.timezone,slackUserIdandreportCount.search_peopleschema and description. No tool policy change.Type of Change
Testing
lib/people/directory-fields.integration.ts: filters, email matching, manager rows, report counts, and Slack/directory time zone precedence against real Postgres.lib/people/slack-identities.integration.ts: paging, whole-list replacement, rate-limit retry, lease fencing, failure retry, and a disabled bot.lib/people/sync/stage.integration.ts: start date and time zone publish and republish.lib/people/provider-import.test.ts: Okta/Entra parsing.lib/people,lib/knowledge/mcp,ee/scim,lib/internal/slackand the cron and organizations route suites: 418 unit tests.bun run generate,lint,check:migrations, plus these audits: actorless-executor-operations, tool-request-boundary, boundaries, utils, comment-hygiene, test-patterns, file-names, api-validation:strict, tool-registry-boundary.Checklist
test-auditauthoring gate)