Skip to content

config: stop offering and writing engine settings nub does not consume - #811

Merged
colinhacks merged 1 commit into
mainfrom
aube-no-auto-install
Aug 31, 2026
Merged

config: stop offering and writing engine settings nub does not consume#811
colinhacks merged 1 commit into
mainfrom
aube-no-auto-install

Conversation

@colinhacks

Copy link
Copy Markdown
Contributor

aubeNoAutoInstall gates the engine's pre-run staleness check, reached only from the engine's run/exec/restart. None is an ENGINE_VERB — nub runs scripts through its own frontend and gates freshness in verify_deps — so it decided nothing here, yet nub config set aubeNoAutoInstall true wrote that key to the user's .npmrc and config list --all advertised it.

The embedder profile gains unsupported_settings. A listed setting is absent from meta::find/meta::all, so every generated accessor falls through to the default, and all three write routes refuse it, pointing at verifyDeps / verify-deps-before-run. Empty for standalone aube.

`aubeNoAutoInstall` gates the engine's own pre-run staleness check, in
`commands::auto_install::ensure_installed` — reached only from the engine's
`run` / `exec` / `restart`. None of those is an `ENGINE_VERB`: nub runs
scripts through its own frontend and gates freshness in `verify_deps`. The
setting therefore decided nothing under nub, yet `nub config set
aubeNoAutoInstall true` wrote that key into the user's `.npmrc` and `nub
config list --all` advertised it — nub putting the engine's brand in a user's
config for a value nub never reads.

The embedder profile gains `unsupported_settings`, pairing a canonical name
with the "use this instead" line the engine cannot know. A listed setting is
absent from `meta::find` / `meta::all`, which is what makes it unread: every
generated `resolved::*` accessor opens with that lookup, so the whole source
chain falls through to the default. Empty for standalone aube, so its lookups
and enumerations are unchanged.

The write path needed three guards, not one — `set_value`, the pnpm-incumbent
`set_project_scalar_to_workspace_yaml` seam, and nub's own `classify_set`
router plus its `--global` branch, which bypasses the router. `config set` is
free-form by npm parity, so an unrecognized key is written verbatim; removing
the setting from the table alone would have left every route still writing it.

Also fixes the remote test job leaking `NUB_ALLOW_INCOMPLETE_RUNTIME` into
`cargo test`, where it failed `brand_boundary_no_globals_no_env` and aborted
the run at `tests/integration.rs` — so no remote `--job test` had ever reached
the suites after it alphabetically.
Copilot AI lite review requested due to automatic review settings August 28, 2026 23:30
@pullfrog

pullfrog Bot commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

Your Claude subscription has hit its usage limit. It resets at 12:40am (UTC). Re-trigger Pullfrog after the reset, or add an ANTHROPIC_API_KEY repo secret — Pullfrog routes around an exhausted subscription automatically when one is present.

Add repo secret → · Model settings → · Setup docs → · Ask in Discord →

Pullfrog  | Rerun failed job ➔View workflow run | via Pullfrog | Using Claude Opus𝕏

@vercel

vercel Bot commented Aug 28, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
nub Ready Ready Preview Aug 28, 2026 11:31pm

Request Review

Copilot AI 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.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@colinhacks
colinhacks merged commit d1875c2 into main Aug 31, 2026
79 of 80 checks passed
@colinhacks
colinhacks deleted the aube-no-auto-install branch August 31, 2026 22:01
@colinhacks

Copy link
Copy Markdown
Contributor Author

Shipped in v0.8.2: https://github.com/nubjs/nub/releases/tag/v0.8.2

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