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

feat!: VFS Logs under sessionfolder/.vfs_logs #259

Merged
merged 5 commits into from
Mar 28, 2024
Merged

feat!: VFS Logs under sessionfolder/.vfs_logs #259

merged 5 commits into from
Mar 28, 2024

Conversation

baxeaz
Copy link
Contributor

@baxeaz baxeaz commented Mar 28, 2024

What was the problem/requirement? (What/Why)

The VFS logs were written to a folder which persisted after the session was complete. They need to be written to the session folder and be cleaned after each session.

What was the solution? (How)

Move the cwd of the vfs to the session folder.

What is the impact of this change?

Logs should be output to sessiondir/.vfs_logs and be cleaned with the rest of the session data.

How was this change tested?

New tests added, all tests pass. Installed on a new CMF worker instance, ran jobs, observed logs written to session directory rather than old logs folder.

Was this change documented?

No

Is this a breaking change?

No

@baxeaz baxeaz requested a review from a team as a code owner March 28, 2024 16:26
Signed-off-by: Brian Axelson <baxelson@amazon.com>
@baxeaz baxeaz changed the title feat: VFS Logs under sessionfolder/.vfs_logs feat!: VFS Logs under sessionfolder/.vfs_logs Mar 28, 2024
…e can have at least some windows code coverage, even though the VFS itself doesn't yet work on windows.

Signed-off-by: Brian Axelson <baxelson@amazon.com>
@ddneilson ddneilson added the security Pull requests that could impact security label Mar 28, 2024
@ddneilson ddneilson merged commit 28e16bb into mainline Mar 28, 2024
18 checks passed
@ddneilson ddneilson deleted the vfslogs branch March 28, 2024 21:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
security Pull requests that could impact security
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants