Make Linear SCIM object sync best-effort
Some checks failed
Build Rust / Cargo Test (push) Successful in 3m51s
Build Site / Next.js Build (push) Failing after 2s
Lint Governance / BEP Metadata (push) Successful in 0s

This commit is contained in:
Conrad Kramer 2026-04-18 19:34:26 -07:00
parent 7421834ebc
commit 7d3e7a6ec5

View file

@ -174,7 +174,7 @@ sync_object() {
local model="$2"
local object_id="$3"
api POST "/api/v3/providers/scim/${provider_pk}/sync/object/" "$(
if ! api POST "/api/v3/providers/scim/${provider_pk}/sync/object/" "$(
jq -cn \
--arg model "$model" \
--arg object_id "$object_id" \
@ -183,7 +183,9 @@ sync_object() {
sync_object_id: $object_id,
override_dry_run: false
}'
)" >/dev/null
)" >/dev/null; then
echo "warning: could not trigger immediate Linear SCIM sync for ${model} ${object_id}; provider will continue with its normal sync cycle." >&2
fi
}
wait_for_authentik