Skip to content

Releases: green-coding-solutions/eco-ci-energy-estimation

v5.1 Transmitting of job_id, cpu_arch, os_name and job_id

06 Dec 12:56
dc61bc5

Choose a tag to compare

This release provides no new functionality, but rather increases observarbility if you are running Eco CI in large heterogenous infrastructure.

Additionally following information is captures and also transmitted via API to the GMT instance:

  • OS Name
  • CPU Architecture
  • Job ID
  • Version of the Eco CI Plugin on GitHub / GitLab / Jenkins

Thank you @Lisi4ka59 for the contribution of this functionality! ❤️
Thank you @opheliagame for the much needed Readme overhaul which inhbited users from easily getting started with Eco CI! ❤️

What's Changed

  • Bump actions/checkout from 4 to 5 in /.github/workflows by @dependabot[bot] in #137
  • Bump actions/setup-node from 4 to 5 in /.github/workflows by @dependabot[bot] in #138
  • Bump actions/setup-node from 5 to 6 in /.github/workflows by @dependabot[bot] in #139
  • Upgrade readme examples to version 5 by @opheliagame in #142
  • Bump actions/checkout from 5 to 6 in /.github/workflows by @dependabot[bot] in #143
  • Add job_id, os_name and cpu_arch fields for GMT API by @Lisi4ka59 in #144
  • Added numeric job-id instead of textual one for GitHUb. Updated also for Jenkins and GitLab by @ArneTR in #145

New Contributors

Full Changelog: v5...v5.1

v5.0 Grid Intensity choices - Constant or location-based

21 Jun 08:47
cc0f6a3

Choose a tag to compare

Electricity Maps gave us quite some trouble in the last months :(

Sadly they have not continued their offering for a free worldwide CO2 grid intensity through their API. The product was called "CO2 Signal" at the time of launch but discontinued.

The reality for Eco CI was: No more location based carbon intensity data and thus no more CO2 display at all :( :(

Thanks to the idea from @mrchrisadams we have now integrated a constant grid intensity option that is actually the default.
The default from Eco-CI is 472, which is the worldwide average value from Ember compiled by The Green Web Foundation from https://github.com/thegreenwebfoundation/co2.js/blob/main/data/output/average-intensities.json#L1314

Read up in the readme if you still want to continue location based data with APIs like ElectricityMaps if you have a global premium key.

What's Changed

  • Adding possiblity to use constant CO2 value by @ArneTR in #132

Full Changelog: v4.7...v5.0

v4.7 Visual fixes in debug output

04 May 10:15
173a7c8

Choose a tag to compare

  • Undersampling was coined as "Error". It is now correctly marked as warning
  • Markdown tables ditched in favor of better readable HTML tables

What's Changed

Full Changelog: v4.6...v4.7

v4.6

01 May 05:39
6359748

Choose a tag to compare

The May comes with some minor improvements that make every sustainability enthusiast ready for the summer! (Official end of stupid release message jokes :) )

  • THanks to the input from @raits we have reworked the collapsing in PR comments to have all runs from the same job_id visible.
  • Thanks to @SimSon2710 we now have a nice user contributed machine running on Intel Xeon that helps other users select more power profiles but also walk through the PR (#123) to re-cap how the process of adding new data to Eco CI is done.
  • Thanks to @SimSon2710 we now have some more bullet proofing and flexibility on where the metrics.txt is put on GitLab runs

Thanks folks! ❤️

What's Changed

New Contributors

Full Changelog: v4...v4.6

v4.5 Backfilling for undersampling, better overhead display macOS hotfix

15 Apr 06:46
a2305b3

Choose a tag to compare

Eco CI has arrived in the spring season with a lovely new release!

  • We had a bug in the macOS estimations. The hotfix was already on main for a couple of days. Now coming to the v4 release. All previous data of macOS should be considered unreliable! Please re-run your pipelines
  • Eco CI now backfills data. To introduce not too much overhead we sample at 1s. However when steps are very short (2-3s) undersampling hits really hard and you might "miss" 50% of your energy. This is not relevant for many users which run typically 20 minute runs, but we have some users that run ~5s runs for hundrets of times a day. With backfilling we estimate now the last missing part of a second and thus reduce missing data.
  • Overhead of Eco CI is now displayed nicer and more clearly in the table. See this:
Screenshot 2025-04-15 at 8 40 43 AM

Happy CI/CD runs everybody!

What's Changed

  • macOS Hotfix for CPU utilization by @ArneTR in #120
  • Introducing backfilling of undersampling; Adding notes option for errors by @ArneTR in #121

Full Changelog: v4...v4.5

v4.4.1 Hotfix for Linux

12 Feb 10:33
2601fdb

Choose a tag to compare

In some circumstances Linux energy values where absurdly high (kW). this hotfix patches the issue

What's Changed

  • Hotfix Linux: Different kill mechanism by @ArneTR in #115

Full Changelog: v4...v4.4.1

macOS support

31 Jan 12:04
7ff5628

Choose a tag to compare

macOS is now supported for the standard GitHub shared runners:

  • macos-13
  • macos-14

Find infos here on the assumptions made and parameters set for the energy estimations:

Thanks to @michaellilltokiwa for testing it out and opening the issue that led to the feature!

What's Changed

  • macOS beta-2 - embodied carbon and proper energy profile by @ArneTR in #112

Full Changelog: v4...v4.4

v4.3 - Jenkins support and macOS beta

23 Jan 02:22
2c74a68

Choose a tag to compare

Hooray, Jenkins support finally has a documentation!

It was available before, but now it has an official place in the documentation. For anyone trying: We love your feedback on it! And also happy to take PRs if you want to contribute to the documentation.

We also added first macOS support. It should work, but is still in beta. Let us know how it works with your runners!

What's Changed

Full Changelog: v4...v4.3.0

v4.2- Totals Badges in PR view

13 Jan 15:07
e79d33b

Choose a tag to compare

Eco-CI will now show Summarized information on PR Comments.

This means that if you push multiple commits to the PR it will not only show the last carbon and energy cost, but the cumulated one.

Thanks to @Zeitsperre for the idea!

Furthermore there are also 30-Day averages, Last-30-Day totals and more! See this PR discussion for details: #107

What's Changed

Full Changelog: v4...v4.1.0

v4 Release

24 Oct 11:13
86f1b2e

Choose a tag to compare

Important: First of all thanks to our many contributors for this new version ❤️

New features

  • Eco-CI is now greatly reduced in overhead. Most of the changes we describe in the pre-release notes.

    • The footrpint is greatly reduced from > 200 MB to < 1 MB
    • The overhead is reduced from ~ 20 seconds to almost zero due to pre-calculation of the power profiles
  • Eco-CI is now compatible with the new GMT endpoint format /v2/ci/measurement/add

    • This is mostly an internal change, but allows you to use CarbonDB 2.0

What's Changed

New Contributors

Full Changelog: v3.1...v4.0.0