Skip to content

Conversation

LogicDaemon
Copy link

@LogicDaemon LogicDaemon commented Aug 29, 2025

Closes #16070

  • Use conventional PR title: <manifest-name[@version]|chore>: <general summary of the pull request>
  • I have read the Contributing Guide

Added my fork as a bucket, then scoop install bucket/chef-workstation — installed successfully.

>scoop install extrasfork/chef-workstation
WARN  Purging previous failed installation of chef-workstation.
ERROR 'chef-workstation' isn't installed correctly.
Removing older version (25.5.1084).
'chef-workstation' was uninstalled.
Installing 'chef-workstation' (25.5.1084) [64bit] from 'extrasfork' bucket
Loading chef-workstation-25.5.1084-1-x64.msi from cache
Checking hash of chef-workstation-25.5.1084-1-x64.msi ... ok.
Extracting chef-workstation-25.5.1084-1-x64.msi ... done.
Running pre_install script...done.
Linking ~\AppData\Local\Programs\scoop\apps\chef-workstation\current => ~\AppData\Local\Programs\scoop\apps\chef-workstation\25.5.1084
Creating shortcut for Chef Workstation (Chef Workstation App.exe)
Adding ~\AppData\Local\Programs\scoop\apps\chef-workstation\current\bin to your path.
'chef-workstation' (25.5.1084) was installed successfully!

Summary by CodeRabbit

  • New Features
    • Added automatic dependency on 7zip for smoother installation.
  • Chores
    • Updated Chef Workstation to version 25.5.1084.
    • Refreshed download source and checksum for the new release.
  • Documentation
    • Added step-by-step PowerShell notes to register Chef Workstation on Windows, including optional permissions setup.
  • Bug Fixes
    • Corrected description wording (supersedes).

Copy link

coderabbitai bot commented Aug 29, 2025

Walkthrough

Updates the Scoop manifest for Chef Workstation to version 25.5.1084, adjusts description text, updates MSI URL and hash, adds 7zip dependency, adds PowerShell setup notes for registry/permissions, and revises checkver to parse release notes while removing autoupdate hash verification.

Changes

Cohort / File(s) Summary
Chef Workstation manifest
bucket/chef-workstation.json
Bump version to 25.5.1084; update 64-bit MSI URL and SHA256; tweak description wording; add depends: ["7zip"]; add notes with PowerShell registry/ACL steps; change checkver URL and regex to release notes; remove autoupdate hash block; retain URL pattern and existing paths/shortcuts.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Assessment against linked issues

Objective Addressed Explanation
Update package to latest version (version, URL, hash) [#16070]
Add user instructions to set up required registry entries and permissions [#16070]

Assessment against linked issues: Out-of-scope changes

Code Change Explanation
Added dependency on 7zip via depends field (bucket/chef-workstation.json) Not requested in #16070; unrelated to updating version or adding registry instructions.
Revised checkver source URL and regex to release notes (bucket/chef-workstation.json) Not specified in #16070; outside the scope of fixing version/update and instructions.
Removed autoupdate hash block (bucket/chef-workstation.json) Not part of #16070 objectives; changes update mechanism beyond stated needs.

Poem

Hoppity hop, I nudge the bits anew,
A fresher chef now brews a sharper stew.
Notes in tow, the registry’s set,
Keys unlock—no errors met!
With 7zip packed and whiskers proud,
I thump, “It’s cooked!”—carrot-crowned. 🥕🐇

✨ Finishing Touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment

🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

CodeRabbit Commands (Invoked using PR/Issue comments)

Type @coderabbitai help to get the list of available commands.

Other keywords and placeholders

  • Add @coderabbitai ignore or @coderabbit ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Status, Documentation and Community

  • Visit our Status Page to check the current availability of CodeRabbit.
  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Contributor

Your changes do not pass checks.

chef-workstation

  • Description
  • License
  • Hashes
  • Checkver
  • Autoupdate
  • Autoupdate Hash Extraction

@LogicDaemon LogicDaemon marked this pull request as ready for review September 2, 2025 18:32
Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Nitpick comments (3)
bucket/chef-workstation.json (3)

2-3: Version bump looks good; minor copyedit in description.

Consider “developer toolkit” (one word) and add the serial/Oxford comma: “Chef Infra, InSpec, and Habitat…”.

- "description": "Chef Workstation is Chef's modern developer tool kit that includes Chef Infra, InSpec and Habitat plus a host of resources, helpers and testing tools that make automating infrastructure, application and security testing easier than ever. Chef Workstation supersedes ChefDK.",
+ "description": "Chef Workstation is Chef's modern developer toolkit that includes Chef Infra, InSpec, and Habitat, plus resources, helpers, and testing tools that make automating infrastructure, application, and security testing easier than ever. Chef Workstation supersedes ChefDK.",

28-29: checkver source may be brittle; consider a more stable signal.

Docs HTML structure can change. Prefer a JSON/API or upstream releases to reduce regex fragility.

- "checkver": {
-   "url": "https://docs.chef.io/release_notes_workstation/",
-   "regex": "id=[\\\"']?chef-workstation-release-notes[\\\"']?[\\s\\S]*?<h2\\s+id=[\\\"']?([0-9.]+)[\\\"']?"
- },
+ "checkver": {
+   "github": "chef/chef-workstation",
+   "regex": "v?([0-9.]+)"
+ },

If you prefer to stay off GitHub, switch to a packages.chef.io manifest endpoint if available and parse JSON.


34-37: Add autoupdate hash retrieval to keep integrity checks on updates.

This lets maintainers avoid manual hash updates while preserving verification.

       "64bit": {
-        "url": "https://packages.chef.io/files/stable/chef-workstation/$version/windows/2022/chef-workstation-$version-1-x64.msi"
+        "url": "https://packages.chef.io/files/stable/chef-workstation/$version/windows/2022/chef-workstation-$version-1-x64.msi",
+        "hash": {
+          "url": "https://packages.chef.io/files/stable/chef-workstation/$version/windows/2022/chef-workstation-$version-1-x64.msi.sha256"
+        }
       }

(Adjust the .sha256 path if Chef uses a different checksum filename.)

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

💡 Knowledge Base configuration:

  • MCP integration is disabled by default for public repositories
  • Jira integration is disabled by default for public repositories
  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between a135b27 and 292067a.

📒 Files selected for processing (1)
  • bucket/chef-workstation.json (2 hunks)
🔇 Additional comments (3)
bucket/chef-workstation.json (3)

15-20: Adding 7zip dependency is appropriate for Expand-7zipArchive.

This aligns with the pre_install step; no action needed.


38-49: Narrow registry ACL in installer notes

  • Replace FullControl on HKLM:\SOFTWARE\Progress with only the rights you need (SetValue ± CreateSubKey)
  • Scope the rule to the specific subkey Chef writes (e.g., …\Progress\Authentication)
  • For group grants, prefer “Users” over “Authenticated Users” with the same minimal rights
  • Confirm on v25.5.1084 whether this registry tweak is still required; if not, prefix the note with “If you see Win32::Registry::Error: Access is denied…”

11-12: Checksum and URL verified
The SHA256 of the downloaded MSI matches the expected value. Merging is safe.

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.

[Bug]: Chef Workstation is outdated, missing install instructions (the app fails to start without them)
1 participant