Commit Graph

193 Commits

Author SHA1 Message Date
Paul Brauner
b0ee597a61
do not use the same temp dir for test cases run in parallel (#19257) 2024-05-23 13:14:11 +00:00
dylant-da
935c3fb10e
Expand upgrade validation testing (#19123)
* Remove duplication from tests

* lint

* lint

* Simplify tests

* lint

* add more tests for dependency behaviour

* track new test files

* lint

* add test for failure being only emitted in the module that originates it

* fix stdout capture for rules_daml

* lint

* lint

* Move CannotUpgradeView into own section

* Fix more upgrades gen
2024-05-23 09:36:05 +01:00
Remy
b06a9e836e
[LF] add packageVersion to Create Node, and Contract Instance (#19243) 2024-05-22 15:40:13 +02:00
azure-pipelines[bot]
b04c7a13f0
update NOTICES file (#19251)
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-05-22 14:23:26 +02:00
azure-pipelines[bot]
609171a257
update canton to 20240521.13331.v449e982c (#19247)
tell-slack: canton

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-05-22 12:09:44 +02:00
Samuel Williams
c584588a81
Daml-Script changes for 2.9 (forward port) (#19223)
* First set of tweaks

* Implement package preference in daml3-script
2024-05-22 10:56:18 +01:00
dylant-da
39304f089f
forward port changes from #19231 (excl. #18271) (#19242) 2024-05-21 16:24:25 +01:00
Paul Brauner
b54cbd22c0
Fix IJ project sync (#19240) 2024-05-21 09:40:08 +00:00
azure-pipelines[bot]
7b838a8277
update canton to 20240520.13324.vdf52c631 (#19239)
* update canton to 20240520.13324.vdf52c631

tell-slack: canton

* fix tests

---------

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: Paul Brauner <paul.brauner@digitalasset.com>
2024-05-21 08:20:35 +00:00
Paul Brauner
9472bf3c6c
upgrade to jdk17 (#19214)
* initial attempt to upgrade to jdk17

* patch rules_nixpkgs to allow for jdk 17

* format

* fix compatibility/.bazelrc

* update jar_jar, disable jdk8

* get jarjar's hash right

* ignore timestamp parsing test for now

* fix build-release-artifacts

* fix JsonLfDecodersTest in the code drop

* dadew

---------

Co-authored-by: = <=>
Co-authored-by: Gary Verhaegen <gary.verhaegen@digitalasset.com>
2024-05-17 13:44:11 +02:00
azure-pipelines[bot]
1064fff281
update canton to 20240516.13312.vd8490aac (#19227)
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: Marcin Ziolek <marcin.ziolek@digitalasset.com>
Co-authored-by: Remy Haemmerle <Remy.Haemmerle@daml.com>
2024-05-17 11:22:43 +00:00
Gary Verhaegen
3278c714b7
[3.1] nix: remove unused xmlstarlet (#19217) 2024-05-16 17:44:36 +02:00
Gary Verhaegen
0db5c8a593
infra: local network cache (#17547)
See https://github.com/DACH-NY/daml-ci/pull/39 for details.
2024-05-16 16:09:26 +02:00
Remy
18c9dce941
[Speedy] recompute contract metadata when using different pkg versions (#19206)
This is the last piece to fix #19161

Co-authored-by: Paul Brauner <141240651+paulbrauner-da@users.noreply.github.com>
2024-05-16 07:16:16 +00:00
Remy
0b0f842d47
split //daml-lf/valiation/upgrade-tests (#19208)
this should reduce flakyness and running time
2024-05-15 13:39:24 +00:00
Simon Maxen
317b6b2057
Clarification of what packages are needed in engine re-interpretation (#19197) 2024-05-15 14:10:00 +01:00
azure-pipelines[bot]
dcd4d5dede
update NOTICES file (#19204)
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-05-15 09:09:31 +00:00
Remy
82f1285a93
[Speedy] drop FetchAny (#19200) 2024-05-15 09:55:00 +02:00
Paul Brauner
31453459fe
Fix disclosure bug in the presence of upgrades (#19167)
* repro of #19162 as a test and fix for daml3

* use a different party for exercising a choice on the disclosed contract

* factorize TemplateTypeRep svalue creation

* Move makePair/makeTriplet to Converter.makeTuple
2024-05-14 15:51:50 +00:00
Remy
c1ced1fb8b
[Speedy] remove some useless optTargetTemplateId (#19196) 2024-05-14 17:07:06 +02:00
azure-pipelines[bot]
2d72a2a5b9
update canton to 20240513.13278.va95cb37b (#19187)
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: Remy Haemmerle <Remy.Haemmerle@daml.com>
2024-05-14 13:20:20 +02:00
Samuel Williams
edea1e6253
Multi-IDE Features for 2.9 (#19040)
* Implement dar unpacking

* Implement packageless IDE

* Hot-reloading logic for daml.yaml, multi-package.yaml, *.dar

* Implement initial error recovery logic

* Switch logging to log levels
Replace window reload with LanguageServer restart

* Forward args from multi-ide to sub-ides

* Change unpacked dar paths to be the unit-id.
Update unpacking logic to shutdown previous IDEs

* Remove broken experimental flag

* Refactor ide restart logic to not lose event handlers

* Log subIDE errors to debug logger live

* Windows fixes

* First review fixes batch

* Use newtypes for many FilePaths

* Address Dylan's comments

* Refactor how SubIDEs are passed around, reduce times it is dropped

* Update diagnostic
2024-05-14 09:41:10 +01:00
Remy
d80bd95cd6
[Engine] lookup for disclosed contracts after looking in the cache. (#19185)
This is a cosmetic change to clarify search strategy (local -> disclosed -> other).
Since local and disclosed contract does not have same format of contract ID (the later is suffixed while the former is not), it should not change the behavior.
2024-05-14 10:00:35 +02:00
azure-pipelines[bot]
9b1114e705
update canton to 20240510.13274.ve9b53749 (#19180)
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: Remy Haemmerle <Remy.Haemmerle@daml.com>
2024-05-13 09:10:06 +00:00
azure-pipelines[bot]
1ae7c285b9
update NOTICES file (#19181)
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-05-13 08:26:33 +02:00
azure-pipelines[bot]
22c82b8b92
rotate release duty after 2024-05-08 (#19164)
@garyverhaegen-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.

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-05-10 14:46:44 +02:00
azure-pipelines[bot]
1d3b2eab58
update NOTICES file (#19173)
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-05-10 14:46:23 +02:00
tudor-da
2e2bf73ab3
Publish //daml-lf/archive/encoder:encoder artifact (#19166) 2024-05-08 16:54:05 +02:00
azure-pipelines[bot]
092ef64f82
update canton to 20240507.13254.va09c52a2 (#19165)
* update canton to 20240507.13254.va09c52a2

tell-slack: canton

* sync canton at 3af0026 to ensure we have a fix for the party allocation delay

---------

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: Paul Brauner <paul.brauner@digitalasset.com>
2024-05-08 13:38:53 +00:00
azure-pipelines[bot]
bd4f63ef07
update canton to 20240506.13248.v3c4ab629 (#19160)
* update canton to 20240506.13248.v3c4ab629

tell-slack: canton

* fix build

---------

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: Paul Brauner <paul.brauner@digitalasset.com>
2024-05-07 10:42:05 +00:00
azure-pipelines[bot]
75ff49bbec
update canton to 20240504.13241.v10d14caa (#19157)
* update canton to 20240504.13241.v10d14caa

tell-slack: canton

* fix EngineLogginConfig

* fix canton fixture config

---------

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: Marcin Ziolek <marcin.ziolek@digitalasset.com>
Co-authored-by: Paul Brauner <paul.brauner@digitalasset.com>
2024-05-06 15:47:54 +02:00
azure-pipelines[bot]
122d263a70
update canton to 20240503.13228.v8a7a4aca (#19148)
* update canton to 20240503.13228.v8a7a4aca
tell-slack: canton

* Minimal canton bazel changes to enable building
Adapting to:
- https://github.com/DACH-NY/canton/pull/18850
- https://github.com/DACH-NY/canton/pull/18916

* Maven release daml-common-staging_util-external

---------
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: oliverse-da <oliver.seeliger@digitalasset.com>
2024-05-03 13:13:26 +00:00
azure-pipelines[bot]
eeea6a30fa
rotate release duty after 2024-05-01 (#19124)
@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.

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-05-03 12:57:22 +02:00
Ratko Veprek
02fff5d5c2
Revert "Add location to engine logger (#19104)" (#19150)
This reverts commit ce507d9959.

Reverting as the location is always the internal prelude function. So it's not really useful.
2024-05-03 12:01:00 +02:00
Moisés Ackerman
45f4c84a87
install.{bat,sh} pass --install-with-custom-version with contents of daml_version.txt (#19143)
* install.{bat,sh} pass --install-with-custom-version with contents of daml_version.txt

* pass flag only if file exists (bash)

* install.bat only passes --install-with-custom-version if daml_version.txt exists

* daml assistant accepts multiple --install-with-custom-version options, but only uses the last one (if given)

---------

Co-authored-by: Gary Verhaegen <gary.verhaegen@digitalasset.com>
2024-05-03 11:46:14 +02:00
Gary Verhaegen
8638c25e5f
[3.1] update release instructions (#19134) 2024-05-02 16:32:19 +02:00
Remy
c59b45c860
Fix LF-encoder so it read metadata (#19141)
forward port of #19140
2024-05-02 12:08:54 +00:00
Simon Maxen
283e801c8f
Sync package name and directory (#19129)
* Add scala subdirectory for consistency

* Move files to match package
2024-05-02 09:27:19 +01:00
azure-pipelines[bot]
ee4179539e
update NOTICES file (#19132)
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-05-02 08:06:44 +00:00
azure-pipelines[bot]
6f67a04971
update canton to 20240502.13211.v13a6d3c5 (#19131)
tell-slack: canton

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-05-02 09:25:11 +02:00
azure-pipelines[bot]
d36f676511
update canton to 20240501.13207.vafd1841e (#19126)
tell-slack: canton

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-05-01 11:16:25 +02:00
Simon Maxen
b4009e3c1e
Remove unused duplicate error infrastructure (#19121)
* Remove unused duplicate error infrastructure

* Remove trailing deps
2024-04-30 17:07:24 +01:00
azure-pipelines[bot]
9c29c8f7fb
update canton to 20240430.13198.vc3ff4e6c (#19116)
tell-slack: canton

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-04-30 11:47:14 +00:00
azure-pipelines[bot]
14cbfcb064
update NOTICES file (#19114)
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-04-30 12:49:52 +02:00
azure-pipelines[bot]
436c62ef4e
update canton to 20240430.13196.vcb278e07 (#19112)
tell-slack: canton

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-04-30 10:12:41 +02:00
dylant-da
b3fa897dc1
Validate Interface Upgrades (#19054)
* Initial attempt/PoC at pulling out interfaces and typechecking them

* Add checking for new interfaces

* Fix call to checkUpgrade, improve/fix warning for locally defined iface

* drop todo

* clean up noop checkDeletedIfaces

* Check that an instance is not deleted

* Port checks to Upgrading.scala, port tests to UpgradesSpec.scala

* Improve context reporting in upgrade validation

* Add tests for dropped/added interface instances

* Fix regices for failure

* lint

* fix copyright headers

* Re-enable flaky, fix formatting issues

* More tests + checks for ifaces in same package as template/instance

* fix expectation on "Cannot upgrade view" for Windows UTF-8/16

* Synchronize tests from DamlcUpgrades to UpgradesSpec

* lint

* Add module name to "DefineIfacesAndTemplates" error, fix test

* re-enable tests

* lint
2024-04-29 19:56:03 +00:00
azure-pipelines[bot]
71cea0bd86
update canton to 20240426.13186.vafd3a931 (#19106)
* update canton to 20240426.13186.vafd3a931

tell-slack: canton

* Fix Tls dependencies

* Expect updated format for upgrade error message from canton #18816

* Fix release artifacts

* add maven coordinates to tls

* hopefully the final fix of the tls project

* disable test on Arm Linux

* lint

---------

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: Marcin Ziolek <marcin.ziolek@digitalasset.com>
Co-authored-by: Dylan Thinnes <dylan.thinnes@digitalasset.com>
2024-04-29 17:56:28 +02:00
Ratko Veprek
ce507d9959
Add location to engine logger (#19104)
Before this change, we were not able to filter the engine logging by location. Now, we do.
2024-04-27 18:52:20 +02:00
azure-pipelines[bot]
589b905e28
update canton to 20240425.13173.va5ae2742 (#19100)
* update canton to 20240425.13173.va5ae2742

tell-slack: canton

* fix the dependencies in canton after reshuffles

---------

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: Marcin Ziolek <marcin.ziolek@digitalasset.com>
2024-04-26 13:51:19 +02:00
yves-da
126bd863bf
[release] 2.8.5 (#19102) 2024-04-26 10:32:57 +00:00
dylant-da
d48c75d019
Upgrade validation dry run only (#18660)
* Add flag for disabling upgrade validation, refactor tests

* mark upgrade-tests flaky

* remove unused disableUpgradeValidation method

* update canton to 3.0.0-snapshot.100000000.20240305.12764.0.v09f6d95a

tell-slack: canton

* Adapt code after renaming v1 to v2

Adapts daml because of https://github.com/DACH-NY/canton/pull/175211

run-all-tests: true

* Quick-fix build by adding missing `recordTime` parameter to the `TransactionGenerator`

This change affects tests only. However, this is a quick-fix, and there should
be a proper follow-up.

* Disable "hot reload" test since it breaks on Carl's changes

In a week we should fix this once https://github.com/DACH-NY/canton/pull/17652 is merged

* Fix expected protobuf structure in test-protobuf-structure.sh

* Compare transactions without record time in UpdateClientImplTest

* lint

* Revert changes to canton since origin/main

* Add dry run property to upload requests

* test dry run upload failure

* lint

* fix tests

* Describe dry run flag in Help.Description

* rename field in PackageServiceErrors

* Fix expected message

* Move dry run check outside validation

* Remove changes to canton

* drop dry-run flag from upload request (for now)

* drop other uses of dryRun

* lint

* copy canton

* Revert "drop other uses of dryRun"

This reverts commit cf6b9b2bfc.

* Revert "drop dry-run flag from upload request (for now)"

This reverts commit ce8aaecaf3.

* Use updated dryRun interface

* update canton to dry-run

* reset canton

* re-enable flakiness

* drop dryRun from TestingAdminLedgerClient

---------

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: jarekr-da <jaroslaw.ratajski@digitalasset.com>
Co-authored-by: Yves Geissbuehler <yves.geissbuehler@digitalasset.com>
2024-04-26 10:14:49 +01:00
dylant-da
21b4c952e4
Fix fmt.sh directory issues, fix pre-commit copyright check in worktrees (#19098)
Solution for worktree issue: https://github.com/pre-commit/pre-commit/issues/2295
2024-04-26 09:18:16 +01:00
azure-pipelines[bot]
d0d0aa2468
update NOTICES file (#19095)
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-04-26 09:30:59 +02:00
azure-pipelines[bot]
b3f37dee04
rotate release duty after 2024-04-24 (#19087)
@moisesackerman-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.

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-04-25 16:02:44 +02:00
azure-pipelines[bot]
67c927a34d
update canton to 20240424.13167.va57e71e2 (#19094)
tell-slack: canton

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-04-25 10:39:57 +02:00
yves-da
077cb99590
[release-duty] Prepare 2.8.5 release candidate (#19091)
Because canton needs a 2.8.5 release soon which fixes
https://github.com/DACH-NY/canton/issues/18758
2024-04-24 21:43:26 +02:00
azure-pipelines[bot]
5ac359d446
update canton to 20240423.13156.v75d9d2d6 (#19088)
* update canton to 20240423.13156.v75d9d2d6

tell-slack: canton

* handle pagination in ListKnownParties

---------

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: Paul Brauner <paul.brauner@digitalasset.com>
2024-04-24 18:36:04 +02:00
Artúr Poór
71773c8559
Actually fix typo in help message of daml build --all (#19050) 2024-04-24 09:57:43 +01:00
azure-pipelines[bot]
612c9bdd74
update canton to 20240419.13141.v8e75f5c1 (#19057)
* update canton to 20240419.13141.v8e75f5c1

tell-slack: canton

* fix the compilation of community_ledger_ledger-json-api

---------

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: Paul Brauner <paul.brauner@digitalasset.com>
2024-04-23 13:43:11 +00:00
azure-pipelines[bot]
af57809e3d
update canton to 20240419.13137.v501a60ec (#19052)
tell-slack: canton

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-04-19 18:31:05 +02:00
Ratko Veprek
f57a8c9f4c
Allow injecting custom logger into engine (#19051)
Before this change, we couldn't inject a custom logger into the engine. As such, debug output of commands would not be associated to the Canton trace-id, making the feature not very useful. Now, the API is extended such that the custom logger can be easily added.
2024-04-19 16:04:23 +00:00
azure-pipelines[bot]
e4599bee41
update canton to 20240418.13127.v3cbe456a (#19042)
tell-slack: canton

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-04-19 16:18:29 +02:00
Artúr Poór
280f0b5a44
Fix typo in Timestamp LF conversion error message (#18995) 2024-04-19 14:11:41 +02:00
Artúr Poór
ce2af18d15
Fix typo in help message of daml build --all (#18996) 2024-04-19 14:11:18 +02:00
Gary Verhaegen
f752c518e1
[3.1] fix protobuf check (#19046)
Now that 2.8.4 is published, the branch we compare with is in a subdir
and the script needs to deal with that.
2024-04-19 13:32:12 +02:00
Samuel Williams
97a7e13feb
Multi-ide refactors (#18885)
* Reimplement ProgressToken prefixing to be stateless

* Refactor parsing logic to not use interleaveIO

* Move most verbose logging behind a flag

* Address reviews
2024-04-18 16:12:18 +01:00
Simon Maxen
05212c9fd4
Cleanup GlobalKey use (#19027)
* Cleanup GlobalKey use

* With canton one line fix

* Update with review comments

* Add packageName to GlobalKey.toString
2024-04-18 15:00:52 +01:00
Gary Verhaegen
52c63cdfde
[3.1] re-enable Windows testing (#19034)
If anyone's been wondering why we've had so few Windows failures lately,
this is why.
2024-04-18 14:25:28 +02:00
azure-pipelines[bot]
fc56e399d8
update canton to 20240418.13124.vc022fdc6 (#19032)
tell-slack: canton

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-04-18 14:24:59 +02:00
azure-pipelines[bot]
8c0e0591c1
rotate release duty after 2024-04-17 (#19015)
@samuel-williams-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.

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-04-18 14:24:37 +02:00
dylant-da
f2ac5b311d
Make compiler typecheck upgrades by default (#19028) 2024-04-18 11:18:21 +01:00
azure-pipelines[bot]
fdeaabf8e1
update canton to 20240417.13115.vbd22b7df (#19030)
tell-slack: canton

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-04-18 11:16:05 +02:00
Meriam Lachkar
2db3afc928
update Canton 20240417.13111.v2fe0cffc (#19025)
* update canton to 20240417.13111.v2fe0cffc

* Fix canton BUILD following this change f2e58182dddb73
2024-04-17 15:38:23 +00:00
Gary Verhaegen
71e5fd5793
bisect canton pull (#19004) 2024-04-17 10:39:52 +02:00
dylant-da
4f422ab27c
Fix v1 2 3 upgrade tests (#18997)
* Fix tests involving subsequent uploads

* lint

* Address Carl's comments

* lint
2024-04-16 18:47:26 +01:00
Moisés Ackerman
4a94fbfc23
Add support for 'module_prefixes' in bazel macro 'daml_test' (#19010) 2024-04-16 17:00:58 +02:00
tudor-da
cf0579f614
More useful PackageInfo definition (#18998)
* More useful PackageInfo def

* Simplified
2024-04-16 15:00:48 +00:00
Remy
54cfdfb5de
[Engine] Simplify Compiled packages (#19007) 2024-04-16 16:06:42 +02:00
Samuel Williams
d1c76d21a7
Implement damlc generate-multi-package-manifest (#18832)
* Implement damlc generate-multi-package-manifest

* Fix source hash file paths

* Add generate multi package manifest tests

* Apply hlint suggestion

* Review and CI fixes

* Remove repeat pragma

* Refactor test suite to be OS/version agnostic

* Update comments

* Fix after merge
2024-04-16 14:42:40 +01:00
Gary Verhaegen
6881725412
[release] 2.8.4 (#18954) 2024-04-15 20:12:44 +02:00
tudor-da
91c1c12ded
Improve PackageInfo definition (#18980)
* Improve PackageInfo definition

* Fix PackageInfoSpec

* Apply suggestions from code review

Co-authored-by: Remy <remy.haemmerle@daml.com>

* Format

* Another small fix

---------

Co-authored-by: Remy <remy.haemmerle@daml.com>
2024-04-12 18:20:04 +02:00
Ratko Veprek
5b63b00666
Triggering adhoc 3.1.0 release (#18976) 2024-04-11 13:00:39 +00:00
Ratko Veprek
640cac45bc
Metrics: initialise views before meters to re-enable histograms (#18963)
Before this change, the whole histogram building logic was broken since we upgraded telemetry. Now,
we initialize the view before the meters. As part of this change, I also move the documentation
into the meter definition such that the metrics can include a description in otel, and finally I've improved
the filtering such that we now also filter by qualification, which means that a client will not be
overwhelmed with 400 unnecessary metrics.

Part of https://github.com/DACH-NY/canton/issues/17917
2024-04-11 14:05:58 +02:00
azure-pipelines[bot]
1a17fb37d0
update canton to 20240410.13062.v63473f5d (#18974)
* update canton to 20240410.13062.v63473f5d

tell-slack: canton

* fix integration tests

* fix remaining failing integration tests

---------

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: Paul Brauner <paul.brauner@digitalasset.com>
2024-04-11 14:05:07 +02:00
azure-pipelines[bot]
f813d79a34
update canton to 20240410.13059.vaa7f9dde (#18971)
tell-slack: canton

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-04-10 17:14:58 +02:00
azure-pipelines[bot]
0b4f060244
update canton to 20240409.13054.v4f1ad842 (#18967)
tell-slack: canton

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-04-10 12:43:35 +02:00
azure-pipelines[bot]
8b31fcfae4
update NOTICES file (#18970)
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-04-10 09:49:36 +00:00
azure-pipelines[bot]
be4fc91cb6
update canton to 20240409.13048.v8a5f112c (#18962)
tell-slack: canton

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-04-09 14:55:43 +02:00
azure-pipelines[bot]
2ec4a3b7fd
update canton to 20240408.13044.v976ee867 (#18958)
* update canton to 20240408.13044.v976ee867

tell-slack: canton

* specify the protocol version in calls to StaticDomainParameters.defaults

---------

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: Paul Brauner <paul.brauner@digitalasset.com>
2024-04-09 09:19:45 +00:00
Samuel Williams
1d9a83931f
Multi-build direct dependency support + build all ordering (#18956) 2024-04-09 09:46:54 +01:00
azure-pipelines[bot]
f4246b34a2
rotate release duty after 2024-04-03 (#18930)
@basvangijzel-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.

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-04-09 10:24:37 +02:00
azure-pipelines[bot]
0ec879853e
update canton to 20240405.13039.vc7eec3f0 (#18948)
* update canton to 20240405.13039.vc7eec3f0

tell-slack: canton

* fix build

* remove usages of tink in the canton config

---------

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: Paul Brauner <paul.brauner@digitalasset.com>
2024-04-08 15:31:20 +02:00
azure-pipelines[bot]
8f88f4f188
update NOTICES file (#18952)
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-04-08 15:15:11 +02:00
Remy
9c3ceab776
Test for LF V1 Archive Reader (#18946)
* Test for LF V1 Archive Reader

* Update sdk/daml-lf/api-type-signature/src/test/scala/lf/typesig/reader/SignatureReaderSpec.scala
2024-04-08 11:00:42 +02:00
Simon Maxen
6eb409f898
Pass package-name into GlobalKey construction (#18927)
* Pass package-name into GlboalKey construction
2024-04-08 09:36:38 +01:00
Remy
c31940581e
Decode package type signature for LF1 (#18940)
We pick the proto for LF1 and the Decoder from main-2.x
We drop withing the decoder the expression decoding and and fill the AST with EUnit where an expression is needed.

Test will be done in a subsequent PR.
2024-04-05 09:27:47 +02:00
azure-pipelines[bot]
7a2509d6f4
update canton to 20240403.13026.v4a622ee4 (#18936)
tell-slack: canton

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-04-04 07:43:30 +00:00
azure-pipelines[bot]
09e7d8029e
update NOTICES file (#18937)
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-04-04 07:41:54 +00:00
Paul Brauner
cf2b387c3b
Disallow keys in LF 2.1 in the compiler (#18886)
* Disable keys in LfConversion.

* fix UnusedMatchTests.daml in integration-v21

* fix //compiler/damlc/tests:upgrades

* stop compiling daml tests that use keys with 2.1

* migrate the upgrade examples to 2.dev as they use keys

* only compile daml-script/tests dar using keys to 2.dev

* do not compile daml-script/test daml files that use keys to 2.1

* fix //docs:bindings-java-daml-test

* add TODOs everywhere tests need to be split

* add a tests that checks that contract keys are rejected for LF<2.dev

* remove keys from compatibility tests

* Add the qualified template name to the keys not supported error message
2024-04-03 16:24:22 +02:00
azure-pipelines[bot]
62fe3c4bb4
update NOTICES file (#18931)
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-04-03 14:40:29 +02:00