Compare commits

..

1 commit

Author SHA1 Message Date
dependabot[bot]
8836e49435
build(deps): bump the minor-and-patch group
Bumps the minor-and-patch group in /src/user_sync with 2 updates: [boto3](https://github.com/boto/boto3) and [google-auth](https://github.com/googleapis/google-cloud-python).


Updates `boto3` from 1.43.53 to 1.43.57
- [Release notes](https://github.com/boto/boto3/releases)
- [Commits](https://github.com/boto/boto3/compare/1.43.53...1.43.57)

Updates `google-auth` from 2.56.1 to 2.56.2
- [Release notes](https://github.com/googleapis/google-cloud-python/releases)
- [Changelog](https://github.com/googleapis/google-cloud-python/blob/main/packages/google-cloud-documentai/CHANGELOG.md)
- [Commits](https://github.com/googleapis/google-cloud-python/compare/google-auth-v2.56.1...google-auth-v2.56.2)

---
updated-dependencies:
- dependency-name: boto3
  dependency-version: 1.43.57
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: google-auth
  dependency-version: 2.56.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-28 06:34:39 +00:00
3 changed files with 4 additions and 4 deletions

View file

@ -2,7 +2,7 @@ import json
import logging
import os
import time
from datetime import date, datetime, timedelta, timezone
from datetime import datetime, timedelta, timezone
from urllib import error, parse, request
from zoneinfo import ZoneInfo
@ -366,7 +366,7 @@ def handler(event, context):
now_et = now.astimezone(EASTERN)
if start_date:
start = date.fromisoformat(start_date)
start = datetime.strptime(start_date, "%Y-%m-%d").date()
if now_et.date() < start:
logger.info("Before start date %s, skipping", start_date)
return {"skipped": True, "reason": "before_start_date"}

View file

@ -1 +1 @@
boto3==1.43.57
boto3==1.43.53

View file

@ -191,7 +191,7 @@ def handler(event, context):
logger.info("Skipped %s - not a Front teammate", email)
summary["not_in_front"] += 1
except Exception as e: # noqa: BLE001 - per-user isolation: one failed update must not abort the sync
except Exception as e:
logger.error("Error updating %s: %s", email, e)
summary["errors"] += 1
summary["error_details"].append({"email": email, "message": str(e)})