Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update EcoCI plugin for the newest Green Coding API Response #1072

Closed
2 tasks done
zanete opened this issue Nov 8, 2024 · 3 comments · Fixed by Green-Software-Foundation/if-eco-ci-plugin#7
Closed
2 tasks done
Assignees
Milestone

Comments

@zanete
Copy link

zanete commented Nov 8, 2024

Why: changed response format
What: Updated EcoCI plugin

Scope of work:

  • Find out what units are now used for the memory in the newest version of the response , contact email info@green-coding.io
  • Update Eco CI plugin to work with the new response
@zanete zanete added this to IF Nov 8, 2024
@zanete zanete converted this from a draft issue Nov 8, 2024
@zanete zanete added this to the IF 1.0 milestone Nov 8, 2024
@zanete zanete moved this from In Progress to Ready in IF Nov 8, 2024
@zanete zanete moved this from Ready to In Progress in IF Nov 14, 2024
@zanete
Copy link
Author

zanete commented Nov 14, 2024

Status update:

  • as there are no users other than IF for this API, there's not going to be any documentation available
  • some questions were answered over email, but not all
  • also got a heads up that there will be more changes, so holding back on fixing this now until we absolutely have to get it working

@zanete zanete moved this from In Progress to Blocked in IF Nov 14, 2024
@manushak
Copy link
Contributor

@zanete, I received clarification from Green Coding regarding the API response data. I'm sharing it here

[
  7555000, # energy in micro-Joules
  '10076959587', workflow run id
  '2024-07-24T12:50:29.829836+00:00', created_at date
  'checkout', # workflow step label
  'EPYC_7763', # CPU model
  '78474c5c73b9243e0670e0febf68bcaa8fae7e7b', # commit hash
  3000000, # duration of run in micro-seconds
  'github', # source of the data (github/gitlab/custom)
  15, # workflow name OR workflow run (depending on which source is used)
  'Node.js CI', # workflow name
  '', # latitude of the machine used to run the workflow
  '', # longitude of the machine used to run the workflow
  '', # city of the machine used to run the workflow
  436, # carbon intensity in g
  4149.921 # carbon in micro-grams (includes embodied carbon and operational carbon. This value is effectively the SCI)
]

@zanete zanete moved this from Blocked to Ready in IF Nov 18, 2024
@zanete zanete moved this from Ready to In Progress in IF Nov 19, 2024
@zanete
Copy link
Author

zanete commented Nov 19, 2024

@jmcook1186 please help resolve an issue (discussion in slack)

@manushak manushak moved this from In Progress to Pending Review in IF Nov 19, 2024
@manushak manushak linked a pull request Nov 19, 2024 that will close this issue
9 tasks
@github-project-automation github-project-automation bot moved this from Pending Review to Done in IF Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

4 participants