Commit Graph

12106 Commits

Author SHA1 Message Date
Gary Verhaegen
af9ce9fc8e
delete old logs before starting (#17117) 2023-07-12 10:08:20 +00:00
Gary Verhaegen
cb6aa45d34
start 2.3.14 (#17104) 2023-07-12 11:46:53 +02:00
azure-pipelines[bot]
9ecab691a7
rotate release duty after 2023-07-12 (#17115)
@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-07-12 11:37:36 +02:00
Gary Verhaegen
3b9951bc7f
run m1 sometimes (#17099) 2023-07-12 11:31:38 +02:00
Samuel Williams
f6379328e9
Added diagnostics logging for damldoctest failures (#17111) 2023-07-12 09:09:58 +01:00
Samuel Williams
6dbda0a726
Separate SBuiltinBigNumericTest into its own large test (#17107) 2023-07-11 17:18:20 +01:00
Simon Maxen
d4f5661b2a
Remove legacy tx builder (#17110) 2023-07-11 16:10:04 +00:00
Gary Verhaegen
0374acb775
ci: compress results on failure (#17108)
Right now logs only get compressed on successful runs, which is not
necessarily when they are smallest.
2023-07-11 17:57:55 +02:00
azure-pipelines[bot]
851bfe59aa
bump canton to 2.7.0-snapshot.20230710.10749.0.va7968768 (#17102)
* bump canton to 2.7.0-snapshot.20230710.10749.0.va7968768

CHANGELOG_BEGIN
CHANGELOG_END

* Update Repl.hs (#17105)

---------

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: Sergey Kisel <98825453+skisel-da@users.noreply.github.com>
2023-07-11 15:45:27 +00:00
Gary Verhaegen
60f41e88b4
docs: remove unused exports (#17109) 2023-07-11 17:39:38 +02:00
nickchapman-da
32a1b8b483
avoid 2x toList (#17106) 2023-07-11 16:29:39 +01:00
nickchapman-da
614b7cb52d
[engine] importValue with upgrade (#17095) 2023-07-11 14:02:15 +01:00
azure-pipelines[bot]
039829dbc3
update NOTICES file (#17103)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-07-11 11:22:25 +02:00
Gary Verhaegen
20c0149b68
bump copyright for docs footer (#17098) 2023-07-10 17:02:02 +02:00
Samuel Williams
f04ce7e773
Add entry for the daml-script tls fix in UNRELEASED (#17086) 2023-07-10 11:34:36 +01:00
Gary Verhaegen
242fe0f447
add job attempt to logs (#17091)
For the used-to-be-rare-but-not-so-much-anymore case where the job fails
after having pushed its logs (without this the push fails as we can't
overwrite artifacts).
2023-07-06 15:35:49 +00:00
Gary Verhaegen
53556dad06
ci: run fewer things on m1 (#17092)
This was spurred by the fact that the "report_end" task sometimes fails
on m1 with the "install Bash lib" step just never finishing (and the
whole job then times out after 6h).

Hopefully by running fewer things we get fewer chances of these kinds of
weird issues.

Note that it's unclear if anything actually crashes on the m1 machines
or if this is a loss of connection between Azure Pipelines and the
machine. From what I've seen as soon as that job times out the machine
is able to successfully pick up other jobs. Speaking of, I've also
reduced the 6h timeouts to a more reasonable 3h.
2023-07-06 16:55:39 +02:00
Gary Verhaegen
fbe4d0de1f
ci: rerun m1 three times (#17089)
The m1 build is extra flaky, maybe running it multiple times will help.
2023-07-06 16:42:20 +02:00
Gary Verhaegen
f6a78df1c8
ci: compress Bazel logs (#17090)
We routinely have upwards of 3GB of logs. They are very rarely
downloaded, most people don't even know they're there. Uploading 3GB
takes time. This should make it faster, hopefully.
2023-07-06 16:36:00 +02:00
nickchapman-da
15052dd89f
Adapt soft-upgrade-integration-tests to match latest required behaviour. (#17083) 2023-07-06 11:31:45 +01:00
azure-pipelines[bot]
e5ec18a581
bump canton to 2.7.0-snapshot.20230705.10732.0.v8e5bbd5f (#17087)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-07-06 11:21:44 +02:00
azure-pipelines[bot]
45755b1e1b
update NOTICES file (#17088)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-07-06 10:22:49 +02:00
azure-pipelines[bot]
088aa027ae
rotate release duty after 2023-07-05 (#17084)
* rotate release duty after 2023-07-05

@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

* Samuel is actually the one doing the release this week

---------

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: Gary Verhaegen <gary.verhaegen@digitalasset.com>
2023-07-05 14:42:30 +00:00
azure-pipelines[bot]
3ff4aeba77
bump canton to 2.7.0-snapshot.20230704.10709.0.vd8f17f3a (#17080) (#17085)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Gary Verhaegen <gary.verhaegen@digitalasset.com>
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-07-05 10:31:44 +00:00
azure-pipelines[bot]
9bbae1e9be
bump canton to 2.7.0-snapshot.20230704.10709.0.vd8f17f3a (#17080)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-07-05 11:44:12 +02:00
azure-pipelines[bot]
c04c7ac97c
bump canton to 2.7.0-snapshot.20230630.10691.0.v8011cd5d (#17072)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-07-03 14:53:57 +02:00
nickchapman-da
8c789514ca
fix cantonJar given devMode - it was inverted (#17075) 2023-07-03 12:52:07 +00:00
azure-pipelines[bot]
9e1bd12c48
update NOTICES file (#17074)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-07-03 14:33:57 +02:00
Samuel Williams
9cbe57b073
Add canton logs to canton boot failure case (#17070) 2023-07-02 18:05:24 +01:00
nickchapman-da
8a3a7d20f9
[engine] improve speedy record value representation (#17054) 2023-06-30 15:25:50 +00:00
azure-pipelines[bot]
49ceaeb59b
bump canton to 2.7.0-snapshot.20230629.10684.0.v9ea67513 (#17065)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-06-30 14:58:28 +02:00
azure-pipelines[bot]
83b888d172
update NOTICES file (#17066)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-06-30 10:50:16 +02:00
Samuel Williams
95dd64bc02
Script package vetting (#17035)
* Version the script runner

* Fix import

* Add v2 files

* Add v1/v2 switching logic

* Add -- @ SCRIPT-V2 flag to integration tests

* Fix daml-v2 docs gen, refactor withDamlScriptDep

* Fix package name for daml-script2

* Fix polymorphic script warning for daml-script2

* Address review comments

* Scala, not haskell

* Add warnings to template files

* Rename daml-v2 to daml3, daml-script-v2 to daml3-script

* Fix polymorphic warning again

* Switch try catch to a command

* Use free properly, make all continues identity

* Split up DamlScript, implement Questions logic

* Fix most of the issues

* Drop internal callstack frames

* Minor fixes

* Prevent Catch being treated as an old-style typeclass

* Fix catch parsing

* Implement package vetting and unvetting

* Add no such template error to scenario service proto

* Notes for updateCompiledPackages in IdeLedgerClient

* Improve script src copying

* Add package vetting test, and framework for extra packages in integration tests

* Fix daml script dar rule mistake

* Apply suggestions from code review

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

* Convert PureCompiledPackages to case class

* Generalise Lookup error over scenario proto

* Address review

---------

Co-authored-by: Remy <remy.haemmerle@daml.com>
2023-06-29 15:42:34 +01:00
Gary Verhaegen
cace97977d
fix bump_canton (#17062)
run-full-compat: true
2023-06-29 12:20:38 +00:00
azure-pipelines[bot]
d1f6c76d98
update NOTICES file (#17061)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-06-29 11:47:22 +02:00
Remy
9e0493cc1a
add support for Canton EE available to JSON API (#17034)
Co-authored-by: Gary Verhaegen <gary.verhaegen@digitalasset.com>
2023-06-29 09:03:32 +00:00
azure-pipelines[bot]
e09d8e70b0
rotate release duty after 2023-06-28 (#17051)
@nickchapman-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-29 08:48:32 +01:00
Samuel Williams
473b7750af
Fix TLS and other settings not being applied when using --all (#17059) 2023-06-28 16:07:21 +01:00
markus-da
d18b8b8614
update daml finance quickstart version (#17057) 2023-06-28 16:22:39 +02:00
Rex Ng
c6579773a6
Export shows function (#16965) 2023-06-28 14:12:58 +00:00
Simon Maxen
8b009ee902
Update v1 event query service docs (#17055) 2023-06-28 14:01:32 +00:00
dylant-da
760f879e35
Extract available snapshot versions from Github (#17029)
* Extract available snapshot versions from Github

* Refactor slightly, add comments

* Implement caching

* Make getLatest commands query the minimum number of times from Github

* lint

* filter out prereleases, fix naming

* Fix outdated reference `extractVersionsFromSnapshots` to extractReleases

* Retrieve all versions so that getLatest can prune old versions' patches

* Hide --snapshots, --all, and --force-reload flags from daml version

* Get isPrerelease check correct way around

* Thread UseCache to `daml install` and other commands

* Refactor getEnvLatestStableSdkVersion to defer sdk version extraction

* store envLatestStableSdkVersion thunk in struct so tests can override it

* Read environment var early in getLatestStableSdkVersion

I implemented this with `overrideWithEnvVarMaybe`, but it required some
rather opaque abuse of `fmap pure`, `sequence`, and `join`

* Replace hidden with internal so flags don't show up in help
2023-06-28 12:04:00 +00:00
Samuel Williams
6640c6fbd8
Daml3 script refactoring (#17028)
* Version the script runner

* Fix import

* Add v2 files

* Add v1/v2 switching logic

* Add -- @ SCRIPT-V2 flag to integration tests

* Fix daml-v2 docs gen, refactor withDamlScriptDep

* Fix package name for daml-script2

* Fix polymorphic script warning for daml-script2

* Address review comments

* Scala, not haskell

* Add warnings to template files

* Rename daml-v2 to daml3, daml-script-v2 to daml3-script

* Fix polymorphic warning again

* Switch try catch to a command

* Use free properly, make all continues identity

* Split up DamlScript, implement Questions logic

* Fix most of the issues

* Drop internal callstack frames

* Minor fixes

* Prevent Catch being treated as an old-style typeclass

* Fix catch parsing

* Improve script src copying

* Fix daml script dar rule mistake

* Address review comments

* Address deep dive comments

* Update daml-script/runner/src/main/scala/com/digitalasset/daml/lf/engine/script/v2/Runner.scala

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

* Small fix

* Add some information to Internal.daml

---------

Co-authored-by: Remy <remy.haemmerle@daml.com>
2023-06-28 09:15:21 +01:00
pbatko-da
321b659321
Document implied identity identity provider id in proto files (#17027) 2023-06-27 17:53:30 +02:00
azure-pipelines[bot]
d6e3144d50
update NOTICES file (#17048)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-06-27 12:02:48 +02:00
Gary Verhaegen
0e9cb10f7d
optionally get canton EE (#17039) 2023-06-27 11:00:24 +02:00
azure-pipelines[bot]
df8d7f4d28
bump canton to 2.7.0-snapshot.20230627.10639.0.v71758c43 (#17047)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-06-27 07:38:09 +00:00
azure-pipelines[bot]
5979774ec7
bump canton to 2.7.0-snapshot.20230623.10628.0.v51275048 (#17042)
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: Andreas Triantafyllos <andreas.triantafyllos@digitalasset.com>
2023-06-26 17:25:43 +02:00
azure-pipelines[bot]
2aa1fa5b5f
bump canton to 2.7.0-snapshot.20230622.10627.0.vb9613ade (#17040)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-06-26 09:43:33 +02:00
Erwin Ramirez
bba554481b
Add json api endpoint refresh cache (#16987)
* added new end point to refresh the cache

* formatting

* returning old logic

* added logic to update the cache with a specific offset provided in the body

* formatting

* addressed comments

* formatting

* formatting

* formatting

* Return unit instead of List for processing refresh

* last changes on logic

* formatting

* simplify conversion

* comments addressed
2023-06-23 19:49:34 +10:00