@akrmn is taking care of [testing](https://github.com/digital-asset/daml/blob/main/release/RELEASE.md) today's release, so they get pushed back to the end of the line.
Please do not merge this before the release is fully tested.
CHANGELOG_BEGIN
CHANGELOG_END
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
* declare needed NonEmpty query lists and condition lists
* selectContractsMultiTemplate requires non-empty query list
* propagate nonempty query sets through ContractDao
* propagate some NE constraints from selectContractsMultiTemplate through WebSocketService
* HashSet no longer needed
* pass non-emptiness through dbQueries
* add NE-preserving groupMap and groupMap1
* validate that resolvedWithKey is nonempty
* Restrict update party non-local details
* Removing the test which would fail otherwise.
Update the doc
* Update ledger-api/grpc-definitions/com/daml/ledger/api/v1/admin/party_management_service.proto
Co-authored-by: pbatko-da <pawel.batko@digitalasset.com>
Co-authored-by: pbatko-da <pawel.batko@digitalasset.com>
Canton extracts metric metadata for documentation via reflection
and needs the fields summary and description fields to be literal
strings to avoid the following error:
```
Failed to process Tag annotation:
|summary and description need to be constant-string, i.e. don't apply stripmargin here ...),
|and MetricQualification must be an object of MetricQualification:
|new com.daml.metrics.api.MetricDoc.Tag("Number of events that will be metered", scala.Predef.augmentString("Represents the number of events that will be included in the metering report.\n |This is an estimate of the total number and not a substitute for the metering report.").stripMargin, com.daml.metrics.api.MetricDoc.MetricQualification.Debug)
```
CHANGELOG_BEGIN
CHANGELOG_END
* log more termination
From the timeout loop:
+ fmm-outer
+ fmm-inner
x ACS-before-tx
x tx-after-ACS
* spam eagerCancel=true and see what happens
From the timeout loop:
+ after-split
+ IDSS-outer
+ fmm-outer
+ contractsAndBoundary
+ tx-after-ACS
+ fmm-inner
+ GTSFP-outer
x ACS-before-tx
* passing acs-and-tx tests
* trying combinations of reverting eagerCancel settings
- setting eagerCancel = false in acsAndBoundary causes the ACS
cancellation to fail (first test), but the tx cancellation still
succeeds
- setting eagerCancel = false in project2 causes both the ACS and tx
stream cancellation tests (first and third tests) to fail
- the offset broadcast in acsFollowingAndBoundary appears to be
redundant with respect to cancellation, so we revert it in the
interest of conservatism
* make test size small
* current measurement
Still fine after the refactoring of logTermination and removal of fmm-*.
+ GTSFP-outer
+ contractsAndBoundary
x IDSS-outer-2
+ after-split
+ tx-after-ACS
+ IDSS-outer-1
x ACS-before-tx
* set level of the logTermination messages to trace
* Flaky test fixes for Canton deduplication tests
The earlier fix 936594f5 that added SubmissionAlreadyInFlight as a
second option next to DuplicateCommand had two shortcoming addressed
here:
- SubmissionAlreadyInFlight is raised at submission time, so the tests
in CommandDeduplicationIT that expect a Completion still flaked.
- Checking checkDefiniteAnswerMetadata was incorrectly also expected
on SubmissionAlreadyInFlight.
The new approach issues one single retry after backoff when a transient
SubmissionAlreadyInFlight is encountered.
CHANGELIST_BEGIN
CHANGELIST_END
* Review feedback by Nicu
* Remove "Module" from daml-doc H1 headers
CHANGELOG_BEING
- Remove the word "Module" from the H1 page header of
- module pages and stop overriding the ToC headers to make
- the generated pages easier to use.
CHANGELOG_END
* Reinstate links in daml-docs rst TOC
* Update render tests
* Update golden tests
Co-authored-by: Moisés Ackerman <6054733+akrmn@users.noreply.github.com>
With the below command, with or without the entry for
@types/prettier@2.6.0 removed, this command passes.
DAML_SDK_RELEASE_VERSION=0.0.0-head bazel test --test_output=streamed //language-support/ts/codegen/tests:build-and-lint-test
With the below command with the entry for @types/prettier@2.6.0 removed,
this command fails with the expected error about a missing entry. With
the entry restored, it passes.
bazel test --test_output=streamed //language-support/ts/codegen/tests:build-and-lint-test