Skip to content

Commit 2ba977a

Browse files
committed
Merge branch 'develop' into phale/multi
2 parents a34f0a8 + bbf3f37 commit 2ba977a

33 files changed

Lines changed: 177 additions & 63 deletions

File tree

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
name: feature-branch
3+
description: Create feature branches for all work. Use when creating branches, checking out, or pushing. Prevents accidental push to develop.
4+
---
5+
6+
# Feature Branch
7+
8+
All work must be on feature branches. Never commit directly to develop or main.
9+
10+
## Do
11+
12+
```bash
13+
git fetch origin develop
14+
git checkout develop
15+
git pull
16+
git checkout -b feature/W-XXXXX
17+
# ... work, commit ...
18+
git push -u origin feature/W-XXXXX
19+
```
20+
21+
Or, branch from remote without tracking it:
22+
23+
```bash
24+
git fetch origin develop
25+
git checkout -b feature/W-XXXXX origin/develop --no-track
26+
```
27+
28+
## Don't
29+
30+
**Never** `git checkout -b feature/W-XXXXX origin/develop` without `--no-track`.
31+
32+
That sets the new branch to track `origin/develop`. A bare `git push` would then push to develop instead of creating a remote feature branch.
33+
34+
## Summary
35+
36+
- All work on feature branches
37+
- Use `--no-track` when branching from `origin/<base>`, or branch from local `<base>` after pull
38+
- Always push with explicit branch: `git push -u origin feature/W-XXXXX`

.claude/skills/pr-draft/SKILL.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Draft PR titles and bodies per salesforcedx-vscode conventions. Requires a Gus w
1616
1. If branch name contains `W-XXXXX`, confirm it exists in GUS, resembles the work done on the branch, and use that
1717
2. Else ask: "Do you have a Gus work item (W-XXXXX) for this PR?"
1818
3. If yes → try to find it using [gus-cli/SKILL.md](../gus-cli/SKILL.md). Confirm with the user that you got it right, or ask them to choose if several could be right.
19-
4. If no → offer to create via Gus. Follow [gus-cli/SKILL.md](../gus-cli/SKILL.md). **Before creating:** show user Subject, Epic, Details, assignee. Ask: "Create this work item?" Do not run `sf data create record` until user says yes.
19+
4. If no → offer to create via Gus. Follow [gus-cli/SKILL.md](../gus-cli/SKILL.md). **Before creating:** show user Subject, Epic, Details, assignee. Ask: "Create this work item?" Do not run `sf data create record` until user says yes. If user declines creation and still wants to proceed with the PR, include `[skip-validate-pr]` in the PR body.
2020
5. Before creating PR: push current branch to remote if it doesn't already exist (`git push -u origin $(git branch --show-current)` or equivalent). Never push to `develop`/`main`
2121
6. After PR created: update work item `Details__c` with PR link. Query current `Details__c`, append `"\nPR: <url>"` (or prepend if empty). **Before updating:** show user the new Details\_\_c. Ask: "Update work item with PR link?" Do not run `sf data update record` until user says yes.
2222
7. After PR created: offer Ready for Review. Ask: "Put WI in Ready for Review? Who should review?" Choices:
@@ -43,6 +43,7 @@ Draft PR titles and bodies per salesforcedx-vscode conventions. Requires a Gus w
4343
- Write body content per [concise/SKILL.md](../concise/SKILL.md)
4444
- Include `@W-XXXXX@` in "What issues does this PR fix or reference?" per [.github/PULL_REQUEST_TEMPLATE.md](../../../.github/PULL_REQUEST_TEMPLATE.md):
4545
- Delete the before/after section if you have nothing to say there
46+
- **User declined WI:** Only when user explicitly declines to create a work item and still wants the PR, include `[skip-validate-pr]` in the PR body (e.g. at end of body)
4647

4748
```
4849
### What issues does this PR fix or reference?

.cursor/hooks.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
{
22
"version": 1,
33
"hooks": {
4+
"beforeShellExecution": [
5+
{
6+
"command": ".cursor/hooks/block-no-verify.sh",
7+
"matcher": "git.*--no-verify"
8+
}
9+
],
410
"stop": [{ "command": ".cursor/hooks/verify-stop.sh" }]
511
}
612
}

.cursor/hooks/block-no-verify.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/usr/bin/env bash
2+
# Block git with --no-verify. beforeShellExecution hook (matcher: git.*--no-verify).
3+
input=$(cat)
4+
command=$(echo "$input" | jq -r '.command // empty')
5+
[[ "$command" =~ git.*--no-verify ]] && echo '{"permission":"deny","agent_message":"git with --no-verify is blocked. Run without --no-verify so hooks run."}' || echo '{"permission":"allow"}'

.github/dependabot.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,19 @@ updates:
2525
open-pull-requests-limit: 3
2626
rebase-strategy: auto
2727
versioning-strategy: increase
28+
# Daily updates for @salesforce/templates only
29+
- package-ecosystem: 'npm'
30+
directory: '/'
31+
target-branch: 'develop'
32+
schedule:
33+
interval: 'daily'
34+
time: '06:00'
35+
timezone: 'America/Los_Angeles'
36+
allow:
37+
- dependency-name: '@salesforce/templates'
38+
open-pull-requests-limit: 1
39+
rebase-strategy: auto
40+
versioning-strategy: increase
2841
# Exclude updates to doc tools
2942
# TODO: Enable after adding automated check(s) for doc generation
3043
- package-ecosystem: 'bundler'

SHA256.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -8,31 +8,31 @@ make sure that their SHA values match the values in the list below.
88
following the instructions at
99
https://code.visualstudio.com/docs/editor/extension-gallery#_common-questions.
1010
For example, download,
11-
https://salesforce.gallery.vsassets.io/_apis/public/gallery/publisher/salesforce/extension/salesforcedx-vscode-core/66.2.1/assetbyname/Microsoft.VisualStudio.Services.VSIXPackage.
11+
https://salesforce.gallery.vsassets.io/_apis/public/gallery/publisher/salesforce/extension/salesforcedx-vscode-core/66.2.2/assetbyname/Microsoft.VisualStudio.Services.VSIXPackage.
1212

1313
2. From a terminal, run:
1414

1515
shasum -a 256 <location_of_the_downloaded_file>
1616

1717
3. Confirm that the SHA in your output matches the value in this list of SHAs.
1818

19-
8d95ae4468e720bf160f586d055e77ec4634cbd3bcc2e1ddb974fd218087e8e0 salesforcedx-vscode-66.2.1.vsix
20-
4ddc839fc6631608bb3b2e58af9dd15e3795c7cbadbe72c7a9afee2778be7b3b salesforcedx-vscode-apex-66.2.1.vsix
21-
ef8730f71b436afbed103c5c0d0df81eecc0d5bd494e98a05ebacf47e790ac37 salesforcedx-vscode-apex-debugger-66.2.1.vsix
22-
921faf96f07df6e329cdd61f90453bbbdd6ac17d453f53890a798252fa25c7e3 salesforcedx-vscode-apex-log-66.2.1.vsix
23-
be3ca86e6a2cbaed7c99da97475b9576d51b9dbcc03f04bfe0b4e117d8cf811f salesforcedx-vscode-apex-oas-66.2.1.vsix
24-
c22942d52b3e441b450dccb60422d289eaca5286f82ad95ebea5ffd26bc2aa61 salesforcedx-vscode-apex-replay-debugger-66.2.1.vsix
25-
7bde71ef460257b6b26872eeabe9e389986f689e4395d6123c205634a4db2d15 salesforcedx-vscode-apex-testing-66.2.1.vsix
26-
c01f7f7ab1bf41273cb15cf5754cb943d3cc0f86bfb443376600528c57966ecd salesforcedx-vscode-core-66.2.1.vsix
27-
da9cc58fa45ebfc0e84663d32553c825f0965266bf1fa180573d72dd5f0585d2 salesforcedx-vscode-expanded-66.2.1.vsix
28-
9223d4517c8c90f7c35eea5501c865a2c206cce6666da89ab51fdd2c013a1d0a salesforcedx-vscode-lightning-66.2.1.vsix
29-
4cc1f39f807775b442bd9fe9d364156ac031f368c05e162b26afaa77f5046a55 salesforcedx-vscode-lwc-66.2.1.vsix
30-
3d19b51e57b13a91502075c94451244b0f8687939cdbbd8c0e809fa65a5d19f5 salesforcedx-vscode-metadata-66.2.1.vsix
31-
ca7de667067fb98ad20671aa4c29725ba622ff5019570f124731a1032b5ccd63 salesforcedx-vscode-org-66.2.1.vsix
32-
80c8ca22287f7a20576641e63aa18aaf7c605cfba21204c166d5421ff553030c salesforcedx-vscode-org-browser-66.2.1.vsix
33-
acf69f1dd10237f9022af772dc25ae2a0e9e5dce6db1bf3f10eb899c49ed8683 salesforcedx-vscode-services-66.2.1.vsix
34-
9ce26246b6ce9fa6e2a45f1859e1e306f5edc9650a210f2eed6f6940c1465b6f salesforcedx-vscode-soql-66.2.1.vsix
35-
e43186c9b419cc71983859bec39b891d5ada12e2ed90c280a095bcf0c195990c salesforcedx-vscode-visualforce-66.2.1.vsix
19+
873889f888490d6b645e6d7f445b7126d0fe03d18b0cff9f76d75d060b5a90b4 salesforcedx-vscode-66.2.2.vsix
20+
9d449f268947accfc4f57a115413b53236a734c8900fcf8f96b5ab56b4e0f053 salesforcedx-vscode-apex-66.2.2.vsix
21+
f6047d0dbae3fdcc6dbc7afbaf328c1929415c6d048e81602e26db16d9805aa6 salesforcedx-vscode-apex-debugger-66.2.2.vsix
22+
e2da1a7a666921629e0ff895e85a40e2514a2dc544cfb1c9e420ce40f526e1a6 salesforcedx-vscode-apex-log-66.2.2.vsix
23+
179687a759744fe8289e2b881606de73e64f2a3d3b6bb7d1f0205418171e08f3 salesforcedx-vscode-apex-oas-66.2.2.vsix
24+
ced22fe0996f30d442cd43f6ec0c47d573be4834c4066a0a57325a2b12cbc6fc salesforcedx-vscode-apex-replay-debugger-66.2.2.vsix
25+
615e31bbeea6c63fa1f00e2bb0547c2e6e318c38ca5988fe773f79f2be09f714 salesforcedx-vscode-apex-testing-66.2.2.vsix
26+
3a44959d195d2d5c5659132672cd77fe75999815e99d270c76101d75397d06e1 salesforcedx-vscode-core-66.2.2.vsix
27+
710351ca75b73904190a776c63e78038027963b63531d9014b19a281cd13e026 salesforcedx-vscode-expanded-66.2.2.vsix
28+
8edb1f7d896e9abc051f6a6a5f921cb9b9ae7d59324c0bca779b118c36adca4e salesforcedx-vscode-lightning-66.2.2.vsix
29+
7f7afa4192db15de240fe12ea46558aa9f07309284b9e186204527e3e55e5266 salesforcedx-vscode-lwc-66.2.2.vsix
30+
56a59f038bee85abece2f43796c3e0330f7df23a0025585baffa9326c22b7c98 salesforcedx-vscode-metadata-66.2.2.vsix
31+
59086f2dac9dba9f34381c586db44a0244d3b22dc1e5800c64ea0a7c1d9d96fe salesforcedx-vscode-org-66.2.2.vsix
32+
f20fe0c55931494ff8238fc3cbcaa9f778f681e72122230b45e009c23a2f344f salesforcedx-vscode-org-browser-66.2.2.vsix
33+
fbe1c28f075f4e8ee001ed01bd3d7fff724f8a3c2618c36a483c68a396f5b38c salesforcedx-vscode-services-66.2.2.vsix
34+
fb70245929df247d8733f499be588a4894856a27dd15de82b4362138885fe8ae salesforcedx-vscode-soql-66.2.2.vsix
35+
77e6bae98bd782191af9f6baf8d0191868561b7c6abd213114e8345b58b0ed96 salesforcedx-vscode-visualforce-66.2.2.vsix
3636

3737

3838
4. Change the filename extension for the file that you downloaded from .zip to

package-lock.json

Lines changed: 20 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@
136136
"capture:results": "shx mkdir -p ./test-results && npm run junit:report && npm run coverage:report",
137137
"check:links": "find . -name \\*.md -not -path '*/node_modules/*' -print0 | xargs -0 -n1 npx markdown-link-check --quiet --alive 200,206,429",
138138
"check:dupes": "npx jscpd",
139+
"check:branch": "wireit",
139140
"precommit": "wireit",
140141
"prepush": "wireit",
141142
"vscode:bundle": "wireit",
@@ -371,8 +372,12 @@
371372
],
372373
"output": []
373374
},
375+
"check:branch": {
376+
"command": "node scripts/check-branch.js"
377+
},
374378
"precommit": {
375379
"dependencies": [
380+
"check:branch",
376381
"compile",
377382
"lint",
378383
"check:peer-deps",

packages/effect-ext-utils/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@salesforce/effect-ext-utils",
3-
"version": "66.2.1",
3+
"version": "66.2.2",
44
"description": "Utility functions and helpers for Effect-based VS Code extensions",
55
"author": "Salesforce",
66
"license": "BSD-3-Clause",

packages/salesforcedx-vscode-apex-debugger/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"color": "#ECECEC",
1515
"theme": "light"
1616
},
17-
"version": "66.2.1",
17+
"version": "66.2.2",
1818
"publisher": "salesforce",
1919
"o11yUploadEndpoint": "https://794testsite.my.site.com/byolwr/webruntime/log/metrics",
2020
"enableO11y": "true",

0 commit comments

Comments
 (0)