You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* fix: resolve compatibility test server startup failure
The conftest unconditionally passed `-config devcloud.yaml`, but the file
doesn't exist in the repo. When `-config` is explicit, main.go uses
config.Load() which calls os.Exit(1) on missing file. Since stderr was
DEVNULL, the error was invisible and _wait_for_server timed out at 30s.
- Only pass `-config devcloud.yaml` when the file exists (fallback to embedded defaults)
- Capture stderr and include it in the error message for debugging
* test: add tests for conftest helpers and fix PIPE blocking risk
Address code review comments: use DEVNULL for the long-running server
process to avoid blocking, only spawn a short-lived PIPE subprocess on
failure. Extract _build_devcloud_cmd and _start_server_error helpers
with full test coverage.
* fix: resolve all 28 compatibility test failures
Server-side fixes:
- bedrock: return tags as [{key,value}] list instead of map
- s3tables: strip /v1 prefix in resolveOp for boto3 path routing
- scheduler: disambiguate create/update POST by checking if schedule exists
- scheduler: read GroupName from body params in getSchedule
- serverlessrepo: use strParam for camelCase/PascalCase param compat
- serverlessrepo: emit both cases in CloudFormation response keys
- serverlessrepo: read organizationId in unshareApplication
- textract: convert Tags to [{Key,Value}] list in adapterToMap
Test fixes:
- route53: handle botocore version differences for TPI/CIDR/RDS params
- support: add required issueType/serviceCode/categoryCode params
- textract: use 3-char minimum S3 bucket name
* fix: address code review comments
- Wire actual debug timeout value into _start_server_error message
- Replace try/except TypeError with botocore model introspection in route53 tests
- Add DelegationSetId assertion for reusable delegation set test
- Use strParam for Principal fallback in unshareApplication
* Update internal/services/serverlessrepo/provider.go
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
* fix: resolve all remaining compatibility and unit test failures
Fix S3Tables resolveOp routing (add CreateNamespace at n=3,
PutTableEncryption at n=5), fix unit test URL patterns to match
actual routing. All 704 compat tests and all Go unit tests pass.
* style: use tagged switch on parts[0] to fix staticcheck QF1002
* fix: address code review comments
- Centralize URL parsing into parseS3TablesPath, replacing fragile
collapseARN that could over-collapse segments (Comments 1 & 2)
- Fix scheduler CreateSchedule dispatch to check both GroupName and
groupName from REST-JSON body (Comment 3)
- Add empty-tags assertion to bedrock TestTagging (Comment 4)
- Align _start_server_error timeout message with actual value
(Overall Comment 2)
---------
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
0 commit comments