Skip to content

Add platform properties functionality to mettle workers#352

Open
scyyx5 wants to merge 1 commit into
thought-machine:masterfrom
scyyx5:enable-platform-properties
Open

Add platform properties functionality to mettle workers#352
scyyx5 wants to merge 1 commit into
thought-machine:masterfrom
scyyx5:enable-platform-properties

Conversation

@scyyx5

@scyyx5 scyyx5 commented Apr 24, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@Hamishpk Hamishpk left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Two small nits but otherwise looks good to me

Comment thread mettle/worker/worker.go
logr.WithFields(logrus.Fields{
"hash": w.actionDigest.Hash,
"platformProperties": formatPlatformProperties(w.platformProps),
}).Info("Action specifies platform properties; would use them to select sandbox filesystem")

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

nit: platform properties may be used for many things so I would shorten this just to list the platform properties and not mention the sandbox


assert.Equal(t, original, copied)

original["filesystem"] = "tmpfs"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Do we need this line here?

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.

2 participants