Commit Graph

12074 Commits

Author SHA1 Message Date
Gary Verhaegen
9fadea3f4c
fix get-daml.sh update script (#16992) 2023-06-14 16:58:45 +02:00
azure-pipelines[bot]
b43ed2b1bb
bump canton to 2.7.0-snapshot.20230613.10540.0.v94416c2a (#16989)
* bump canton to 2.7.0-snapshot.20230613.10540.0.v94416c2a

CHANGELOG_BEGIN
CHANGELOG_END

* keep failing tests disabled

---------

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: Gary Verhaegen <gary.verhaegen@digitalasset.com>
2023-06-14 16:41:32 +02:00
Gary Verhaegen
3cadcc0679
fix YAML (#16991) 2023-06-14 12:09:58 +00:00
azure-pipelines[bot]
d265f39ffe
rotate release duty after 2023-06-14 (#16988) 2023-06-14 12:57:23 +01:00
Gary Verhaegen
2c53e5a648
fix main ci (#16986) 2023-06-13 16:38:36 +00:00
Gary Verhaegen
d75ca23db5
update get-daml-com (#16985)
So far updates to the result of `curl https://get.daml.com` have been
made manually. This automates the process.

Fixes #3915.
2023-06-13 15:36:32 +00:00
Carl Pulley
76a2947a22
Windows flaky test fix (#16980) 2023-06-13 15:29:45 +01:00
azure-pipelines[bot]
da77708ea9
bump canton to 2.7.0-snapshot.20230612.10522.0.v3b1ff992 (#16982)
* bump canton to 2.7.0-snapshot.20230612.10522.0.v3b1ff992

CHANGELOG_BEGIN
CHANGELOG_END

* skip canton tests

---------

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: Gary Verhaegen <gary.verhaegen@digitalasset.com>
2023-06-13 13:04:05 +02:00
Carl Pulley
54dc8d9f67
Overview of Trigger Simulations (#16903) 2023-06-13 09:57:22 +01:00
Raphael Speyer
640a12610d
JSON API: Avoid populating both "result" and "errors" in response (#16967)
According to current documentation, only one of these may be set, but we can currently return both.

Also in this case we currently return a status code of 501, which is not one of the documented status codes. This PR switches that to 500 instead.

https://docs.daml.com/json-api/index.html#http-status-codes
2023-06-13 18:56:56 +10:00
azure-pipelines[bot]
3514a4a0c3
update NOTICES file (#16978) 2023-06-12 16:05:10 +00:00
azure-pipelines[bot]
b46e024e8b
rotate release duty after 2023-06-07 (#16966)
@dylant-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-06-12 11:54:05 +02:00
Marton Nagy
23cb9e28b7
Remove protobuf compatibility exclusion (#16973)
This was needed by a previous PR, for being able to fix a
new proto file.

[CHANGELOG_BEGIN]
[CHANGELOG_END]
2023-06-09 08:59:11 +02:00
Marton Nagy
010304cc34
Improve Ledger API documentation (#16968)
[CHANGELOG_BEGIN]
[CHANGELOG_END]
2023-06-08 20:47:23 +02:00
Marton Nagy
77cc03645a
Fix package options for participant_offset.proto (#16969)
[CHANGELOG_BEGIN]
[CHANGELOG_END]
2023-06-08 08:04:54 +02:00
Erwin Ramirez
fb6a564bb4
updated README.md http-json-perf (#16955) 2023-06-08 11:45:10 +10:00
Gary Verhaegen
9d228985ff
reduce cache retention times (#16964) 2023-06-07 16:44:01 +02:00
nickchapman-da
1ca710c4d5
[engine] share code for soft/hard casting (#16949) 2023-06-07 14:34:05 +00:00
Gary Verhaegen
77294d35ed
fix bump-canton job (#16959)
run-full-compat: true
2023-06-07 13:41:48 +02:00
Sergey Kisel
aa812d2f49
Remove introduced exception for the compatibility file (#16962) 2023-06-07 08:58:36 +02:00
Raphael Speyer
1f351b418e
JSON API: fix benchmarks and avoid excessive iterations (#16963)
* reduce fork count, measurement and warmup iterations, and extra parameters which had a multiplicative effect on total work done
* fix db connection setup - the combination of annotations and inheritance meant it was trying to setup the trial twice, causing Postgres benchmarks to fail
* log when an error occurs during test setup
* add logback resources to the benchmarks, to enable configuration of logging, and avoid dumping all the debug logs by default

With these changes, on my 20 core 64G linux laptop, the benchmarks now all run in under 6 mins.
Without this change, it took over 9 hours in total and none of the Postgres benchmarks were successful.
2023-06-07 08:09:24 +10:00
Marton Nagy
39f331ec7f
Remove documentation proto, and switching to markdown. (#16960)
[CHANGELOG_BEGIN]
[CHANGELOG_END]
2023-06-05 17:21:29 +00:00
Krisztian Pinter
fed6e1ab7a
Add cabal support for some components (#16755) 2023-06-05 17:07:31 +02:00
Gary Verhaegen
a791df7c1c
fix canton build (#16954)
It's not all that useful if we don't actually build the commit we're
trying to build.
2023-06-05 10:58:11 +00:00
Remy
ce2203dd2a
Reactivate test disable in #16760 except on windows (#16957)
namely

- //daml-script/export/integration-tests/reproduces-transactions:test
- //compiler/damlc:daml-stdlib-doctest
2023-06-05 11:46:03 +02:00
Remy
3ef51a711c
[LF] add back informees method for transaction (#16947)
deleted by error in #16927
2023-06-05 08:20:31 +00:00
Marton Nagy
9f55d6798b
MVP Multi Domain Ledger API (#16760)
First draw of Multi Domain Ledger API V2

[CHANGELOG_BEGIN]
introducing Ledger API V2 in a backwards compatible fashion.
For change-log and migration hints please read v2/package.proto.
[CHANGELOG_END]
2023-06-04 23:00:52 +02:00
Erwin Ramirez
cfc499fbb6
Addition metrics on update cache (#16930)
* added cache update to metrics

* formatting

* added extra logs as commented

* added logs and metrics on query request failure/ success

* comments addressed

* further comments addressed

* formatting
2023-06-02 17:37:47 +10:00
Gary Verhaegen
de6f31c4d8
canton: allow depending on arbitrary sha (#16926) 2023-06-01 15:06:35 +00:00
Gary Verhaegen
2b911c1d9c
fix Windows (#16950) 2023-06-01 17:05:04 +02:00
Remy
d692e5873c
[Script] Fix broken tests after conflicting merge (#16945)
culprits are #16920 and #16893

In this PR, we split properly Stable tests from Dev one.
2023-05-31 18:41:49 +00:00
Brian Weir
b116c92757
Daml finance quickstarter remote (#16940) 2023-05-31 18:46:06 +02:00
pbatko-da
0b75fa2a32
Add test-tool tests for IDP reassignment for user and parties (#16911) 2023-05-31 17:11:23 +02:00
Remy
dd98cbec76
[LF] Cleanup API for disclosed contract (#16920) 2023-05-31 14:39:53 +02:00
azure-pipelines[bot]
01fcf2ffc6
rotate release duty after 2023-05-31 (#16941)
@remyhaemmerle-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.
2023-05-31 14:29:24 +02:00
nickchapman-da
587efe4401
[Upgrades POC] softExercise (#16893) 2023-05-31 12:21:39 +00:00
azure-pipelines[bot]
be9b9b5336
bump canton to 2.7.0-snapshot.20230530.10440.0.v4dee2e2c (#16942)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-05-31 10:41:29 +02:00
dylant-da
17ce9a2316
Emit updated numeric primitives in stdlib/compiler (#16852)
* Amend DA.Numeric & Prelude to use updated primitives, make Legacy module

* Replace legacy numeric functions with CPP

* starting fixes - WIP

* remove clauses from convertPrim

* fix integration tests using Pi with new parameter

* Split tests into pre-post DAML_NAT_TYPE_ERASURE

* reorder forall-quantified vars in numeric primitives
2023-05-30 18:18:05 +00:00
dylant-da
dbb5ed8bf1
Provide CLI for reading/writing/aggregating serialized test results (#16928)
* Add CLI flags for reading, aggregating, writing test results

* Add tests for reading, writing, aggregating, and aggregation + read

* Rename write-results/read-results to save-coverage/load-coverage

* Rename ResultsIO -> CoveragePaths
2023-05-30 16:58:57 +00:00
Remy
198a81f9c3
[LF] Drop kv-support (#16927) 2023-05-30 16:53:21 +02:00
Remy
4845ddf48d
Skip 1.dev integration tests on Windows (#16937) 2023-05-30 14:42:32 +00:00
Moisés Ackerman
388617938d
SBPromoteAny - extend contracts with missing optional fields (#16910)
* Add test case

* Add ImmArray#drop

* SBPromoteAnyContract extends values of pred template types

* fmt

* Revert "Add ImmArray#drop"

This reverts commit 9f7ea3a9d73289aaec179eb47928b2ee22a31c76.

* TODO

* Refactor SBPromoteAnyContract suffix construction

* Lookup DataRecord using pkgInterface

* coin-upgrade-v1-v2-new-field now tests that new field works with get/set
2023-05-30 16:13:21 +02:00
dylant-da
6058070637
Remove daml visualize / damlc visual (#16901)
* Remove daml visualize / damlc visual

* fix redundant imports

* remove visual-web subtest
2023-05-30 10:50:36 +01:00
azure-pipelines[bot]
3dea2d6bfc
bump canton to 2.7.0-snapshot.20230529.10431.0.vc27aa0bf (#16932)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-05-30 08:58:43 +00:00
Remy
cbc2ecc550
Fix doc about length of Id Strings (#16933) 2023-05-30 10:13:44 +02:00
peterkvokacka-da
6c3f997499
LT-25 publish JSON-API HikariCP metrics (#16921)
* JSON-API: publish HikariCP metrics

* formatting

* address review comment
2023-05-30 11:47:22 +10:00
Erwin Ramirez
dfeec9c423
Improvements logs json api (#16924)
* updated logback json to allow env to set the root log level with default info
Added logs on iteration to ledger when updating the query-storage cache

* formatting scala code

* comments addressed

* removed unneeded variable

* formatting

* Update ledger-service/http-json/src/main/scala/com/digitalasset/http/ContractsFetch.scala

Co-authored-by: Raphael Speyer <raphael.speyer@digitalasset.com>

* remove debug block

---------

Co-authored-by: Raphael Speyer <raphael.speyer@digitalasset.com>
2023-05-30 11:04:55 +10:00
azure-pipelines[bot]
3fbe7d01d0
bump canton to 2.7.0-snapshot.20230526.10429.0.vf8c839fc (#16929)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-05-29 16:46:45 +00:00
Raphael Speyer
8fe0d7ed5c
JSON API: Add some tests around the size limits of field names that are supported by querying. (#16925)
The tests are not comprehensive.
We demonstrate that if the Oracle payload index is on, the names of fields with type Int may not exceed 251 chars.
For other configurations, Int and Text fields can have a name with lengths of at least 512 chars.

Also updated the naming and explanation of the guards which disable some tests when using Oracle with JSON index.
2023-05-27 09:33:40 +10:00
Simon Maxen
761071f215
Tree transaction building (#16912)
* With test transaction building refactor
2023-05-26 14:03:09 +01:00