Skip to content

fix: deleting snowflake cleanup script#1833

Open
ktyagiapphelix2u wants to merge 3 commits intomasterfrom
ktyagi/snowflakeremove
Open

fix: deleting snowflake cleanup script#1833
ktyagiapphelix2u wants to merge 3 commits intomasterfrom
ktyagi/snowflakeremove

Conversation

@ktyagiapphelix2u
Copy link
Contributor

@ktyagiapphelix2u ktyagiapphelix2u commented Mar 10, 2026

Summary
Removing this job because it's no longer needed and has been failing since June 2024.

Why Remove It?
The job's purpose was to delete soft-deleted user retirement records from Snowflake that contained unredacted PII.

Now: We redact PII (redacted-XXX format) before it reaches Snowflake, so there's no unredacted PII to clean up. The cleanup job is obsolete.

What Changed
Deleted job definition and shell script
Removed from job creation pipeline
Deleted configuration file

Impact
Removes a failing job
No functional impact - PII is already redacted at the source
Soft-deleted records remain in Snowflake but contain only redacted values

Ticket Link - https://2u-internal.atlassian.net/browse/BOMS-293

Related PR
https://github.com/edx/analytics-config/pull/48

Copilot AI review requested due to automatic review settings March 10, 2026 12:16
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Removes the deprecated snowflake-user-retirement-status-cleanup Jenkins job and its associated shell resource, and updates related documentation so the codebase no longer references or describes the retired cleanup process.

Changes:

  • Deleted the Snowflake user retirement status cleanup job DSL definition.
  • Removed the cleanup shell script resource and the seed-job registration/import for the job.
  • Updated the UserRetirementArchiver job header comment to remove the now-obsolete Snowflake cleanup reference.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
devops/jobs/UserRetirementArchiver.groovy Updates job documentation to remove references to the deleted Snowflake cleanup job.
dataeng/resources/snowflake-user-retirement-status-cleanup.sh Removes the no-longer-needed cleanup script resource.
dataeng/jobs/createJobsNew.groovy Removes import and taskMap entry so the seed job no longer creates the cleanup job.
dataeng/jobs/analytics/SnowflakeUserRetirementStatusCleanup.groovy Removes the Jenkins Job DSL definition for the cleanup job.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copilot AI review requested due to automatic review settings March 12, 2026 07:28
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

Copy link
Contributor

@robrap robrap left a comment

Choose a reason for hiding this comment

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

Thanks @ktyagiapphelix2u. I'll take care of merging when I am ready, but this is all set.

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.

3 participants