* 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
* pin dependencies without #13876
* --frozen-lockfile does not work
* hide @daml.js local paths from yarn.lock comparison
This version on failure outputs something like
--- /dev/fd/63 2022-12-12 17:31:06
+++ /dev/fd/62 2022-12-12 17:31:06
@@ -708,6 +708,11 @@
resolved "https://registry.yarnpkg.com/@types/node/-/node-12.20.55.tgz#c329cbd434c42164f846b909bd6f85b5537f6240"
integrity sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ==
+"@types/prettier@2.6.0":
+ version "2.6.0"
+ resolved "https://registry.yarnpkg.com/@types/prettier/-/prettier-2.6.0.tgz#efcbd41937f9ae7434c714ab698604822d890759"
+ integrity sha512-G/AdOadiZhnJp0jXCaBQU449W2h716OW/EoXeYkCytxKL06X1WCXB4DZpp8TpZ8eyIJVS1cw4lrlkkSYU21cDw==
+
"@types/prettier@^2.1.5":
version "2.7.0"
resolved "https://registry.yarnpkg.com/@types/prettier/-/prettier-2.7.0.tgz#ea03e9f0376a4446f44797ca19d9c46c36e352dc"
FAIL: /.../build-and-lint-test.runfiles/com_github_digital_asset_daml/language-support/ts/codegen/tests/ts/yarn.lock could not satisfy /.../build-and-lint-test.runfiles/com_github_digital_asset_daml/language-support/ts/codegen/tests/ts/build-and-lint-test/package.json
FAIL: yarn.lock requires all of the above changes
FAIL: //language-support/ts/codegen/tests:build-and-lint-test ...
Applying this diff to yarn.lock causes the test to pass.
* apply yarn.lock update reported by diff
* add changelog
CHANGELOG_BEGIN
CHANGELOG_END
* don't hard-code diff location
- suggested by @garyverhaegen-da; thanks
* point to updated ghc
* point to updated GHC
* point to updated GHCIDE
* point to updated ghc
* Make _requires_ non-writable by inserting dollar - amend detectors
* Make _choice_ declarations non-writable (add dollar)
* Add checks for dollar-gen'd code require/view/interface_instance/method
* point to updated GHC
* point to updated ghc
* satisfy changelog
CHANGELOG_BEGIN
CHANGELOG_END
* point to updated GHC
* Point to updated ghcide
* update desugar tests
* point to revised daml-ghcide
* point to updated ghc
* point to updated ghc
* replace with isDamlGenerated
* point to merged ghc and merged ghcide
* Add "component" to `SecurityTest` entry for AbstractWebsocketServiceIntegrationTest
* Add README to test-evidence explaining the convention for components