Commit Graph
4899 Commits
Author SHA1 Message Date
Priamo Germosen bbcc58f03b fix(iam): read a policy value that is no string as naming nothing (#8313)
An action, a resource and a principal are written as strings: the policy grammar
spells each one out, as an <action_string>, a <resource_string> and a
<principal_id_string>. The evaluator read an element that was no string as
naming no value when it stood on its own and as the text of that value when it
sat in a list, so "Resource": 123 named no resource while "Resource": [123]
named the pattern 123.

A list is read like the bare element now, and an entry that is no string names
nothing. It tells where the element carves an exception out, since a statement
matches on whichever of the two elements it names: a NotAction or a NotResource
whose only entry was a number excluded that one text and so covered every action
or every resource there is, which made an Allow a grant over everything and a
Deny a refusal of everything. Naming no value leaves the statement matching
neither.

Condition values keep the reading they had. The grammar's JSON rules say
quotation marks "are optional for numeric and Boolean values", a lone number or
boolean was read as the text of the value already, and a list of them is read
that way still, so the two readings sit under names that say which is which.

Naming no value is a shape the access report had to learn as well.
deniesEveryRequest read a Deny that names no resource as one that bites on
every request, where matchesResource reads the same statement as matching
nothing, so an allow-everything beside a Deny whose Resource carries only a
number took the service off the Organizations access report although every
request still reached it. The report reads a statement the way the decision
does now: a Deny covers every request only when its Resource names *.
2026-11-14 15:18:10 -04:00
soreavis 66bec3b89b fix(ec2): keep IPAM pool and allocation tags (#8158) 2026-11-14 15:16:29 -04:00
Priamo Germosen 9cd601fea9 fix(iam): read a trust policy the same on every path that assumes the role (#8346)
AssumeRolePolicyEvaluator refuses a trust policy with a statement that
names no valid Effect, or whose Condition is not an object of non-empty
operator objects: IAM refuses such a document when it is written, and
Floci stores it as given, so the whole document is refused when it is
read. The two federated evaluators read the same stored document another
way. WebIdentityTrustPolicyEvaluator defaulted a missing Effect to Allow
and SAMLTrustPolicyEvaluator allowed on anything that was not a Deny, so
a statement naming a federated principal and no effect let
AssumeRoleWithWebIdentity and AssumeRoleWithSAML assume a role that
AssumeRole refused. An Effect spelled "allow" or "Permit" granted the
same way, and an empty Condition, or one whose operator was empty, was
read as no condition at all.

The reading moves into TrustPolicyStatements, and all three evaluators
use it, so one stored trust policy answers the same on each path: a
document carrying such a statement lets no one assume the role.
2026-11-14 15:13:28 -04:00
Priamo Germosen 3edf5f7415 test: delete what five integration test classes leave in the shared emulator (#8342)
Every @QuarkusTest class shares one emulator, so whatever a test leaves
behind shows up in any later unscoped List call. Five classes left
resources there:

- S3LeadingSlashKeyIntegrationTest kept test-slash-bucket and
  test-slash-list-bucket with their objects. Each test now creates its
  own bucket and names the keys it writes, and the class's @AfterEach
  deletes those keys and then the bucket, so the tests no longer rely
  on running in order.
- IamRestRouteEnforcementIntegrationTest left an organization with a
  member account and service access in its management account, a RAM
  share whenever the test's last assertion failed, and a CloudFront key
  value store. Each is registered with the class's PartitionCleanup as
  it is created; the organization's service access goes with it.
- CloudFormationDeletionPolicyIntegrationTest left the buckets its
  Retain tests keep, and the stacks of its rollback and update tests.
- EmrServerlessJobRunIntegrationTest deleted one of the 35 or so
  applications it creates. Each is deleted after its test now, its
  unfinished runs cancelled first, since StopApplication refuses an
  application with a run still going.
- RedshiftServerlessSnapshotSharingIamEnforcementIntegrationTest left a
  KMS key, namespaces, workgroups and snapshots, in its first two tests
  as well as in the encrypted-snapshot helper. Each create is now
  registered with PartitionCleanup, in the order that lets it go.
2026-11-14 15:12:53 -04:00
mrfelek 7120e65ab3 fix(glue): scope the Data Catalog and ETL resources to the request's Region (#8315) 2026-11-14 15:11:58 -04:00
Priamo Germosen 0816789e30 feat(cloudformation): provision AWS::ElasticLoadBalancingV2::ListenerCertificate (#8353)
CDK's ApplicationListener.addCertificates puts the first certificate on
the listener and emits one ListenerCertificate for each extra one. Floci
had no provisioner for the type, so it was stubbed as CREATE_COMPLETE and
did nothing; since the default certificate is held apart from the
listener's certificate list, such a listener came up with an empty list
and served none of its SNI certificates.

ElbV2CfnProvisioner serves the type now. Create adds the declared
certificates to the listener's list, as AddListenerCertificates does, and
delete removes the ones the resource added, recorded per physical id
because the id alone cannot carry them. Certificates updates in place, as
the resource reference says: the certificates the template gains are
added, then the ones it drops removed, and a failed update puts both back.
ListenerArn is create-only, so a change replaces the resource: the
certificates go onto the new listener, and come off the old one once the
update commits.

CloudFormation publishes no format for the resource's identifier, so Ref
returns <ListenerArn>|<suffix>.

AWS's published resource schemas have moved since the vendored tables
were last synced: AWS::Lambda::Function gained AcceleratorConfig and
RuntimeConfig, and AWS::ECS::TaskDefinition TrustedExecutionConfiguration.
That fails the online check of those tables, which this change runs, so
cfn-property-types.json and schema-surface.tsv are synced from AWS here,
and the three new properties are recorded as accepted and ignored.
2026-11-14 15:02:33 -04:00
mrfelek acd884a739 fix(eks): keep a cluster's API server port when its container is recreated (#8343)
* fix(eks): keep a cluster's API server port when its container is recreated
* fix(eks): leave a network-mode endpoint's port out of the restored port
* fix(eks): free an unadoptable survivor's port first, and tell a taken port from an error
2026-11-14 14:56:51 -04:00
Jackson PriceandAndre Kurait c0747f9c07 fix(redshift): preserve portal binding lifetimes (#8344)
Signed-off-by: Andre Kurait <akurait@amazon.com>
Signed-off-by: Jackson Price <jxnprice@amazon.com>
Co-authored-by: Andre Kurait <AndreKurait@gmail.com>
2026-11-14 14:53:33 -04:00
luiseterc 259a0737e7 fix(eks): populate cluster request IAM conditions (#8336)
* fix(eks): populate cluster request IAM conditions
* fix(eks): read cluster conditions through the generated table and refuse mistyped flags
2026-11-14 14:21:48 -04:00
Priamo Germosen aa2adac677 fix(iam): look the user up before the service name on a credential request (#8314)
CreateServiceSpecificCredential resolved the service name first, so a request
that named a user who does not exist and a service that is not supported was
answered for the service. AWS answers for the user: a recording validated
against a real account asks for a credential as a user that was never created,
once with CodeCommit and once with a service name nothing supports, and both
come back NoSuchEntity with "The user with name <name> cannot be found."

The user is confirmed before the service name is read now, under the lock it was
already taken under. ListServiceSpecificCredentials had the same shape, with its
ServiceName filter resolved ahead of the user it lists for, and reads the two the
same way round. Under AllUsers there is no user to look up, so an unsupported
filter still answers for itself.

What the bounds of CredentialAgeDays say is settled ahead of both by the
constraints every request is held to, so only the question that needs the service
is left behind it: whether this service takes the member at all. The in-operation
bounds stay where they are as the backstop they became.
2026-11-14 13:44:43 -04:00
luiseterc a138f88094 fix(iam): resolve EC2 network resources and ownership tags (#8288)
EC2 network operations with resource-scoped policies were checked against
`*`, and stored ownership conditions were missing. Every EC2 request is
now read by the generated request-resource rules, its EC2 Query list
names from botocore, so a resource-scoped policy applies to each EC2
operation whose request names a resource. A list a type's ARN variable
names is the request's targets only when the request names nothing
else, and the sg-, acl-, rtb- and eni- id prefixes come from botocore's
examples.

Each target is evaluated with its own stored tags, under every EC2
type's Service Reference resource-tag keys, and tags on creation are
authorized separately. A forged SDK spelling cannot replace an EC2 wire
value. ENI creation tags are kept in the regional tag index and stay in
sync with CreateTags and DeleteTags.

Closes #8286
Closes #8287
Closes #8291
Closes #8295
Closes #8300
Closes #8306
2026-11-14 13:38:41 -04:00
Aniket Shukla 4649d6c683 fix(ecs): stop siblings when an essential container exits (#8321) 2026-11-14 13:33:40 -04:00
Vũ Thế Huy d08c241d98 feat(redshift): scheduled actions that pause and resume provisioned clusters (#8260) 2026-11-14 13:28:06 -04:00
mrfelek 0b19c15e71 fix(eks): record a node's container address so ELB instance targets reach it (#8334) 2026-11-14 13:13:13 -04:00
Jackson PriceandAndre Kurait e182cdad82 fix(auth): reject ambiguous SigV4 authorization headers (#8332)
* fix(auth): reject ambiguous SigV4 authorization headers

Co-authored-by: Andre Kurait <AndreKurait@gmail.com>
2026-11-14 12:51:39 -04:00
Jackson PriceandAndre Kurait 5df26c5135 fix(s3): preserve configured endpoint roots (#8323)
Signed-off-by: Andre Kurait <akurait@amazon.com>
Signed-off-by: Jackson Price <jxnprice@amazon.com>
Co-authored-by: Andre Kurait <AndreKurait@gmail.com>
2026-11-14 12:47:02 -04:00
Priamo Germosen f665d5f5e7 feat(emr-serverless): update a started application's capacity and images (#8316)
UpdateApplication now takes a STARTED application's maximumCapacity and
custom images (imageConfiguration, workerTypeSpecifications), as the
User Guide's "Updating Running Applications" describes: "You can update
key application configurations such as maximum capacity, and custom
image settings - without stopping and restarting the application."
Every other setting still needs a CREATED or STOPPED application, as the
API reference's "An application has to be in a stopped or created state
in order to be updated" says, and an image change on an application with
initial capacity is refused: "Custom image updates on running
applications are not supported on applications with pre-initialized
capacity configured."

A run already going keeps the image and maximum capacity it was launched
with, and a new run, or a new attempt of one, takes the application's
current ones, as each run already reads them when it is launched.
2026-11-14 12:44:35 -04:00
Priamo Germosen 97fcbf21d0 fix(stepfunctions): check EMR Serverless tasks as the same request made directly (#8322)
The EMR Serverless task arm wrote its action ("emr-serverless:" plus the API
name) and its ARNs (/applications/<id>, /jobruns/<id>) by hand, and skipped
the checks a direct request gets beside its own action: iam:PassRole on
StartJobRun's execution role, and emr-serverless:TagResource on the tags
CreateApplication and StartJobRun send.

A new RequestChecks reads a JSON request as the enforcement filter reads the
same request made directly: the action from IamAuthorizedActions, its
resources from RequestResources.ofBody, the request's tags on the action where
the tag-on-create table says it takes them, iam:PassRole on each role the
passed-roles table reads with iam:PassedToService, and the tagging action on
what a create makes. PassedRoles, TagOnCreate and RequestResources.created
gain a body form for it. The arm now hands RequestChecks the request the
integration sends EMR Serverless, so a regeneration of any of those tables
moves the task and the direct call together.
2026-11-14 12:42:27 -04:00
luiseterc e2712cf344 fix(route53): populate record change IAM conditions (#8297)
* fix(route53): populate record change IAM conditions
* fix(route53): align DNS identity and preserve XML validation errors
* fix(route53): read record change conditions from the generated table
2026-11-14 12:13:47 -04:00
Aniket Shukla d5b7a11f89 feat(appsync): execute HTTP data sources and signed local AWS requests (#7609) 2026-11-14 12:07:22 -04:00
Jackson PriceandAndre Kurait c97f913f5e fix(ssm): normalize names across parameter operations (#8278)
Signed-off-by: Andre Kurait <akurait@amazon.com>
Signed-off-by: Jackson Price <jxnprice@amazon.com>
Co-authored-by: Andre Kurait <AndreKurait@gmail.com>
2026-11-14 11:44:37 -04:00
Yang Hao 3e4d867de3 fix(account): check alternate contact requests against the model (#8312) 2026-11-14 11:29:06 -04:00
Jackson PriceandAndre Kurait ae62fe04bc fix(ec2): keep security group rule description updates consistent (#8277)
Signed-off-by: Akash Kurait <akurait@amazon.com>
Signed-off-by: Jackson Price <jxnprice@amazon.com>
Co-authored-by: Andre Kurait <AndreKurait@gmail.com>
2026-11-14 11:21:20 -04:00
Maxence LEFEBVRE a56739ca30 fix(ecs): roll a load-balanced service healthy-first and drain the old task before stopping it (#8256)
* fix(ecs): keep a load-balanced service task running while its targets drain
* fix(ecs): stop a replaced task only once its replacement's targets are healthy
* fix(ecs): drain a load-balanced task as DEACTIVATING and hold a deployment on unhealthy replacements
2026-11-14 11:16:52 -04:00
Matheus André 16cb752444 fix(ecs): pass awsfirelens logConfiguration secretOptions to the log router output (#8303) 2026-11-14 11:16:20 -04:00
mrfelek 2337c34ef9 fix(ec2): make CreateVolume idempotent on its client token (#8301) 2026-11-14 11:12:45 -04:00
TATSUNO “Taz” Yasuhiro fdb4a811ba fix(eks): keep a cluster in CREATING until k3s has deployed its addons (#8283) 2026-11-14 11:07:26 -04:00
Oleksandr Nikolaichuk 57c7462846 fix(cloudformation): replace a Route53 hosted zone on a Name or DelegationSetId change and roll back record set updates (#8205) 2026-11-14 11:05:45 -04:00
Priamo Germosen f09468fb19 feat(redshift): require kms:Decrypt on an encrypted snapshot's key to restore it (#8309)
AWS requires the customer managed key of an encrypted snapshot to be shared
with the account restoring it (Redshift Management Guide, "Sharing a
snapshot"). Neither botocore nor the Service Reference says so, so the
request-resources generator states it in FORWARDED, an evidence entry under
MEASURED's rules: the action and the snapshot type, with the rest read from
the metadata (the key type and format kms:Decrypt acts on, the snapshot
record's KmsKeyId member, the endpoint prefix, kms:ViaService).

Under IAM enforcement a Redshift or Redshift Serverless restore is then also
checked as kms:Decrypt on the key the snapshot records, found in the
snapshot's account, against the key policy and the caller's own policies,
with aws:ViaAWSService and kms:ViaService naming the service's endpoint. KMS
key policies are now evaluated as resource policies.

A key KMS would not use, disabled, pending deletion or not held, refuses the
restore, as KMS refuses the request the service makes with it. A snapshot
under AWS's own key records none, and one under an AWS managed key (a copy
grant made without a key) needs nothing, as AWS writes that key's policy to
let the account use it through the service.
2026-11-14 11:04:31 -04:00
Priamo Germosen ddc844b48e feat(emr-serverless): report the image digest each job run attempt resolved (#8307)
GetJobRun now carries the job run's imageConfiguration and
workerTypeSpecifications. Each attempt copies its application's image
configurations as they stand when the attempt is made. The configuration
the driver takes its image from, its worker type's or else the
application's, gets the resolvedImageDigest of the image the attempt
pulled for the driver: the manifest digest the Docker runner's pull
already returned. The executors' configuration gets theirs, or keeps the
driver's where the two share one. "To identify which image version each
job is running, the GetJobRun API response returns the resolvedImageDigest
for that specific job."

A retried attempt resolves its images again ("New job attempts will pick
new images") and keeps its own digests; earlier attempts keep theirs. A
configuration no worker type ran gets no digest, even one naming the same
image, nor does an image built locally under that URI, nor any outside
the docker runner mode. The application's own resolvedImageDigest, which
AWS fixes at its start for 7.13 and earlier, is not part of this change.
2026-11-14 10:59:40 -04:00
mrfelek c407c82f8f fix(ec2): honour DryRun on the rest of the instance calls (#8289)
* fix(ec2): honour DryRun on the rest of the instance calls
* refactor(ec2): launch a Spot request's instances and check its dry run through one call
* test(ec2): compare instance snapshots with their reservation ids, now stable on main
2026-11-14 10:56:30 -04:00
Saim Zaib b2bdb2bbe9 feat(apigateway): trust FLOCI_TLS_EXTRA_CA_PATH for HTTP and HTTP_PROXY integrations (#8285) 2026-11-14 10:45:45 -04:00
Aniket Shukla fdb2d7fe44 fix(ssoadmin): provision IAM roles for permission sets (#8239)
* fix(ssoadmin): provision IAM roles for permission sets
* fix(ssoadmin): preserve role ownership during cleanup
* test(ssoadmin): share customer boundary request setup
2026-11-14 10:30:14 -04:00
Priamo Germosen 9d73ca46e5 fix(iam): derive the request resources' remaining hand tables (#8273)
The request-resources generator kept eight hand-written tables beside
its rules. Seven now come from botocore and the Service Reference, and
the eighth keeps only Floci's own coverage:

- CLIENTS_NOT_READ goes: reading Kinesis Data Analytics v1's client as
  well changes no operation.
- MINTED_IDS: botocore's <Type>Arn pattern takes one more path segment
  past a format that ends in a name (EventBridge's connections and API
  destinations).
- UNQUALIFIED: the reference gives types whose formats are a type's and
  one more :${...}, which no action acts on (Step Functions' alias and
  version), or botocore documents a member as "name:<selector>"
  (Parameter Store's Name).
- QUALIFIED_MEMBERS: botocore's shape takes an alias as well as the
  type's ARN (Payment Cryptography's KeyArnOrKeyAliasType).
- FOUND_BY: botocore documents a type's key ("Scalable targets are
  uniquely identified by the combination of resource ID, scalable
  dimension, and namespace"), or a member names a type whose id no
  request of the namespace gives (Redshift Serverless names, the Data
  API's WorkgroupName); a keyed type is never filled from members.
- THROUGH: botocore's record of a thing the reference gives no type
  holds its id beside members named after types (the Data API's
  SessionData holds SessionId, ClusterIdentifier and WorkgroupName).
- ID_TARGETS keeps its coverage, EC2's instances; the id prefix comes
  from botocore's documentation ("the instance ID (for example,
  i-0123456789abcdef0)") and the list of resources from member shapes.

READ_IN_HAND_BUILT goes with CloudWatch Logs read whole, next.

The table changes only where the rules read more than the tables gave:
through entries for Athena query executions, named queries and
notebooks (their workgroup), CodePipeline executions, Cognito managed
login branding and terms, ECR layer uploads and an OpenSearch
migration, which no service answers yet, so no check changes;
QuickSight custom permissions and policy assignments found by name, as
their creates are; duplicate finds collapsed. Eight EC2 operations AWS
has since added are read.
2026-11-14 09:43:25 -04:00
Hector Ventura 6f928e6062 feat(stepfunctions): evaluate the execution role on ECS, EMR and EMR Serverless tasks (#7723)
Under IAM enforcement, these tasks are now authorized as the execution role, or as the Credentials role a state names. ECS runTask, in all its forms, is checked on the task definition revision it would run, so a family and the revision it stands for are the same resource. The ECS SDK tasks are checked on the service ECS would act on or describe, and listServices on any resource. Each EMR and EMR Serverless API is checked on its cluster, application or job run under its IAM action, and a ByName API needs the list it makes as well as the modify. createCluster and createApplication have no resource type, so they are checked on any resource.

A .sync task needs its starting call alone, so a job cannot fail mid-wait for lack of a Describe permission. A request naming nothing it can reach is left to its service, and a form an integration does not serve stays unsupported. With enforcement off nothing changes.

Signed-off-by: Hector Ventura <hectorvent@gmail.com>
2026-11-14 09:40:33 -04:00
TATSUNO “Taz” Yasuhiro c5e7c3d84e fix(dynamodb): refuse a reserved attribute name in written order before the table lookup (#8274) 2026-11-14 09:34:59 -04:00
Yang Hao 869a5fcb59 fix(account): refuse the management account as an AccountId target (#8276)
* fix(account): refuse the management account as an AccountId target
2026-11-14 09:31:36 -04:00
Jackson PriceandAndre Kurait ad549728df fix(ssm): return GetParameters results alphabetically (#8270)
Signed-off-by: Andre Kurait <AndreKurait@users.noreply.github.com>
Signed-off-by: Jackson Price <jxnprice@amazon.com>
Co-authored-by: Andre Kurait <AndreKurait@gmail.com>
2026-11-14 01:37:14 -04:00
Jackson Price c6b41a4627 fix(config): validate recorder selector list cardinality (#8269)
* fix(config): validate recorder selector list cardinality
* test(config): reuse shared SDK client setup
2026-11-14 01:35:09 -04:00
Matheus André f9eb910b62 fix(dynamodb): accept ExpectedRevisionId NO_POLICY on a table with no resource policy (#8265)
* fix(dynamodb): accept ExpectedRevisionId NO_POLICY on a table with no resource policy
2026-11-14 01:33:49 -04:00
TATSUNO “Taz” Yasuhiro ff5b6df114 fix(lambda): answer DeleteFunction of a durable function with 202 (#8271)
DeleteFunction answered 204 for every function. AWS answers 202 with {}
when it deletes a durable function or a published version of one, and
Floci now does the same. A plain function and a missing version still
answer 204.
2026-11-14 01:10:32 -04:00
Priamo Germosen cb03bc373b fix(iam): read a statement that names no effect as stating nothing (#8268)
The policy evaluator defaulted a statement's Effect to Allow, so a statement
that named none granted what it described. The IAM guide says the element "is
required and specifies whether the statement results in an allow or an explicit
deny" and that "valid values for Effect are Allow and Deny", so a statement
naming neither describes no permission, and a document that describes no
permission is not a document that grants one. A resource policy whose statement
named a principal and an action but no effect allowed that call, and so did a
session policy, a service control policy and an identity policy: a statement is
held to naming an action and a resource when a document is stored, not to naming
an effect, so such a document is kept as written and was then read as a grant.

A statement names one of the two effects the policy language defines or it names
none, and one that names none states nothing. An Effect that is absent, that is
not a string, or that is some other word is read as neither now: the statement
grants nothing, denies nothing, and the request is decided by the rest of the
document. That is already this package's reading of a role trust policy, where a
statement whose Effect names neither effect matches nothing.

The service list behind GetOrganizationsAccessReport read the same default the
other way round. Walking the service control policy levels, every statement that
was not a Deny was counted as an allow, so a statement naming no effect, or
naming some word that is neither, left a service reachable through a statement
that permits nothing. Only an Allow counts there.

No document is held to a shape here: what is stored is read exactly as it was,
and this changes only what reading it comes to.
2026-11-14 01:07:34 -04:00
Vũ Thế Huy b658720afe feat: map Redshift IAM credentials to PostgreSQL roles (#8211)
* feat(redshift): map Redshift IAM credentials to PostgreSQL roles
* docs(redshift): document IAM database identity for Redshift services
* fix(redshift): harden Redshift IAM role handover and DbGroups lifecycle
* fix(redshift): grant public schema usage on auto-create and resolve latest credential
* fix(redshift): log in as the IAM-derived role so PostgreSQL blocks the switch back
* fix(redshift): restore the role's own password once the backend login completes
* chore(redshift): write the password tracker lock comment in English
2026-11-14 01:06:59 -04:00
Yang Hao 5f03ff975d feat(account): implement GetContactInformation and PutContactInformation (#8262) 2026-11-14 01:04:49 -04:00
Priamo Germosen 16ff5a2c74 feat(emr): give a cluster a bootstrap failure ended its ErrorDetails (#8267)
A cluster whose bootstrap action failed in the docker runner mode ended with
BOOTSTRAP_FAILURE and AWS's message, but DescribeCluster and ListClusters gave
no Status.ErrorDetails, which the Management Guide's error code pages point to
for the failed action, its return code and its script.

- An action that exits with another code than 0 gives
  BOOTSTRAP_FAILURE_PRIMARY_WITH_NON_ZERO_CODE, with the ErrorData keys its page
  lists: primary-instance-id, bootstrap-action, return-code, amazon-s3-path and
  public-doc. A script that cannot be read gives
  BOOTSTRAP_FAILURE_BA_DOWNLOAD_FAILED_PRIMARY, with the same keys but
  return-code. ErrorData is a list of maps and no source shows how AWS spreads
  the keys over them: Floci gives one map holding them all. ErrorMessage is the
  reason's message and the error code's page, in Floci's words.
- A bootstrap that cannot run at all, or that Floci stopped, ends with
  INTERNAL_ERROR as before and has no ErrorDetails: no documented code fits.
- The details are stored with the cluster, so they survive a restart with
  persistent storage, and emr.md says what Floci gives.
2026-11-14 01:03:43 -04:00
Priamo Germosen d13d4cceb6 test(rds,cloudformation): load PgJDBC before the engine-version test connects, and wait for rollbacks (#8272)
The RDS engine-version test opened its connections through DriverManager,
which hands out only a driver the caller's class loader can see. After a
Quarkus restart the driver registered earlier belongs to another loader, so
whenever a shard ran the test after an application of another profile it
failed with "No suitable driver found", as main's shard 2 did at
01d61afd8a. It now loads PgJDBC through its own loader first, as the
blue/green and managed-password rotation tests do.

CreateStack answers before its execution ends, so the two rollback tests
that read ROLLBACK_COMPLETE right after creating the stack raced it; the
nested-stack one saw CREATE_IN_PROGRESS in main's shard 5 at 01d61afd8a.
Both now wait for the status with the class's awaitStackStatus.
2026-11-14 00:34:56 -04:00
Priamo Germosen d9a43012de feat(codeartifact): retain versions from repository-to-repository upstreams (#8261)
Repositories can already declare up to 10 same-domain upstream repositories
via CreateRepository/UpdateRepository, but nothing ever consulted that list:
a native package-manager request for a version missing locally 404ed even
when an upstream had it, and CopyPackageVersions's includeFromUpstream flag
was accepted on the wire but documented as a no-op.

Adds a shared, cycle-safe breadth-first resolver over the upstreams graph
(UpstreamRepositoryResolver), reused by validateUpstreams (now rejecting
transitive cycles, not just direct self-reference, with an independent
uncapped reachability check so a cycle whose closing edge sits beyond the
resolution search cap still gets caught), by four new per-format importers
(Maven/npm/pypi/NuGet) wired into each native controller's existing "local
miss" hook, and by CopyPackageVersions's includeFromUpstream flag for both
generic and container-backed formats.

Widens the existing external-connection claim/fence/origin machinery with a
RetentionOriginKind (EXTERNAL_CONNECTION vs UPSTREAM_REPOSITORY) so the same
mechanism now also backs same-domain retention, and wires the previously
unused INTERNAL_UPSTREAM package-group restriction type through
isUpstreamRetentionBlocked the same way EXTERNAL_UPSTREAM already was.

Each upstream-repository importer brackets every candidate it reads with the
same beginUse/endUse lease DeleteRepository's own cleanup already respects,
so a concurrent delete of a candidate can't race a read of it; resolves a
version from its real staged byte count rather than an optional, sometimes
-1 Content-Length header; and, for Maven, continues past a candidate whose
own metadata names nothing eligible instead of stopping the whole search
there, and allows SNAPSHOT versions through the metadata merge the same way
the asset path already does. pypi's candidate selection also now checks for
the exact requested filename, not just a version match, and never swallows
a sidecar read failure silently. A generic version's upstream-origin claim
is now cleared on delete, republish, or a later direct overwrite copy, so
it never keeps reporting a stale source. npm's "treat a retained version as
the package default" guard now also catches an upstream-repository claim,
not just an external-connection one.
2026-11-14 00:22:31 -04:00
noy-solvin 7ade98e010 fix(eks): lease stable VPC private IP and pass --node-ip to k3s across restarts (#7980) 2026-11-14 00:07:48 -04:00
TATSUNO “Taz” Yasuhiro 287c44b8f8 fix(dynamodb): refuse an UpdateExpression operand that reads an absent attribute (#8266)
DynamoDB refuses the whole update when a path in a SET value reads
nothing. That covers a missing attribute or map key, a path through a
scalar, a list index past the end, and an if_not_exists whose path and
fallback are both absent. It reads the operands of a sum or list_append
one by one, so the first absent operand or the first of the wrong type
gives the error. A sum operand of the wrong type gets the same message
as list_append and ADD. In TransactWriteItems both errors cancel the
transaction with a ValidationError reason.
2026-11-14 00:05:22 -04:00
Jackson PriceandAndre Kurait f087599883 fix(emr-serverless): release capacity after driver address failure (#8250)
Signed-off-by: Andre Kurait <AndreKurait@users.noreply.github.com>
Signed-off-by: Jackson Price <59149601+jprice8@users.noreply.github.com>
Co-authored-by: Andre Kurait <AndreKurait@gmail.com>
2026-11-14 00:01:18 -04:00