Commit Graph

11793 Commits

Author SHA1 Message Date
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
Remy
1366b36376
Refactor Canton integration-test-lib (#16764) 2023-04-27 20:26:04 +00:00
nickchapman-da
5a7451bdf4
[engine] choice authority: clarify remaining things to do (#16752) 2023-04-27 18:30:32 +00:00
azure-pipelines[bot]
fde6f13a47
bump canton to 20230426 (#16770)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-04-27 17:02:49 +00:00
Samuel Williams
355efc3843
Increase navigator backend test resources (#16768)
* Increase navigator backend test resources

* tag -> tags
2023-04-27 13:50:18 +00:00
nickchapman-da
f07f9c7970
fix choice authority "holding" bug (#16769) 2023-04-27 14:38:50 +01:00
Remy
dc40709efe
[LF] add proper encoder tests for Builtins (#16758)
We test encoder with exhaustive list of builtins for 1.11, 1.12, 1.13,
1.14, 1.15, 1.dev.

This test indirectly allso, LF parser, and LF type checking for
builtins.
2023-04-26 17:09:38 +02:00
azure-pipelines[bot]
73d46ec902
rotate release duty after 2023-04-26 (#16766)
@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-04-26 14:11:17 +00:00
Samuel Williams
fddfb52ae8
Convert navigator backend tests to canton (#16754)
* Convert navigator backend tests to canton

* Remove logs

* Drop dar file and imports

* Switch to wall clock
2023-04-26 09:41:23 +01:00
azure-pipelines[bot]
2b884f2f86
bump canton to 20230425 (#16767)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-04-26 10:26:51 +02:00
Samuel Williams
4ace70f7b6
Sw/daml doc choice return (#16713)
* Add return label to choices in daml docs

* Update expected files

* Comments + update tests
2023-04-25 16:58:27 +01:00
Remy
47be2db143
[LF] Kill expirmental optimized text primitives (#16759)
Those have never proved their usefullness.
2023-04-25 15:42:03 +00:00
azure-pipelines[bot]
cfd814c9de
update NOTICES file (#16762)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-04-25 13:41:13 +02:00
Remy
bd43e54d7d
Add new Numeric builtin compatible with type erasure in LF proto. (#16757)
part of #11679
2023-04-25 12:45:41 +02:00
Samuel Williams
b9f3a787e0
Increase port timeout and cpu reserve for canton tests (#16742)
* Increase port timeout and cpu reserve for canton tests

* Fix duplicate tag

* Update BUILD.bazel
2023-04-25 11:41:26 +01:00
Samuel Williams
969045af4d
Drop scenario support from integration tests (#16710) 2023-04-25 09:06:35 +01:00
Remy
fd5617f673
Daml Script Export : migrate test to canton (#16716)
+ factorize test to avoid multiple start of canton

part of #16711
2023-04-25 09:23:57 +02:00
azure-pipelines[bot]
41903846e1
bump canton to 20230424 (#16761)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-04-25 07:19:29 +00:00
Remy
2f27f987ad
Increase daml-assistant GRPC timeout (#16751)
10s is definitively too short for the ledger to upload a "big" dar
especially when on load. We bump it to 60s following the one uses in
the scenario service.
2023-04-24 17:20:05 +02:00
Remy
7a17c19bbf
LF: Rename builtins that would need a witness to allow nat type erasure (#16743)
part of #11679
2023-04-24 15:02:11 +00:00
azure-pipelines[bot]
7a4ea18445
update NOTICES file (#16747)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-04-24 11:41:48 +02:00
Samuel Williams
f73a569b9d
Final integration test changes (#16702)
* Immediate actions from meeting

* Convert last files, include note about odd behaviour

* Fix loop error locations

* Drop party test tags, test fetch/lookup over script

* Change abort style, comment fixes
2023-04-24 10:29:31 +01:00
Remy
ac4792244a
Kill Speedy STNat value (#16740) 2023-04-24 10:48:21 +02:00
azure-pipelines[bot]
637b187a33
bump canton to 20230421 (#16745)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-04-23 18:17:49 +02:00
Gary Verhaegen
f2721a0479
2.3.12 snapshot for testing (#16744) 2023-04-21 19:30:47 +02:00
Gary Verhaegen
e657624aa7
change Azure subscription (#16741) 2023-04-21 18:16:43 +02:00
Remy
66253e0b06
Migrate Daml script JsonApiIT to canton (#16724) 2023-04-21 16:44:49 +02:00
azure-pipelines[bot]
3e7134d968
update compat versions (2023-04-21) (#16728)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-04-21 12:31:14 +02:00
Samuel Williams
52b9193631
Convert all daml-helper test suites to canton (#16722)
* Convert all daml-helper test suites to canton
2023-04-21 09:19:43 +01:00
azure-pipelines[bot]
0eed04643d
bump canton to 20230420 (#16727)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-04-21 07:18:03 +00:00
Raphael Speyer
7a82b02b38
JSON API: Oracle: Pass string as a literal when querying json payload if index is enabled (#16717)
Previously, when using an Oracle-based ACS cache, JSON queries such as
```
 {
 ...
 "query": {
    "si_detail": {
      "si_input_no": {
        "%gt": "foo"
      }
    }
  }
}
```

were resulting in SQL queries containing 
```
JSON_EXISTS(payload, '$."si_detail"."si_input_no"?(@ > $X)' PASSING ? AS X)
```

which works when the payload json index is disabled, but when the index is enabled it results in an error.

We can avoid this by passing in the literal value rather than using a query parameter when the index is enabled, e.g.

```
JSON_EXISTS(payload, '$."si_detail"."si_input_no"?(@ > $X)' PASSING 'foo' AS X)
```

Fixes https://github.com/digital-asset/daml/issues/15006

And contributes towards https://digitalasset.atlassian.net/browse/LT-14
2023-04-21 17:01:23 +10:00
Gary Verhaegen
b149ffa8b8
Windows clean up (#16723)
* shut down GCP windows nodes
* shut down periodic-killer
* cycle Windows nodes in daily-reset
2023-04-20 17:06:26 +02:00
Gary Verhaegen
99821e0b66
infra: add a Windows node on Azure (#16705) 2023-04-20 08:32:25 -04:00
Gary Verhaegen
3a92a7ce88
start 2.6.3 (#16721) 2023-04-20 14:13:03 +02:00
azure-pipelines[bot]
1743635f55
update compat versions (2023-04-20) (#16719)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-04-20 12:36:14 +02:00