Merged
Conversation
Rename the task configuration fields for consistency: - `envs` → `env`: environment variable names for fingerprinting - `inputs` → `input`: file patterns for cache fingerprinting Updated across source code, JSON fixtures, test snapshots, fixture directory names, test names, documentation, and comments. https://claude.ai/code/session_01565Vu5goEjTJjXVVpvaQnb
inputs/envs to input/env for consistencyinputs/envs to input/env
cpojer
approved these changes
Mar 12, 2026
fengmk2
approved these changes
Mar 12, 2026
| "cache": true, | ||
| "envs": ["NODE_ENV"], | ||
| "env": ["NODE_ENV"], | ||
| "passThroughEnvs": ["CI"], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR standardizes the naming convention for task configuration fields by renaming plural forms to singular forms across the codebase.
Summary
Renamed configuration field names from plural to singular to improve consistency and clarity:
inputs→input(for file input patterns in cache configuration)envs→env(for environment variables in cache configuration)Key Changes
Configuration Schema Updates:
EnabledCacheConfigstruct fields:envs: Option<Box<[Str]>>→env: Option<Box<[Str]>>EnabledCacheConfigstruct fields:inputs: Option<UserInputsConfig>→input: Option<UserInputsConfig>run-config.tsto reflect the new field namesUserInputEntryto referenceinputarray instead ofinputsCode Updates:
inputandenvinstead ofinputsandenvsUserTaskOptions::default()lib.rsandmain.rsDocumentation Updates:
task-cache.mddocumentation to referenceinputandenvfieldswildcard-env-patterns.mdto useenvterminologyCLAUDE.mdreference documentationTest Fixtures:
vite-task.jsonfixture files to useinputinstead ofinputsvite-task.jsonfixture files to useenvinstead ofenvsImplementation Details
test_inputs_*→test_input_*)https://claude.ai/code/session_01565Vu5goEjTJjXVVpvaQnb