Skip to content

Proposal: consolidate parameter memory #14757

Closed as not planned
Closed as not planned
@ammario

Description

@ammario

When discussing user-level parameters with @stirby I came to an idea about how we can simplify the parameter system. Right now we have an ephemeral bool flag on coder_parameter and our plan of action for introducing autofill was to create an autofill bool flag. I realize these features have conceptual overlap and would be better represented a single flag on parameters:

memory = "build" | "workspace" | "template" | "org" | "user"

This option would default to workspace. memory = user solves for user-level parameters. memory = build is equivalent to today's ephemeral = true.

We would need to hide, deprecate, and remove the ephemeral opt—which is a happy thing for me.

Related:

cc @code-asher

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions