Skip to content

feat(profile)!: remove all legacy aliases and deprecation shims for v1.0.0 prep - #1826

Merged
SequeI merged 4 commits into
mainfrom
removeLegacy
Sep 10, 2026
Merged

SequeI merged 4 commits into
mainfrom
removeLegacy

Conversation

@SequeI

@SequeI SequeI commented Sep 8, 2026 •

Copy link
Copy Markdown
Member

Linked Issue

Closes #

Summary

Drop 10 profile-key aliases, 9 CLI flag aliases, and 1 library alias. Delete deprecated_schema.rs and deprecated_policy.rs in full (the old flat profile schema and the nono policy subcommand), along with their test fixtures and scripts/test-list-aliases.sh. Update all documentation to stop describing removed aliases as still accepted.

Breaking: legacy keys, flags, and subcommands now fail to parse instead of warning. Grace period of 21+ versions was given with printed warnings, more than enough time for change. Multiple months.

NEP: #1758

Test Plan

Checklist

  • An issue exists and is linked above
  • All commits are signed-off, using DCO
  • All new code follows the project's coding standards (CLAUDE.md) and is covered by tests
  • Public-facing changes are paired with documentation updates
  • If this PR introduces a major feature, capability, or security-relevant change, a corresponding NEP has been opened or accepted and is linked

@github-actions

github-actions Bot commented Sep 8, 2026 •

Copy link
Copy Markdown
Contributor

PR Review Summary

Size

Metric Value
Lines added +131
Lines removed -3117
Total changed 3248
Classification Large (> 300 lines)

Affected crates

  • crates/nono (core library) — careful review required. This is the security-critical sandbox primitive. A bug here bypasses OS-level isolation for every downstream user.
  • crates/nono-cli — CLI changes. Verify argument parsing, flag documentation, and UX behaviour across supported platforms.

Blast radius — Broad

This PR touches: source code,documentation,CI / build tooling,configuration / policy files


Updated automatically on each push to this PR.

@nogent-nolabs-ai nogent-nolabs-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

nogent code review

No blocking issues; 0 findings.

Automated code + security review. CI already covers clippy, rustfmt, tests, cargo-audit and commit-lint.

Comment thread crates/nono-cli/src/main.rs Outdated
…1.0.0 prep

Drop 10 profile-key aliases, 9 CLI flag aliases, and 1 library alias.
Delete deprecated_schema.rs and deprecated_policy.rs in full (the old
flat profile schema and the nono policy subcommand), along with their
test fixtures and scripts/test-list-aliases.sh. Update all
documentation to stop describing removed aliases as still accepted.

Breaking: legacy keys, flags, and subcommands now fail to parse
instead of warning.

Signed-off-by: Aleksy Siek <aleksy@nolabs.ai>
Signed-off-by: Aleksy Siek <aleksy@nolabs.ai>

@kurtisc kurtisc 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.

This breaks /tests/integration/test_tls_intercept.sh for me

@SequeI

SequeI commented Sep 9, 2026

Copy link
Copy Markdown
Member Author

This breaks /tests/integration/test_tls_intercept.sh for me

This is present on main regardless, my branch did not introduce this. I'll fix it though real quick

Signed-off-by: Aleksy Siek <aleksy@nolabs.ai>
@SequeI

SequeI commented Sep 9, 2026

Copy link
Copy Markdown
Member Author

@kurtisc Fixed, + made an issue to wire them into our release PR workflow so we can catch out issues earlier

@kurtisc kurtisc 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.

It's nice to see a diff with this much red. Feel free to resolve the comments yourself.

Comment thread crates/nono-cli/src/deprecation_warnings.rs Outdated
Comment thread crates/nono-cli/src/deprecation_warnings.rs Outdated
Comment thread tests/integration/test_audit.sh
Signed-off-by: Aleksy Siek <aleksy@nolabs.ai>
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.

2 participants