Skip to content

Fix job-match worker notifications#57

Merged
profilesearch merged 1 commit into
mainfrom
fix/job-match-worker-notifications
Jun 23, 2026
Merged

Fix job-match worker notifications#57
profilesearch merged 1 commit into
mainfrom
fix/job-match-worker-notifications

Conversation

@profilesearch

Copy link
Copy Markdown
Owner

Summary

  • Fixes job-match notification lookup to use services.worker_id instead of non-existent services.user_id.
  • Sends notifications to w["worker_id"] instead of w["user_id"].
  • Adds regression coverage proving job creation inserts a job_match notification for a matching active service worker.

Root cause

The job creation path queried and read the wrong worker column, then swallowed the exception in the notification best-effort block. Jobs could be created successfully while matching workers were never notified.

Test Plan

  • python3 -m unittest test_deep_audit_regressions.BackendRegressionTests.test_job_creation_notifies_matching_service_workers
  • python3 -m unittest test_deep_audit_regressions.py
  • python3 -m unittest test_diagnostics.py

@vercel

vercel Bot commented Jun 23, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
gohire-humans Ready Ready Preview, Comment Jun 23, 2026 4:47pm

Request Review

@profilesearch profilesearch merged commit 9403e1d into main Jun 23, 2026
4 checks passed
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