Skip to content

Conversation

@someshkoli
Copy link
Contributor

@someshkoli someshkoli commented Feb 2, 2026

  • feat: temporary dynamic role selection

  • feat: add role selector to component sandbox and actions workflow on runtimne

  • feat: add ability to pass in role via api and store them into respective run tables

  • add azure credentials to composite plan auth

  • make sure break glass workflow works


configRequest.EnvVars = obj.EnvVarMap

// Add operation roles if present
Copy link
Contributor

Choose a reason for hiding this comment

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

theres ton of these unnecessary comments, can we clean these out?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yepp, left them in for later will clean before merge, mostly claude, got lot of labour work done with it

FetchImageMetadataPlan *FetchImageMetadataPlan `json:"fetch_image_metadata_plan,omitempty"`
SandboxRunPlan *SandboxRunPlan `json:"sandbox_run_plan,omitempty"`

// Auth for cloud providera
Copy link
Contributor

Choose a reason for hiding this comment

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

typo

)

type OperationRoleRuleRequest struct {
Principal string `json:"principal" validate:"required"` // "nuon::component:name", "nuon::sandbox", "nuon::action:name"
Copy link
Contributor

Choose a reason for hiding this comment

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

what up with these comments? are they needed? we wouldn't want to keep these up to date to different versions.

also, we probably can solve for that making operation and principal typed so the type describes the options.


type EntityOperationRoleMap map[app.OperationType]string

func EntityOperationRoleMapFromHstore(hstore map[string]*string) EntityOperationRoleMap {
Copy link
Contributor

Choose a reason for hiding this comment

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

Recommend using our pkg/db/generics and just working with map[string]string here

@jonmorehouse jonmorehouse marked this pull request as draft February 3, 2026 19:59
@github-actions
Copy link

github-actions bot commented Feb 4, 2026

This PR was marked as stale, and will be closed after 3 more days. Add the #keep-open label to prevent this from being closed.

@github-actions github-actions bot added the stale label Feb 4, 2026
@someshkoli someshkoli force-pushed the sk/ft-dynamic-operation-roles branch from f3f25a0 to 711b7b7 Compare February 6, 2026 11:31
@github-actions github-actions bot removed the stale label Feb 6, 2026
@github-actions
Copy link

github-actions bot commented Feb 6, 2026

This PR was marked as stale, and will be closed after 3 more days. Add the #keep-open label to prevent this from being closed.

@github-actions github-actions bot added the stale label Feb 6, 2026
@someshkoli someshkoli force-pushed the sk/ft-dynamic-operation-roles branch from 711b7b7 to 213229b Compare February 8, 2026 16:22
@github-actions github-actions bot removed the stale label Feb 8, 2026
@github-actions
Copy link

github-actions bot commented Feb 8, 2026

This PR was marked as stale, and will be closed after 3 more days. Add the #keep-open label to prevent this from being closed.

@github-actions github-actions bot added the stale label Feb 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants