Conversation
… into jns-metadata-updates
- update uvis.py, vims.py, and galileo/ssi/_init__.py to use pdsparser.Pds3Label() - move pds3.py to ideas/
Fix FCPath usage in junocam/__init__.py
Use filecache.replace()
|
Warning Rate limit exceeded
You’ve run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (1)
WalkthroughLog and summary rotation in the gold master runner were changed to use local filesystem paths and timestamp-based replacement. Existing local files are detected via ChangesLog and Summary File Rotation Simplification
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
@coderabbitai review |
✅ Actions performedReview triggered.
|
There was a problem hiding this comment.
Actionable comments posted: 2
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@oops/gold_master/__init__.py`:
- Line 1154: Replace the naive local-time timestamp with a timezone-aware UTC
timestamp when building rotation suffixes: when calling
datetime.fromtimestamp(os.path.getmtime(localpath)) (the assignment to dt), pass
an explicit tz (e.g., datetime.timezone.utc) or use a UTC-based constructor so
dt is timezone-aware and not subject to DST repeats; also update the strftime
format used later for the rotated filename (the code that formats dt into the
filename suffix) to include a UTC-indicative format like '-%Y-%m-%dT%H-%M-%SZ'
so the filename shows UTC.
- Around line 1160-1162: The FileHandler is opened with default append mode
after rotating via log_path.replace(dated_logpath), which can leave localpath
present and cause silent appends; change creation of the handler in the rotation
code (the site that does log_path.replace(dated_logpath) and then sets handler =
logging.FileHandler(localpath)) to explicitly open with mode='w' (matching the
summary writer behavior) so a new file is written after rotation, and likewise
update any other FileHandler instantiation in this module to use mode='w' where
rotation or replacement may leave the file present; also fix the DTZ006 warnings
by replacing naive timestamp conversion calls with
datetime.datetime.fromtimestamp(timestamp, tz=datetime.timezone.utc) wherever
timestamps are converted (e.g., the conversion sites around the rotation logic
and the summary writer).
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: ASSERTIVE
Plan: Pro
Run ID: 2eb0af3c-3c8c-47ca-bf25-d54ee0463bf9
📒 Files selected for processing (1)
oops/gold_master/__init__.py
Addresses #145
Summary by CodeRabbit
Bug Fixes
Chores