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

Record IF version in output data #419

Merged
merged 5 commits into from
Feb 1, 2024
Merged

Record IF version in output data #419

merged 5 commits into from
Feb 1, 2024

Conversation

jmcook1186
Copy link
Contributor

Types of changes

  • Enhancement (project structure, spelling, grammar, formatting)
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

A description of the changes proposed in the Pull Request

IF will now automaticaly log its own version in the output data. This helps with audit verifiability since the execution environment can be reproduced more precisely from the output yaml alone. Also for debugging when we are only presented with an output yaml.

src/index.ts Outdated
@@ -12,6 +12,8 @@ import {STRINGS} from './config';

import {Impl} from './types/impl';

const pkg_json = require('../package.json');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please use our formatting, like const package = require('../package.json');

src/index.ts Outdated
@@ -12,6 +12,8 @@ import {STRINGS} from './config';

import {Impl} from './types/impl';

const pkg_json = require('../package.json');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please use our formatting, like const package = require('../package.json');

@jmcook1186 jmcook1186 merged commit e6879a0 into dev Feb 1, 2024
2 checks passed
@jmcook1186 jmcook1186 deleted the log-if-version branch February 1, 2024 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants