Skip to content

Releases: iExecBlockchainComputing/iexec-core

v8.5.0

19 Jun 12:08
a3234eb
Compare
Choose a tag to compare
  • Deprecate legacy task feedback API endpoints. (#701)

New Features

  • Create iexec-task-api to access task feedback API. (#695)
  • Move notification package from iexec-commons-poco to iexec-core-library. (#697 #698)
  • Move PublicConfiguration class from iexec-common to iexec-core-library. (#699)
  • Create ConfigServerClient instance and use it. (#700)
  • Allow up to 32 task updates at a given time. (#703)
  • Index currentStatus field in task collection. (#707)
  • Replace CredentialsService with SignerService. (#708)

Bug Fixes

  • Always use WorkerpoolAuthorization to retrieve JWT and check result upload on Result Proxy. (#690)
  • Use correct Signature import in SchedulerClient. (#697)
  • Do not supply replicates past their contribution deadline to workers. (#702)
  • Query blockchain adapter every 2s instead of every second. (#706)

Quality

  • Configure Gradle JVM Test Suite Plugin. (#691)
  • Rename IexecTaskApiClient to TaskApiClient. (#696)
  • Move ReplicateTaskSummary from iexec-common to iexec-core. (#704 #705)

Dependency Upgrades

  • Upgrade to Gradle 8.7. (#692)
  • Upgrade to eclipse-temurin:11.0.22_7-jre-focal. (#693)
  • Upgrade to Spring Boot 2.7.18. (#694)
  • Upgrade to iexec-commons-poco 4.1.0. (#709)
  • Upgrade to iexec-common 8.5.0. (#709)
  • Upgrade to iexec-blockchain-adapter-api-library 8.5.0. (#709)
  • Upgrade to iexec-result-proxy-library 8.5.0. (#709)
  • Upgrade to iexec-sms-library 8.6.0. (#709)

v8.4.1

03 Apr 08:55
2935a0c
Compare
Choose a tag to compare

New Features

  • Add ConsensusReachedTaskDetector to detect missed TaskConsensus on-chain events. (#683 #684)
  • Generate enclave challenge with Authorization header after on-chain task has been initialized. (#686)

Bug Fixes

  • Keep a single updateReplicateStatus method in ReplicatesService. (#670)
  • Check result has been uploaded for TEE tasks. (#672)
  • Check for consensus early if a worker has already CONTRIBUTED when the task is updated to RUNNING. (#673)
  • Always provide a WorkerpoolAuthorization to a worker during its recovery. (#674)
  • Move task metrics from TaskUpdateManager to TaskService. (#676)
  • Fail fast when tasks are detected past their contribution or final deadline. (#677)
  • Mitigate potential race conditions by enforcing currentStatus value when updating a task. (#681)
  • Use semaphores in TaskUpdateRequestManager to avoid blocking task update threads. (#685)

Quality

  • Prepare migration to java.time package by building Date objects from Instant objects. (#671)
  • Add logs for better traceability. (#675)
  • Remove code only used in tests from TaskService and Task. (#678 #679)
  • Implement each task status transition in a single method. (#680)
  • Execute TaskUpdateManager tests on a running MongoDB container. (#682)

Dependency Upgrades

  • Upgrade to iexec-sms-library 8.5.1. (#687)

v8.4.0

29 Feb 15:09
7c93c40
Compare
Choose a tag to compare

New Features

  • Use MongoTemplate to enable document update without full rewrite. (#661)

Bug Fixes

  • Filter out CONTRIBUTE_AND_FINALIZE tasks when detecting missed REVEALED status update. (#658)
  • Fetch results on-chain when updating a replicate status in CONTRIBUTE_AND_FINALIZE workflow. (#659 #660)
  • Properly catch all runtime exceptions when an enclave challenge generation fails. (#663)

Quality

  • Use @DataMongoTest and @Testcontainers annotations in replicates, compute logs and tasks tests. (#662 #664 #665)

Dependency Upgrades

  • Upgrade to iexec-common 8.4.0. (#666)
  • Upgrade to iexec-blockchain-adapter 8.4.0. (#667)
  • Upgrade to iexec-result-proxy 8.4.0. (#667)
  • Upgrade to iexec-sms 8.5.0. (#667)

v8.3.0

11 Jan 17:06
6400aa8
Compare
Choose a tag to compare

New Features

  • Create iexec-core-library sub-project to split shared code/apis from specific scheduler application code. (#623)
  • Move first DTO classes to iexec-core-library subproject. (#626)
  • Move PlatformMetric to iexec-core-library subproject, modify it to become immutable. (#628 #629)
  • Add prometheus endpoint with custom metrics. (#632)
  • Expose version through prometheus endpoint. (#637, #639)
  • Stop fetching completed tasks count from DB. (#638)
  • Expose current task statuses count to Prometheus and /metrics endpoint. (#640, #654)
  • Add tasks endpoints to iexec-core-library. (#645)

Quality

  • Add and use a non-root user in the dockerfile. (#627)
  • Replace single thread executor with synchronized keyword. (#633)
  • Move contribution status checks from iexec-commons-poco. (#636)
  • Use BlockchainAdapterService from iexec-blockchain-adapter-api-library. (#641)
  • ResultRepositoryConfiguration and WorkerConfiguration classes are now immutable with @Value lombok annotation. (#650)

Bug Fixes

  • Fix web security depreciation warning. (#624)
  • Move TaskModel and ReplicateModel instances creation methods to Task and Replicate classes. (#625)
  • Expose TaskLogsModel on TaskController instead of TaskLogs. (#631)
  • Remove duplicated MongoDB read on ReplicatesList during replicate status update. (#647)
  • Use less MongoDB calls when updating a task to a final status. (#649)
  • Save contribution and result updload replicate data when CONTRIBUTE_AND_FINALIZE_DONE. (#651)
  • Fix potential NullPointerException during first worker replicate request. (#652)
  • Fix missed replicate status update detectors to avoid false positives by mixing CONTRIBUTE-REVEAL-FINALIZE and CONTRIBUTE_AND_FINALIZE workflows. (#653)

Dependency Upgrades

  • Upgrade to eclipse-temurin:11.0.21_9-jre-focal. (#635)
  • Upgrade to Spring Boot 2.7.17. (#634)
  • Upgrade to Spring Dependency Management Plugin 1.1.4. (#634)
  • Upgrade to Spring Doc Openapi 1.7.0. (#637)
  • Upgrade to jenkins-library 2.7.4. (#630)
  • Upgrade to iexec-commons-poco 3.2.0. (#648)
  • Upgrade to iexec-common 8.3.1. (#648)
  • Upgrade to iexec-blockchain-adapter-api-library 8.3.0. (#655)
  • Upgrade to iexec-result-proxy-library 8.3.0. (#655)
  • Upgrade to iexec-sms-library 8.4.0. (#655)

v8.2.3

14 Dec 10:33
1093c4a
Compare
Choose a tag to compare

Bug Fixes

  • Check if Worker can still accept more work right before giving it a new replicate. (#644)

v8.2.2

13 Dec 13:33
e9ab24a
Compare
Choose a tag to compare

Bug Fixes

  • Replace findAllByWalletAddress with findByWalletAddressIn in WorkerRepository. (#643)

v8.2.1

13 Dec 08:52
604b9ca
Compare
Choose a tag to compare

Bug Fixes

  • Do not write lastAliveDate or lastReplicateDemandDate to MongoDB to decrease load on the database. (#642)

v8.2.0

29 Sep 16:31
417ccab
Compare
Choose a tag to compare

New Features

  • Add blockchain connection health indicator. (#601)
  • Block some connections and messages when blockchain connection is down. (#604)
  • Block deal watching mechanisms when communication with the blockchain node is lost. (#606)
  • Use isEligibleToContributeAndFinalize method from TaskDescription. (#619)

Bug Fixes

  • Clean call to iexecHubService#getTaskDescriptionFromChain in test. (#597)
  • Reject deal if TEE tag but trust not in {0,1}. (#598)
  • Fix and harmonize Dockerfile entrypoint in all Spring Boot applications. (#614)
  • Use mongo:4.4 in tests with MongoDBContainer. Replace getContainerIpAddress with getHost. (#616)

Quality

  • Remove nexus.intra.iex.ec repository. (#605)
  • Remove Graylog support. Fetch logs with a sidecar to push them to your log infrastructure. (#607)
  • Events are now immutable with @Value lombok annotation. (#608)
  • Fix several code smells. (#609)
  • Upgrade to Gradle 8.2.1 with up-to-date plugins. (#612)
  • Remove VersionService#isSnapshot. (#618)

Dependency Upgrades

  • Remove logstash-gelf dependency. (#607)
  • Upgrade to eclipse-temurin 11.0.20. (#610)
  • Upgrade to Spring Boot 2.7.14. (#611)
  • Upgrade to Spring Dependency Management Plugin 1.1.3. (#611)
  • Upgrade to testcontainers 1.19.0. (#613)
  • Upgrade to jenkins-library 2.7.3. (#615)
  • Upgrade to iexec-commons-poco 3.1.0. (#617)
  • Upgrade to iexec-common 8.3.0. (#617)
  • Upgrade to iexec-blockchain-adapter-api-library 8.2.0. (#620)
  • Upgrade to iexec-result-proxy-library 8.2.0. (#620)
  • Upgrade to iexec-sms-library 8.3.0. (#620)

v8.1.2

29 Jun 14:56
d10faf0
Compare
Choose a tag to compare

Bug fixes

  • Prevent race conditions during database write operations in WorkerService. (#602)

Dependency Upgrades

  • Upgrade to iexec-commons-poco 3.0.5. (#602)

v8.1.1

23 Jun 14:39
2b9bfe4
Compare
Choose a tag to compare

Dependency Upgrades

  • Upgrade to iexec-common 8.2.1. (#599)
  • Upgrade to iexec-commons-poco 3.0.4. (#599)
  • Upgrade to iexec-blockchain-adapter-api-library 8.1.1. (#599)
  • Upgrade to iexec-result-proxy-library 8.1.1. (#599)
  • Upgrade to iexec-sms-library 8.1.1. (#599)