Skip to content

TT-18216: add a workflow to restore archived artifacts for support - #547

Merged
olamilekan000 merged 1 commit into
masterfrom
retention-restore-workflow
Sep 3, 2026
Merged

TT-18216: add a workflow to restore archived artifacts for support#547
olamilekan000 merged 1 commit into
masterfrom
retention-restore-workflow

Conversation

@olamilekan000

@olamilekan000 olamilekan000 commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Description

Retention restore turns a support request for a retired version into a
workflow dispatch: given an archive key it initiates the Deep Archive
restore, and on a later run downloads the object, verifies it against
the committed plan's checksum and attaches it as a workflow artifact.
Keys not present in a committed plan are refused. Every outcome is
posted to the retention Slack channel

Jira Ticket: TT-18216

Type of Change

  • 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 not work as expected)
  • Chore / documentation / template sync

Verification & Testing

  • I have run local unit tests (go test ./policy/...) and they passed.
  • I have generated policy outputs locally (go run . policy gen) and verified the rendered files.
  • I have verified the changes in target downstream repositories (e.g. tyk, tyk-analytics).

Command(s) used for testing:

# Example: go run . policy gen /tmp/output --repo tyk --branch master

Checklist

  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings

@olamilekan000
olamilekan000 requested a review from a team as a code owner September 3, 2026 01:23

@rafalgolarz rafalgolarz left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

hi @olamilekan000
Did you test it?

@olamilekan000

Copy link
Copy Markdown
Contributor Author

hi @olamilekan000
Did you test it?

Workflow dispatch can't be tested until it's merged to default branch

@rafalgolarz

Copy link
Copy Markdown
Contributor

hi @olamilekan000
Did you test it?

Workflow dispatch can't be tested until it's merged to default branch

@rafalgolarz rafalgolarz closed this Sep 3, 2026
@rafalgolarz rafalgolarz reopened this Sep 3, 2026
@rafalgolarz

Copy link
Copy Markdown
Contributor

sorry, accidently closed it 😁 reopened.

@olamilekan000
olamilekan000 merged commit 2e193fc into master Sep 3, 2026
24 checks passed
@olamilekan000
olamilekan000 deleted the retention-restore-workflow branch September 3, 2026 09:30
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