Commit Graph

13060 Commits

Author SHA1 Message Date
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
Gary Verhaegen
c82a4d813b
[3.1] fix dev-env in various places (#19127) 2024-05-01 18:23:29 +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]
f78d01685c
update NOTICES file (#19101)
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-04-26 16:13:17 +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