{"version":"2.1.234","anchor":"directory-sync-announces-a-single-verdict-to-everything-wait","canonical_anchor":"directory-sync-announces-a-single-verdict-to-everything-wait","heading":"Directory sync announces a single verdict to everything waiting on it","tier":"internal","area":"Cloud Sessions","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.234\/e\/directory-sync-announces-a-single-verdict-to-everything-wait","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.234","markdown":"### Directory sync announces a single verdict to everything waiting on it\n\nDirectory sync for cloud sessions now publishes one final verdict instead of making callers poll.\n\n**What**\n\nThe background worker that syncs a directory for cloud sessions now publishes one final verdict, \"served\", \"refused\" or \"off\", to whatever is waiting on it, so callers stop polling for an answer that is already decided.\n\n**Details**\n\n- Anything subscribing after the verdict is published receives it immediately; a \"refused\" or \"off\" verdict drops the listener list.\n- Repeat publishes and publishes that arrive out of sequence are rejected and logged as `dir_sync_lane_verdict_out_of_order`; a listener that throws is logged as `dir_sync_lane_verdict_listener_threw`.\n- A new callback fires the \"served\" verdict the moment the file manifest is answered rather than waiting for the rest of the work.\n\n**Evidence**\n\n`dir_sync_lane_verdict_out_of_order`\n\n- Area: Cloud Sessions\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 3\/5"}