Skip to content

Changelog: Explicit init parameters and logging for the scrubber lambda #3309

Merged
cotti merged 3 commits into
mainfrom
fix/scrubber_timeout
May 18, 2026
Merged

Changelog: Explicit init parameters and logging for the scrubber lambda #3309
cotti merged 3 commits into
mainfrom
fix/scrubber_timeout

Conversation

@cotti
Copy link
Copy Markdown
Contributor

@cotti cotti commented May 12, 2026

This pull request introduces the new docs-lambda-changelog-scrubber project to the solution and enhances its logging and AWS client initialization. The most important changes are grouped below:

Project and Solution Structure

  • Added the docs-lambda-changelog-scrubber project to the solution file docs-builder.slnx, making it part of the build and deployment pipeline.

AWS Client Initialization

  • Updated the S3 client initialization in Program.cs to explicitly use environment variable credentials and region, with custom timeout and retry settings for improved reliability and configuration clarity.

Logging Improvements

  • Added debug and information-level logging throughout the Lambda handler in Program.cs to trace key operations, including removing objects from the public bucket, scrubbing and copying files, fetching objects from the private bucket, performing the scrub pass, and uploading to the public bucket. [1] [2] [3] [4]

@cotti cotti requested a review from a team as a code owner May 12, 2026 21:23
@cotti cotti requested a review from Mpdreamz May 12, 2026 21:23
@cotti cotti self-assigned this May 12, 2026
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 12, 2026

Warning

Rate limit exceeded

@cotti has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 39 minutes and 32 seconds before requesting another review.

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 @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

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 configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Enterprise

Run ID: bca55019-31c1-4e70-a9c1-db6fc6a6db06

📥 Commits

Reviewing files that changed from the base of the PR and between 6b5a38b and f0a3965.

📒 Files selected for processing (2)
  • docs-builder.slnx
  • src/infra/docs-lambda-changelog-scrubber/Program.cs
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/scrubber_timeout
  • 🛠️ Update Documentation

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@cotti cotti added the fix label May 12, 2026
@cotti cotti merged commit 0b2d6e8 into main May 18, 2026
24 checks passed
@cotti cotti deleted the fix/scrubber_timeout branch May 18, 2026 16:24
groman92 pushed a commit that referenced this pull request May 20, 2026
…da (#3309)

* Add tighter and explicit timeout to S3 Client acquisition

* Add intermediary logs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants