Skip to content

Conversation

@haifeng-li-at-salesforce
Copy link
Contributor

What does this PR do?

The sfmobile-native-project-generation tool requires clientId and callbackURL which are treated as sensitive information by GPT5 in AFV. The AFV then refuses to proceed to the orchestrator. The project generation is moved into node from tool.

What issues does this PR fix or reference?

@W-20329818@

@haifeng-li-at-salesforce haifeng-li-at-salesforce requested a review from a team as a code owner November 25, 2025 23:11
@codecov-commenter
Copy link

codecov-commenter commented Dec 1, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.14%. Comparing base (6831612) to head (6eedd63).

❗ There is a different number of reports uploaded between BASE (6831612) and HEAD (6eedd63). Click for more details.

HEAD has 6 uploads less than BASE
Flag BASE (6831612) HEAD (6eedd63)
evaluation 4 1
monorepo 3 0
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #109      +/-   ##
==========================================
- Coverage   88.64%   80.14%   -8.51%     
==========================================
  Files         166       19     -147     
  Lines        6886     1284    -5602     
  Branches      957      179     -778     
==========================================
- Hits         6104     1029    -5075     
+ Misses        782      255     -527     
Flag Coverage Δ
evaluation 80.14% <ø> (ø)
monorepo ?

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

});

// Execute the command directly without exposing credentials to LLM
const output = execSync(command, { encoding: 'utf-8', timeout: 120000 });
Copy link
Contributor

Choose a reason for hiding this comment

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

this doesn't have to happen for this PR but we now have several nodes which do direct command invocation - we should probably have some sort of command runner class that centralizes this and does things like general error handling, basic command validation and (eventually) progress reporting

Copy link
Contributor

@ben-zhang-at-salesforce ben-zhang-at-salesforce left a comment

Choose a reason for hiding this comment

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

looks great!, thanks removing one more tool.

@haifeng-li-at-salesforce haifeng-li-at-salesforce merged commit 933d57b into forcedotcom:main Dec 7, 2025
7 checks passed
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.

4 participants