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

Fix Overwrite Issue with Temporary Directory in Lambda & Update Devcontainer #9

Merged
merged 3 commits into from
Sep 27, 2024

Conversation

dbarrous
Copy link
Contributor

@dbarrous dbarrous commented Sep 27, 2024

This PR addresses an overwrite issue in the Lambda function. The problem occurs when processing the same file in quick succession, as multiple runs can share the /tmp directory, leading to file overwrites. The fix adds a check to detect if the function is running in a Lambda environment and enables overwrite protection accordingly.

Additionally, this PR updates the development container to use the Padre base image and aligns the configuration with the settings used in the HERMES project.

@dbarrous dbarrous changed the title Fix Issue with Temporary Directory in Lambda & Update Devcontainer Fix Overwrite Issue with Temporary Directory in Lambda & Update Devcontainer Sep 27, 2024
Copy link

The processed files are available as an artifact: https://github.com/PADRESat/padre_meddea/actions/runs/11068578432/artifacts/1987146101

Copy link

The processed files are available as an artifact: https://github.com/PADRESat/padre_meddea/actions/runs/11070199395/artifacts/1987199022

@dbarrous dbarrous merged commit 29d4a3d into PADRESat:main Sep 27, 2024
11 checks passed
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