Repository navigation
chore(tooling): fix #864, #865, #866, #867 contributor tooling and docs - #1250
Merged
vjuliaife merged 2 commits intoOct 18, 2026
Conversation
…iaife#867 contributor tooling and docs
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
@AderonkeAfolabi Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
Comment on lines
+17
to
+22
| import { | ||
| invokeLambdaLocal, | ||
| createMockLambdaContext, | ||
| createMockLambdaEvent, | ||
| getDefaultMockAwsData, | ||
| } from '../lib/invoke-lambda-local'; |
| DeleteDBSnapshotCommand, | ||
| } from '@aws-sdk/client-rds'; | ||
| import { DynamoDBClient, PutItemCommand } from '@aws-sdk/client-dynamodb'; | ||
| import { CloudTrailClient, LookupEventsCommand } from '@aws-sdk/client-cloudtrail'; |
|
|
||
| const rds = new RDSClient({ region: process.env.AWS_REGION || 'us-east-1' }); | ||
| const dynamodb = new DynamoDBClient({ region: process.env.AWS_REGION || 'us-east-1' }); | ||
| const cloudtrail = new CloudTrailClient({ region: process.env.AWS_REGION || 'us-east-1' }); |
This branch had an error being deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #864, closes #865, closes #866, closes #867
This pull request resolves four contributor experience, developer tooling, and documentation gaps across the repository:
1. Issue #864: Local Lambda Invocation Harness for Backup Lambdas
@aws-sdk/client-rds,@aws-sdk/client-dynamodb,@aws-sdk/client-s3, and@aws-sdk/client-cloudtrail. It provides synthetic test data for snapshot policies, S3 objects, and DynamoDB audit records so contributors can perform dry-run smoke tests with zero AWS credentials. Documented invocation commands in both script headers and docs/OPERATIONS_RUNBOOK.md, and added automated regression tests in scripts/tests/invoke-lambda-local.test.ts.2. Issue #865: VS Code Format-on-Save Configuration
lint-staged, causing noisy diffs during active development.editor.formatOnSave: trueand configuringesbenp.prettier-vscodeas the default formatter for TypeScript, JavaScript, JSON, YAML, and Markdown. Explicitly assigned[rust]torust-lang.rust-analyzerto ensure Rust files defer torustfmt.tomlwithout Prettier conflicts. Added extension recommendations in .vscode/extensions.json and documented setup in docs/local-dev.md and CONTRIBUTING.md.3. Issue #866: Reproducible Query Analysis & Benchmarking
apps/api/src.Seq Scanon small tables, providing a self-contained SQL synthetic generator (generate_series) for realistic benchmark volumes (EXPLAIN (ANALYZE, BUFFERS)commands. Cross-referenced from CONTRIBUTING.md's Testing section as an optional performance regression check.4. Issue #867: Contributor Local Setup Support Channel
[dev-setup]title convention. Cross-linked the support channel at the top of docs/FAQ.md and in CONTRIBUTING.md, while keeping production incident escalation in docs/runbooks/support-escalation.md strictly separated.Changed
scripts/lib/invoke-lambda-local.tssupporting programmatic and CLI invocations (--dry-runand--live) with in-process AWS SDK mocking.scripts/backup-cleanup-lambda.tsandscripts/backup-compliance-report-lambda.tswith invocation documentation and optional(event?, context?)handler parameters.docs/OPERATIONS_RUNBOOK.md.scripts/__tests__/invoke-lambda-local.test.tsproviding 7 automated regression subtests for Lambda local execution..vscode/settings.jsonconfiguring format-on-save for Prettier and delegating Rust formatting torust-analyzer..vscode/extensions.jsonrecommending Prettier, ESLint, and rust-analyzer extensions..gitignoreto track.vscode/settings.jsonand.vscode/extensions.jsonwhile ignoring personal workspace files.docs/local-dev.mdandCONTRIBUTING.mdwith VS Code format-on-save instructions.docs/query-analysis.mdpointing directly toapps/api/src/routes/importers.ts.docs/query-analysis.mdwith synthetic data generation (generate_series) and parameterizedEXPLAIN (ANALYZE, BUFFERS)statements.CONTRIBUTING.mdTesting section.docs/local-dev.mdwith guidelines on searching and filing GitHub Issues.docs/FAQ.md.docs/runbooks/support-escalation.mdunchanged).Testing
The changes were verified using the following commands:
Scope Notes
contracts/tariff-shield/) or API route business logic (apps/api/src/routes/).package.json.docs/runbooks/support-escalation.mdremains completely unmodified.Push Command