Commit Graph

11777 Commits

Author SHA1 Message Date
dylant-da
5637a2e509
Test result serializability (#16850)
* define serializeable protobuf for test results

* Redefine serializable datatype, rewrite printTestCoverage to use it

* Fix bug in occurence counting

* Refactor/restructure code

* Implement choice/template printers, amend PackageId datatype

* Protobuf encoding/decoding

* Fix duplicate template choices for Archive

* lint auto-formatting for bazel

* fix lint for haskell

* fix bad paren

* lint

* Document test_results protobuf

* remove commented out nowarn compiler flags
2023-05-11 17:44:46 +00:00
Remy
d284aff107
Refactor ledger-test-tool (#16848)
* Refactor ledger-test-tool

* address Marcin's review

* fix build-release-artifacts
2023-05-11 17:44:42 +02:00
Remy
2d3aaa65f3
update hash of canton snapshot (#16849) 2023-05-11 09:56:21 +00:00
Remy
a863d69d34
Move CatonFixture in its own bazel module (#16824) 2023-05-10 23:15:26 +00:00
azure-pipelines[bot]
cc16dde330
update compat versions (2023-05-10) (#16842)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-05-10 23:50:43 +02:00
Carl Pulley
3b2a89e060
Oracle trigger service Canton test migration (#16837) 2023-05-10 18:03:50 +01:00
Samuel Williams
537447d92c
Json Api tests to canton (#16782)
Co-authored-by: Remy <remy.haemmerle@daml.com>
2023-05-10 16:01:39 +01:00
Carl Pulley
27f1268d63
Postgres trigger service Canton test migration (#16836) 2023-05-10 14:55:53 +01:00
Carl Pulley
3d8033ddc8
toxi proxy trigger service Canton test migration (#16829) 2023-05-10 14:01:31 +01:00
Carl Pulley
8fb76c5b63
In-memory trigger service Canton test migration (#16811) 2023-05-10 12:16:57 +01:00
Matthias Schmalz
6d82c6bf00
Removing securityTestLayer from test evidence (#16843)
The securityTestLayer property used to be defined on a per test suite basis. The value may vary from test case to test case. Therefore, it is not always possible to assign a correct value. Removing the property to resolve this problem.

CHANGELOG_BEGIN
CHANGELOG_END
2023-05-10 10:04:49 +00:00
mziolekda
fd4661042d
Trim the compatibility test matrix (#16844)
* Trim the compatibility test matrix

* correct script tested versions
2023-05-10 09:54:26 +00:00
Remy
90c023e98e
Migrate LedgerClient test from to Canton (#16795) 2023-05-10 11:16:40 +02:00
azure-pipelines[bot]
99cbff4eff
bump canton to 20230510 (#16841)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: Remy <remy.haemmerle@daml.com>
2023-05-10 09:15:16 +00:00
nickchapman-da
3b68f14e74
[engine] choice authority eval order testing (#16835)
* extend eval order testing for choice authority

* update security evidence
2023-05-10 09:36:32 +01:00
azure-pipelines[bot]
a2608b71c9
bump canton to 20230508 (#16816)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: Remy Haemmerle <Remy.Haemmerle@daml.com>
2023-05-10 09:15:11 +02:00
mziolekda
576d505403
Port create-daml-app compatibility test to canton (#16820)
* stop relying on sandbox-on-x

* Convert tests to using user management
2023-05-09 12:54:23 +02:00
mziolekda
f35e2a9a3a
allocate free port to domain to avoid flakes (#16827) 2023-05-09 12:51:41 +02:00
mziolekda
eaffc65c69
Compatibility daml_ledger_test on canton (#16805)
* daml_ledger_test on canton

* fix migration tests

* discover free ports and launch canton there
2023-05-08 09:45:53 +00:00
Remy
b15f577298
Fix Main after conflict between 993ddaacb and 7149ebdb (#16818) 2023-05-08 08:44:12 +00:00
Gary Verhaegen
df791fc87d
infra: increase Windows disk sizes (#16812) 2023-05-05 18:53:27 +02:00
Remy
7149ebdb73
[LF] refactor CantonFixture (#1673)
- force logging when debug is one (overring logbak conf)
- inherit SuiteResourceManagementAroundAll
- minor cleanup
- add default value for CantonFixture parameter
2023-05-05 16:31:26 +00:00
Samuel Williams
993ddaacb8
Convert remaining language-support tests to canton (#16763)
* Convert remaining language-support tests to canton

* Tweaks

* Make ScalaCodeGenIT async

* Rename usingLedger to withFixture

* Update TODOs

* Add changes from Remys PR

* Cleanup imports

* Address Remy's review

* Fix ts codegen tests
2023-05-05 16:05:15 +00:00
Moisés Ackerman
215f56844d
daml_compile rule now takes module_prefixes arg (#16802) 2023-05-05 15:47:38 +02:00
nickchapman-da
997962982f
[engine] choice authorizers in TX protocol (#16808)
* choice-authorizers in TX protocol

* adapt existing test to not flake-fail
2023-05-05 13:36:40 +01:00
Carl Pulley
2be396a481
Bug fixes and logging improvements to trigger simulations (#16694) 2023-05-05 13:20:07 +01:00
Samuel Williams
803b7256df
Convert hs-bindings tests to canton (#16750)
* Convert hs-bindings tests to canton
2023-05-05 10:33:23 +00:00
azure-pipelines[bot]
74e73e7270
update NOTICES file (#16807)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-05-05 11:03:16 +02:00
azure-pipelines[bot]
502b53749e
bump canton to 20230504 (#16806)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-05-05 07:32:42 +00:00
Gary Verhaegen
af51d6601c
infra: multiple IPs for NAT gateway (#16803) 2023-05-04 17:59:47 +00:00
azure-pipelines[bot]
8639f8460d
bump canton to 20230503 (#16797)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-05-04 13:03:14 +00:00
azure-pipelines[bot]
c5f826ce91
update NOTICES file (#16798)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-05-04 14:47:45 +02:00
Gerolf Seitz
549aa798cc
Release 2.6.4 with no changes in the daml repo (#16801) 2023-05-04 12:37:34 +00:00
mziolekda
01cfae4e17
Clean-up compatibility test (#16791)
* Clean-up compatibility test

* run-full-compat: true
2023-05-03 20:03:46 +02:00
Gary Verhaegen
60597a7c75
start 2.3.12 (#16792) 2023-05-03 19:36:20 +02:00
Remy
6985849a4f
[Compiler] support for type erasure friendly Numeric LF builtins (#16787)
part of #11679
2023-05-03 17:34:41 +02:00
Gary Verhaegen
5385724e29
clean up Windows machines (#16788) 2023-05-03 13:20:34 +00:00
Remy
a88b73e3cc
[Speedy] implement new type erasure friendly numeric builtin (#16784)
part of #11679
2023-05-03 14:13:16 +02:00
azure-pipelines[bot]
545c4c038a
rotate release duty after 2023-05-03 (#16789)
@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-05-03 12:07:31 +02:00
azure-pipelines[bot]
80ed7ae740
bump canton to 20230502 (#16790)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-05-03 07:48:21 +00:00
dylant-da
eb537914a4
Make scripts cancellable (#16588)
* Begin work on cancellable scenarios

* Stubs that pass typechecking, for bidirectional streams

* Place default value in running handlers

* Support start/stop requests

* switch script to scenario

* ScenarioServiceMain lint

* Fix nonexhaustive check

* Working but ugly

* Remove ugliness / print debugging

* lint

* Distinguish cancellation by timeout vs request, refactor ior

* lint

* Implement automatic cancellation of outdated scripts, and test

* lint

* Fix boolean blindness in script cancellation signal

* Add timeout & steps to script interrupt test case

* Add test case for hover resetting script progress

* Remove unused ReplacedByOtherThread datatype

* remove dead debugging print statements

* Improve semaphore code

* Turn handler structure into a Semigroup, handle multiple response error
2023-05-02 17:51:45 +00:00
Moisés Ackerman
e71c667778
Extract daml-dar-reader (#16786) 2023-05-02 16:17:23 +00:00
nickchapman-da
1f76837b5e
[engine] avoid import config._ for clarity (#16783) 2023-05-02 14:32:44 +00:00
Gary Verhaegen
d37fe6f7e8
fix canton switch (#16785) 2023-05-02 14:21:19 +00:00
Andreas Lochbihler
220f8ffbe7
Add macros for obtaining full qualified names of members and symbols (#16771) 2023-05-02 14:01:47 +00:00
Remy
31bfe9b4c4
[Engine] Implement numeric builtins compatible type nat erasure (#16773)
on the scala side except Speedy.

part of #11679
2023-05-02 12:07:54 +02:00
Remy
1a917b781a
Override engine and archive reader in canton jar used for dev testing (#16667) 2023-05-02 11:00:43 +01:00
azure-pipelines[bot]
d950f8c16e
update NOTICES file (#16781)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-05-02 08:06:59 +00:00
azure-pipelines[bot]
19db584471
bump canton to 20230501 (#16780)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-05-02 07:35:26 +00:00
Gary Verhaegen
1f3c22cf10
reenable canton tests every day (#16765)
This is obviously not going to do anything until some tests have the
tag.
2023-04-27 21:42:16 +00:00