Skip to content

Generate infra service test id from timestamp#885

Merged
lorenyu merged 1 commit intomainfrom
lorenyu/infratests
Feb 28, 2025
Merged

Generate infra service test id from timestamp#885
lorenyu merged 1 commit intomainfrom
lorenyu/infratests

Conversation

@lorenyu
Copy link
Copy Markdown
Contributor

@lorenyu lorenyu commented Feb 28, 2025

Ticket

Work towards #787

Changes

see title

Context for reviewers

This is the first step towards #787

The ultimate goal is to have a way to look for stale environments generated by the infra service tests. The way we plan on doing that is to encode timestamp information in the id itself, but because we want the id to be short we are base62 encoding the id.

Testing

see navapbc/platform-test#182

@lorenyu lorenyu merged commit e5e5940 into main Feb 28, 2025
9 checks passed
@lorenyu lorenyu deleted the lorenyu/infratests branch February 28, 2025 22:54
lorenyu added a commit that referenced this pull request Mar 14, 2025
Builds on the work in #885
to determine if a test environment is stale

- Add bin/stale-test-environments script
- Modify scan-orphaned-pr-environments workflow to scan for stale test
environments too and rename the workflow
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.

1 participant