Skip to content

Conversation

@joshka-oai
Copy link
Collaborator

  • add GitHub workflow running cargo-deny on push/PR
  • document cargo-deny allowlist with workspace-dep notes and advisory ignores
  • align workspace crates to inherit version/edition/license for consistent checks

Copy link
Contributor

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Copy link
Collaborator Author

@joshka-oai joshka-oai left a comment

Choose a reason for hiding this comment

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

Self review notes

@@ -1,7 +1,8 @@
[package]
name = "codex-backend-client"
version = "0.0.0"
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I'm assuming that this is fine to bump - we're not publishing this, so it doesn't really matter what it's set to here

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

2024 edition formatting changes

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

2024 edition formatting changes

@@ -1,7 +1,8 @@
[package]
name = "codex-windows-sandbox"
version = "0.1.0"
Copy link
Collaborator Author

@joshka-oai joshka-oai Nov 21, 2025

Choose a reason for hiding this comment

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

I assume this version is not really relevant - please confirm @iceweasel-oai

Comment on lines +72 to +75
ignore = [
{ id = "RUSTSEC-2024-0388", reason = "derivative is unmaintained; pulled in via starlark v0.13.0 used by execpolicy/cli/core; no fixed release yet" },
{ id = "RUSTSEC-2025-0057", reason = "fxhash is unmaintained; pulled in via starlark_map/starlark v0.13.0 used by execpolicy/cli/core; no fixed release yet" },
{ id = "RUSTSEC-2024-0436", reason = "paste is unmaintained; pulled in via ratatui/rmcp/starlark used by tui/execpolicy; no fixed release yet" },
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Added

# List of explicitly allowed licenses
# See https://spdx.org/licenses/ for list of possible licenses
# [possible values: any SPDX 3.11 short identifier (+ optional exception)].
allow = [
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Added based on the current list of licenses. I also made codex fill in the comments here, mostly to help validate why we'e got each of these in our allow list - these will likely get out of date easily, this is not a big deal IMO)

# https://embarkstudios.github.io/cargo-deny/checks/bans/cfg.html
[bans]
# Lint level for when multiple versions of the same crate are detected
multiple-versions = "warn"
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This triggers a bunch. We may consider allow here if that's annoying. Fixing the problems here is out of scope for this change.

Comment on lines +266 to +268
github = [
"nornagon", # ratatui and crossterm forks
]
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Added

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Mostly default - called out the actual changes (I also intentionally committed the default so that the changes are visible).

@joshka-oai joshka-oai force-pushed the joshka/cargo-deny branch 5 times, most recently from c6f934c to 8b0559e Compare November 21, 2025 22:21
- add GitHub workflow running cargo-deny on push/PR
- document cargo-deny allowlist with workspace-dep notes and advisory ignores
- align workspace crates to inherit version/edition/license for consistent checks
Copy link
Collaborator Author

@joshka-oai joshka-oai left a comment

Choose a reason for hiding this comment

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

undid a couple of edition (pty and windows-sandbox) as CI shows that changing the edition changes the behavior on these items.

@@ -1,16 +1,13 @@
[package]
edition = "2021"
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Intentionally kept as 2021. This affects how the code in this runs

[package]
name = "codex-windows-sandbox"
version = "0.1.0"
edition = "2021"
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Intentionally kept as 2021. This affects how the code in this runs

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