Skip to content
This repository was archived by the owner on Aug 21, 2025. It is now read-only.
This repository was archived by the owner on Aug 21, 2025. It is now read-only.

Random postfixing container IDs #84

@zjrgov

Description

@zjrgov

Story

As a devtools engineer,
I would like to have random postfixes on container ids,
So that I can worry less about their names being easy to guess.

Related to this PR #83 discussion.

Current ID string is combined as follows:

cfg.ContainerID = fmt.Sprintf(
	"glrw-r%v-p%v-c%v-j%v",
	cfg.RunnerID,
	cfg.ProjectID,
	cfg.ConcurrentProjectID,
	cfg.JobID,
)

Container ID should be at most 63 characters.

Solution

### Tasks
- [ ] Drop the runner ID segment because workers in a space will always have the same one.
- [ ] Add a random postfix to the ID.

Acceptance Criteria

  • Generated container IDs are not too long.
  • IDs are postfixed with some random string.

Metadata

Metadata

Assignees

No one assigned

    Labels

    storyNew functionality framed as a user story

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions