Commit Graph

11205 Commits

Author SHA1 Message Date
azure-pipelines[bot]
9e5e77f968
rotate release duty after 2023-01-04 (#15996)
@gerolf-da 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>
2023-01-04 14:35:25 +01:00
atriantafyllos-da
c97e91ab02
Revert HikariCP to 3.2.0. (#15959) 2023-01-04 12:48:26 +01:00
azure-pipelines[bot]
24900c9e9f
update compat versions (2023-01-04) (#15998)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-01-04 12:45:09 +01:00
azure-pipelines[bot]
3dd6000bb3
bump canton to 20230103 (#15997)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-01-04 08:38:08 +01:00
azure-pipelines[bot]
24e34d91bf
bump canton to 20230102 (#15985)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-01-03 19:08:59 +01:00
Raymond Roestenburg (Actually RayRoestenburg)
a1a3457476
Removed Stephen, Fayi, Chun Lok and Ray from rotation. (#15989) 2023-01-03 16:37:20 +00:00
Nicu Reut
0caec011fb
Add counter for all indexed events [PLEN-70] (#15921) 2023-01-03 16:26:36 +01:00
azure-pipelines[bot]
f7e97a2f1a
update NOTICES file (#15987)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-01-03 15:17:43 +01:00
Remy
2152b72755
[Speedy] Make Machine parametric wrt questions (#15576) 2023-01-03 15:12:33 +01:00
Remy
dcbf9947f4
[Triggers] make message batch size configurable (#15929) 2023-01-03 13:32:10 +00:00
Remy
a40938d71a
[Triggers] fix versioning (#15992)
- fix wrong comparison for create event
- add patch number in scala version names
- change 2.6 -> 2.5.1 in anticipantion of #15902 backport
2023-01-03 12:45:57 +00:00
azure-pipelines[bot]
7ecd19132b
update compat versions (2022-12-19) (#15927)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-01-03 12:34:30 +01:00
pbatko-da
5812eaa0e6
[DPP-1327] Document ETQ config settings in SoX's reference.conf. Rename a few config keys (#15920)
Sox config renames:

| old                                        | new                                 |
+--------------------------------------------+-------------------------------------+
| completions-max-payloads-per-payloads-page | completions-page-size               |
| transactions-flat-stream-reader-config     | transaction-flat-streams            |
| transactions-tree-stream-reader-config     | transaction-tree-streams            |
| payload-processing-parallelism             | transactions-processing-parallelism |
2023-01-03 10:28:47 +01:00
azure-pipelines[bot]
7b1081b4f2
bump canton to 20221222 (#15963)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-01-03 09:23:05 +01:00
azure-pipelines[bot]
4d9b0a316d
rotate release duty after 2022-12-28 (#15975)
@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>
2023-01-03 09:19:28 +01:00
azure-pipelines[bot]
7154847722
update NOTICES file (#15971)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2022-12-26 12:52:40 -05:00
Raymond Roestenburg (Actually RayRoestenburg)
f86b25714d
Added submitAndWaitForResult(UpdateSubmission), deprecated submitAndWaitForResult(CommandSubmission, Update) (#15934)
* Fixes #15905
2022-12-24 10:50:28 +00:00
azure-pipelines[bot]
aa50aab3fa
bump canton to 20221221 (#15960)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2022-12-22 09:17:22 +01:00
Stephen Compall
18e624a0d8
NonEmpty for non-empty arguments to Queries methods (#12341)
* 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
2022-12-21 21:06:34 +00:00
Remy
8201064bbf
[Triggers] disable tests flaky on windows (#15955) 2022-12-21 15:43:48 +00:00
atriantafyllos-da
c43e58e054
Upgrade daml libraries 2 (rxjava, HikariCP, squareup, commons-io, sourcecode, gson, scalameter, checkerframework) [DPP-1362] (#15939)
Upgraded
* checkerframework
* scalameter
* gson
* sourcecode
* commons-io
* squareup
* HikariCP
* rxjava
2022-12-21 08:37:43 +01:00
Ratko Veprek
2dd939ced3
Added new unreleased directory in order to capture the release notes during development (#15672) 2022-12-20 17:16:11 +01:00
tudor-da
3b87836fa7
Pass agreementText in ProcessedDisclosedContract (#15935)
changelog_begin
changelog_end
2022-12-20 15:42:04 +00:00
yves-da
440b582ebe
Improve Daml introduction text (#15943)
Removes superfluous second sentence which also assumes the reader to be familiar with object-oriented programming.

CHANGELOG_BEGIN
CHANGELOG_END
2022-12-20 14:20:15 +01:00
azure-pipelines[bot]
52c15f3bc5
bump canton to 20221219 (#15940)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2022-12-20 13:14:02 +00:00
pbatko-da
d950de300c
Exclude ACS pruning tests from running against Canton community (#15944) 2022-12-20 12:13:36 +00:00
Sergey Kisel
40896a8c13
Restrict update party of non-local details (#15913)
* 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>
2022-12-20 10:40:03 +01:00
atriantafyllos-da
68ba24ab58
Upgrade daml libraries (junit, auth0, caffeine, guava, awaitility) (#15916)
Upgraded:
* junit
* auth0
* caffeine
* guava
* awaitility
2022-12-20 09:50:10 +01:00
Claudio Bley
c64471c28d
Remove duplicate FailureTests classes (#15937)
These have been split up into separate files already, see #13290.
2022-12-20 09:21:45 +01:00
oliverse-da
4ba8077263
Fix for canton documentation build (#15936)
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
2022-12-20 08:05:36 +00:00
Chun Lok Ling
8bcd24f945
LineBuffering for stdout, stderr in Assistant/daml-helper (#15931)
* LineBuffering for stdout, stderr

* move to the top

* address comment
2022-12-19 19:40:00 +00:00
Chun Lok Ling
206510b916
JSON encoding of Java codegen classes (#15909)
* Json toJsValue

* JsonCodec

* maven tag

* doc

* Apply suggestions from code review

Co-authored-by: Stephen Compall <stephen.compall@daml.com>

* address comments

Co-authored-by: Stephen Compall <stephen.compall@daml.com>
2022-12-19 18:55:01 +00:00
Stephen Compall
1f31d2dce2
use LF 1.15 instead of dev for interface-related bazel tests (#15923) 2022-12-19 13:40:45 -05:00
Raymond Roestenburg (Actually RayRoestenburg)
3af878c4ad
Docs: custom views code example fix. (#15928) 2022-12-19 14:31:45 +00:00
Remy
e94f1a74a9
Reactive requires in surface language (#15570) 2022-12-19 09:28:43 +01:00
Remy
c37d4a257b
[Trigger] Batch messages in case of backpressure (#15902)
Co-authored-by: Carl Pulley <carl.pulley@digitalasset.com>
Co-authored-by: Moisés Ackerman <6054733+akrmn@users.noreply.github.com>
Co-authored-by: Carl Pulley <106966370+carlpulley-da@users.noreply.github.com>
2022-12-19 09:28:02 +01:00
Sergey Kisel
9d007b3174
Clarify an empty user_id and identity_provider_id semantics (#15912) 2022-12-18 11:34:36 +01:00
azure-pipelines[bot]
32f81c9ad1
bump canton to 20221216 (#15924)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2022-12-17 22:23:03 +01:00
Stephen Compall
2893e26872
fix MAXIMUM_NUMBER_OF_STREAMS errors when doing many websocket queries (#15733)
* 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
2022-12-16 16:41:08 -05:00
oliverse-da
33bc838871
Flaky test fixes for Canton deduplication tests (#15914)
* 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
2022-12-16 20:33:18 +00:00
atriantafyllos-da
642049616c
Generate doc instances for metrics groupable by name [DPP-1355]. (#15908) 2022-12-16 13:26:11 +00:00
Nicu Reut
f572d31222
Add counter for metered events [PLEN-39] (#15878) 2022-12-16 11:03:30 +00:00
Simon Maxen
d76603d137
Metering clarifications for Daml Hub [DPP-1314] (#15898)
* Add metering report JSON schema

* Add metering report JSON schema
* Remove metering-report-schema from proto exclusion list
* Add header to metering report validator
* Rename struct-json to struct-spray-json
* Add struct-circe-json

* Update with release comments
2022-12-16 10:46:32 +00:00
Bernhard Elsner
1f30da1f23
Remove "Module" from daml-doc H1 headers (#15862)
* 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>
2022-12-16 10:19:08 +00:00
Remy
f1aca5e11c
[Speedy] create Scenario Machine (#15588) 2022-12-16 08:20:42 +00:00
azure-pipelines[bot]
6c25c7c8be
bump canton to 20221215 (#15910)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2022-12-16 08:46:09 +01:00
Chun Lok Ling
5f01588417
Conversion between javaapi.data.Value and lf.value.Value (#15885)
* init

* make it able to sync first

* deps

* adt cases

* reorder

* toLfValue

* revert

* toLfValue

* fromLfValue

* bazel

* scala check generator round trip test

* fix test

* Apply suggestions from code review

Co-authored-by: Stephen Compall <stephen.compall@daml.com>

* address comments

* address comments

* address comments

* address comments

* address comments

* address comments

* address comments

* address comments

* fix CI

* fix CI

* na

Co-authored-by: Stephen Compall <stephen.compall@daml.com>
2022-12-15 19:27:55 +00:00
pbatko-da
566b564f0b
[DPP-1022] ACS active_at_offset (#15764)
changelog_begin
Ledger API: Add active_at_offset to the GetActiveContractsRequest request
changelog_end
2022-12-15 18:10:33 +00:00
Stephen Compall
7472684625
ignore build-and-lint-test yarn.lock inconsistency on release (#15907)
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
2022-12-15 17:46:53 +00:00
Gary Verhaegen
895a6bf11d
start 2.3.8 process (#15892)
As requested by @rgugliel-da on behalf of the Canton team.
2022-12-15 16:49:18 +01:00