transparency-dev / transparency-dev/tesseract
Migrate preloader
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 37
- Forks
- 18
- Avg merge
- 19h 22m
- Merged PRs (30d)
- 15
Description
Right now, Preloaders runs on CloudBuild. This was a quick way to restart the preloader every hour in order to make it run with a fresh bearer token. When the preloader starts, it needs to know at which index to start reading entries from the source log. It uses the destination log size as a proxy.
Once the log is public:
- we don't need to get a bearer token to submit to the log anymore
- the log will receive submission from clients other than the preloader, therefore, the destination log size won't be a good proxy for the index to start reading entries at on the source log
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the Preloader implementation and its CloudBuild configuration, then trace how it chooses the source-log starting index and obtains the bearer token. The migration is complete when the preloader no longer depends on hourly CloudBuild restarts or bearer tokens, and does not use destination-log size as its source position after other clients can submit entries.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, google-cloud
- Domain
- backend, infrastructure
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 32/100