Skip to content

Setup Job: reword locked-dependencies log line to use lockfile language - #4550

Merged
ericsciple merged 2 commits into
actions:mainfrom
nodeselector:nodeselector-reword-lockfile-log-line
Jul 10, 2026
Merged

Setup Job: reword locked-dependencies log line to use lockfile language#4550
ericsciple merged 2 commits into
actions:mainfrom
nodeselector:nodeselector-reword-lockfile-log-line

Conversation

@nodeselector

Copy link
Copy Markdown
Contributor

Copy-only follow-up to #4546.

That PR shipped a Set up job log line announcing when a job runs with locked action dependencies. Based on follow-up feedback we're adjusting the wording only:

  • A reviewer asked us to avoid an uppercase "Action" in user-facing copy.
  • The product owner prefers lockfile wording over "pinning"/"pinned" language.

Change

The line in src/Runner.Worker/JobExtension.cs now reads:

Using locked actions versions from the workflow's lockfile

(previously "Running with locked dependencies")

This updates:

  • the log string,
  • the two matching assertions in src/Test/L0/Worker/JobExtensionL0.cs (positive + negative), and
  • the preceding code comment (drops "pinned" in favor of lockfile language).

No behavior change — copy only.

Refs: github/actions-dispatch#567

Copy-only follow-up to actions#4546. Product feedback preferred lockfile
wording over pinning/pinned language, and a reviewer asked to avoid an
uppercase "Action". The Set up job line now reads "Using locked actions
versions from the workflow's lockfile". Updates the matching positive
and negative test assertions and the preceding comment. No behavior
change.
CopilotAI review requested due to automatic review settings July 9, 2026 18:04
@nodeselector
nodeselector requested a review from a team as a code ownerJuly 9, 2026 18:04

CopilotAI 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.

Pull request overview

This PR updates the Set up job user-facing log copy to use “lockfile” language when action dependency locking is in effect, and updates the corresponding L0 test assertions and nearby comment to match.

Changes:

  • Reword the JobExtension.InitializeJob output line for locked action dependency behavior to use lockfile terminology.
  • Update L0 assertions to match the new log line text.
  • Adjust the preceding comment to align with the lockfile wording.
Show a summary per file
FileDescription
src/Runner.Worker/JobExtension.csUpdates the emitted log line (and adjacent comment) to reference the workflow lockfile.
src/Test/L0/Worker/JobExtensionL0.csUpdates L0 assertions to validate the updated log message text.

Review details

  • Files reviewed: 2/2 changed files
  • Comments generated: 3
  • Review effort level: Low

Comment threadsrc/Runner.Worker/JobExtension.cs
Comment threadsrc/Test/L0/Worker/JobExtensionL0.cs Outdated
Comment threadsrc/Test/L0/Worker/JobExtensionL0.cs Outdated
The log string read "locked actions versions" while the adjacent
comment and reviewer feedback used the grammatically correct singular
"locked action versions". Align the string and both L0 assertions to
the singular form.

@thboopthboop left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

lgtm!

@ericsciple
ericsciple merged commit 8efad23 into actions:mainJul 10, 2026
11 checks passed
@Ch7197Ch7197 mentioned this pull request Jul 12, 2026
Sign up for freeto 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.

4 participants

@nodeselector@ericsciple@thboop