Skip to content

Commit 94dc6c1

Browse files
authored
chore(benchmark): job creation outputs message, suppress secret if exists (#155)
## Description - job creation outputs message, suppress secret if exists ## Type of Change <!-- Mark the relevant option with an 'x' --> - [ x Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] Documentation update - [ ] Code refactoring - [ ] Performance improvement - [ ] Test updates ## Related Issues <!-- Link to related issues using #issue-number --> Closes # ## Changes Made <!-- Describe the changes in detail --> ## Testing <!-- Describe how you tested your changes --> - [ ] I have tested locally - [ ] I have added/updated tests - [ ] All existing tests pass ## Checklist - [ ] My code follows the code style of this project - [ ] I have performed a self-review of my own code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have updated the documentation accordingly - [ ] My changes generate no new warnings - [ ] I have added tests that prove my fix is effective or that my feature works - [ ] New and existing unit tests pass locally with my changes - [ ] Any dependent changes have been merged and published ## Screenshots (if applicable) <!-- Add screenshots to help explain your changes --> ## Additional Notes <!-- Any additional information that reviewers should know -->
1 parent 2abe85c commit 94dc6c1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • src/commands/benchmark-job

src/commands/benchmark-job/run.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,6 @@ async function ensureAgentSecrets(
175175
const exists = await secretExists(secretName);
176176

177177
if (exists) {
178-
console.log(chalk.dim(`Secret ${secretName} exists`));
179178
secrets[varName] = secretName;
180179
} else if (envValue) {
181180
// Create secret from env var
@@ -344,7 +343,8 @@ export async function runBenchmarkJob(options: RunOptions) {
344343

345344
// Output result
346345
if (!options.output || options.output === "text") {
347-
console.log(job.id);
346+
console.log(`Benchmark job created: ${job.id}`);
347+
console.log(`Follow the run with rli benchmark-job watch ${job.id}`);
348348
} else {
349349
output(job, { format: options.output, defaultFormat: "json" });
350350
}

0 commit comments

Comments
 (0)