Compare commits

..

No commits in common. "61ddf67cebc7cb4c76e1d43075a41800bf98bb8a" and "b5bd1093e59a39a117b20e200e2d0fc4b1a3b8c2" have entirely different histories.

4 changed files with 6 additions and 6 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)})

View file

@ -1,3 +1,3 @@
boto3==1.43.57
google-auth==2.56.2
boto3==1.43.53
google-auth==2.56.1
google-api-python-client==2.198.0