Skip to content

Add uniqueness to FuzzTable, use it for Slap objects.#381

Merged
hariedo merged 3 commits intomasterfrom
hariedo-patch-67
May 8, 2026
Merged

Add uniqueness to FuzzTable, use it for Slap objects.#381
hariedo merged 3 commits intomasterfrom
hariedo-patch-67

Conversation

@hariedo
Copy link
Copy Markdown

@hariedo hariedo commented May 4, 2026

Since the !slap command code has two "fallback" sets of choices, it weighs some duplicate options more heavily. This adds an optional Unique filtering feature on the FuzzTable and uses it to keep the slap object choices tidy.

hariedo added 2 commits May 3, 2026 22:13
Ensure the !slap object table uses a 'unique only' mode to avoid heavily weighing objects appearing in multiple confics.
Add the 'Unique' property to allow for rejecting duplicate choices.  The default is false, which allows duplicates for extra weighting of being picked later.
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 4, 2026

🚀 Deploy this PR

Code-only changes

  1. Make sure the udc-bot-dev ArgoCD app target revision is set to master.
  2. Go to the Deploy to Dev workflow and click Run workflow with this PR number.

Manifest changes (e.g. new services in k8s/dev/)

  1. Comment /build on this PR to build the Docker image (without deploying to master).
  2. Once the build succeeds, update the image tag in k8s/dev/bot.yaml on your branch with the SHA from the build comment, then push.
  3. In ArgoCD, switch the udc-bot-dev app target revision from master to your branch (App Details → Source → Edit → Save).
  4. ArgoCD will sync your manifest changes + new image. Test your changes.
  5. When done, switch ArgoCD target revision back to master.

@hariedo hariedo marked this pull request as ready for review May 4, 2026 03:28
@hariedo
Copy link
Copy Markdown
Author

hariedo commented May 4, 2026

The "deploy-to-dev" workflow fails in the Build step, even though the build checks above pass.

udc-bot-deploy Bot pushed a commit that referenced this pull request May 8, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 8, 2026

✅ PR deployed to dev!

Image: ghcr.io/unity-developer-community/udc-bot-dev:40c93b7
ArgoCD will sync shortly.

@github-actions github-actions Bot deployed to dev May 8, 2026 02:13 Active
@hariedo hariedo merged commit 9803dbd into master May 8, 2026
6 checks passed
@hariedo hariedo deleted the hariedo-patch-67 branch May 8, 2026 02:18
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.

1 participant