Repository navigation
Conversation
The agents suite's custom-persona scenario (review-skill-overrides) needs real inference and asserts a model-computed marker, so it cannot pass on the emulator. Leave the capability off here; it stays in the agents repository's live job. Refs fullsend-ai#9755 Assisted-by: Claude Signed-off-by: Wayne Sun <gsun@redhat.com>
run-job.sh pushes the agents checkout into the emulator as fullsend-ai/agents main. A shallow checkout is rejected there with "shallow update not allowed", so fetch the full history. Refs fullsend-ai#9755 Assisted-by: Claude Signed-off-by: Wayne Sun <gsun@redhat.com>
…s-suite-emulator ci(fullsend-ai#9755): run agents behaviour suite on GitHub emulator
At 0.170.0 codex opens the --output-last-message file before the first turn, and a failed open or final write ends exec with exit 1 even after a completed turn; 0.166.0 only warned. Nothing in the runner reads the file, so drop the flag, its constant and its ClearIterationArtifacts entry, and say in the Run bullet why there is no -o. Signed-off-by: Dharit Shah <dhshah@redhat.com>
Whitespace only: wrap the two egress binary identity bullets and the re-check version line near 80 columns, as docs/contributing/ documentation.md asks for an edited paragraph. Signed-off-by: Dharit Shah <dhshah@redhat.com>
Add a "Moving to a new emulator release" subsection to the behaviour testing guide's GitHub emulator section. It says where the pin lives (EMULATOR_REPO / EMULATOR_REF in behaviour-github-emulator.yml), its "<sha> # <tag>" format, the check to run first (the whole workflow twice on a branch that changes only EMULATOR_REF), that the agents repository's emulator job follows the pin, and that a maintainer adds the change because it edits a workflow file. The EMULATOR_REF bump to 2026.11.20.2 is out of scope here; per the issue it is added during review. Note: pre-commit could not fetch hook repositories (TLS error), so the applicable hooks were run directly: whitespace, end-of-file, line-ending and merge-marker checks, gitleaks, lint-docs-links, lint-broken-symlinks, and the lychee lint-md-links command. All passed. `make lint-md-links` itself could not exec lychee in the sandbox; the same lychee command run directly passed. Closes fullsend-ai#9767 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026.11.20.2 answers the runner's GET jobrequests/{requestId}, keeps a
finished job's first end report, and gives no new job to a Busy poll.
This fixes a job handed to a runner whose previous worker was still
exiting failing before any step ran (fullsend-ai/github-emulator#99).
Validated twice on a branch of current main changing only EMULATOR_REF:
every shard and playback passed (86/86), and the agents job passed
11/11 with custom-persona skipped.
Refs fullsend-ai#9767
Assisted-by: Claude
Signed-off-by: Wayne Sun <gsun@redhat.com>
Say how to run the two validation runs (a draft pull request, then Re-run all jobs), keep the pin's tag comment in the branch, make the agents job a hard requirement, say who lands the change, and turn the agents note into a note rather than a step. Refs fullsend-ai#9767 Assisted-by: Claude Signed-off-by: Wayne Sun <gsun@redhat.com>
…nment The jira authorization entry's write and triage lists can now name an environment variable with groups_from and accounts_from, so group and account IDs stay out of a public repository's config.yaml. Config and poller: - The poller reads the variable on every poll. The value is a list separated by commas or newlines. An unset or empty variable grants no one, and the poller logs a warning that names the variable. - Config loading rejects a role that sets both forms of one field, and an empty or invalid variable name. - The poller never logs the values. - The docs and the config test use a placeholder account ID. Managed GitHub poll workflow: - The managed caller forwards FULLSEND_JIRA_WRITE_GROUPS, FULLSEND_JIRA_WRITE_ACCOUNTS, FULLSEND_JIRA_TRIAGE_GROUPS and FULLSEND_JIRA_TRIAGE_ACCOUNTS to the poll step when config.yaml reads them. reusable-poll-jira.yml declares them as optional. - A new job with no secrets sets the dispatch matrix output. GitHub drops a job output that contains a value of a secret the job has, and the matrix holds the acting account's ID, which can equal a list secret. The poll job saves the dispatch file as an artifact, after checking it for Jira credentials, including ones that JSON escaped. Each call names its artifact with a random suffix, so two calls in one run do not share it. repos install: - It fails before any write when config.yaml uses groups_from or accounts_from and the repository's jobs run a release that predates them, on any forge. Every job runs the CLI at the scaffold's ref, and an older CLI cannot load the config. repos status reports the same error. Without an upstream GitHub client, a stamped scaffold's ref is not checked. A vendored install runs its own binary, so it is checked only when the managed GitHub poll caller passes a list secret: that caller calls the upstream workflow at the pinned ref. A user-owned GitHub poll caller that pins a reusable-poll-jira.yml older than the keys fails too, unless the install is vendored: that workflow installs the CLI at its own ref. - It warns about a variable name other than the four above, for the managed caller and for a user-owned caller of reusable-poll-jira.yml, because that workflow accepts only those four. It also warns about a user-owned caller that does not pass one of the four that the config names. It never writes or deletes these secrets. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Signed-off-by: Gwenneg Lepage <10584698+gwenneg@users.noreply.github.com>
…ent-emulator-pin docs(fullsend-ai#9767): document moving the GitHub emulator pin
At 0.170.0 exec logs a third thread/items/list warning, when a page returns an incomplete item, and returns without the backfill, so a dropped completed item stays lost as after the other two. Count it with the other backfill markers, and list it with them in the re-check row and the testdata README. Signed-off-by: Dharit Shah <dhshah@redhat.com>
The row still said the pinned untrusted entry must stop codex recording its own trust level, which the Posture bullet no longer claims: at 0.170.0 the app server's trust write needs a requested cwd, and exec names none. State the row's why as the Posture bullet does, and drop the trust-write and thread-start sources it rested on. Signed-off-by: Dharit Shah <dhshah@redhat.com>
…on a PR Add an "On a pull request" section near the top of docs/guides/dev/behaviour-testing.md. It says which jobs make up the required behaviour-github-emulator check, which artifact each job uploads and what it holds, how to tell a failure in the change from an emulator failure, when to re-run and where to file emulator bugs. It documents the workflow_dispatch inputs (features, workers, runners), the write access dispatch needs, and the rule to grow the emulator instead of listing scenarios in not-sharded.txt. Also update the intro table and "When to add a behaviour test" to mention the emulator. Mark "Failure classification and infrastructure retry" and two Prerequisites items as live-suite only. Add a shards.txt step to the new-scenario checklist, and a pointer to the check in CONTRIBUTING.md. Left out, as the issue directs when evidence is missing: - the troubleshooting table. The sandbox could not download the logs or artifacts of the two failed emulator runs, and their annotations carry only "Process completed with exit code 1."; - the fork dispatch route. No fork run has been verified. The gh workflow run command is marked as not run: the workflow has no workflow_dispatch runs yet. Pre-commit could not fetch its hook repositories (TLS verification failure). The markdown hooks were run directly and passed: end-of-file-fixer, trailing-whitespace, detect-private-key, check-merge-conflict, mixed-line-ending, lint-broken-symlinks, lint-docs-links and lychee (lint-md-links). Closes fullsend-ai#9770 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…e, prose pass Replace the unverified dispatch command with the fork route, run end to end. Add a troubleshooting table keyed on error text from real failed runs. Assisted-by: Claude Signed-off-by: Wayne Sun <gsun@redhat.com>
… not start Assisted-by: Claude Signed-off-by: Wayne Sun <gsun@redhat.com>
…hing workflow_dispatch needs the workflow on the default branch. Assisted-by: Claude Signed-off-by: Wayne Sun <gsun@redhat.com>
Assisted-by: Gemini (prose review), Claude Signed-off-by: Wayne Sun <gsun@redhat.com>
Co-authored-by: renovate-fullsend[bot] <295781306+renovate-fullsend[bot]@users.noreply.github.com>
…tor-check-docs docs(fullsend-ai#9770): document the behaviour-github-emulator check on a PR
…r stack run-job.sh started two heavy background jobs near the top: go-warm (mint build and go test -c of the suite) and the sandbox image pre-pull. Both ran while scripts/ci-stack.sh start brought up the emulator on the same 4-vCPU VM, slowing its imports and migrations past the 30 s readiness limit, so some shards failed with "the emulator did not start" before any scenario ran. Both jobs now start right after ci-stack.sh start returns, before the stack CA variables are exported, so they run in the same environment as before. go_warm_pid, prepull_pid and their later waits are unchanged; the sandbox image list is still computed in step 0b. The prepull launch checks AGENTS_SEED first, because sandbox_images is unset when the agents are not seeded and the script runs with set -u. build_mint stays defined at the top for the step 3 fallback. The comments now say why the jobs start after the stack. Verified with bash -n and shellcheck 0.10.0 (-x -e SC1091,SC2001,SC2016). Note: pre-commit could not fetch its hook repositories (TLS failure in the sandbox); shellcheck, gitleaks and the whitespace, end-of-file and private-key checks were run directly and passed. The full behaviour-github-emulator runs need the CI VM and were not run here. Closes fullsend-ai#9772 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…-warm-prepull ci(fullsend-ai#9772): start emulator-job Go build and image pull after stack
…ting row Emulator 2026.11.21 changes the message ci-stack.sh start prints when the emulator does not start. The troubleshooting table in docs/guides/dev/behaviour-testing.md keyed a row on the old text, which no longer appears once behaviour-github-emulator uses that release. Replace the row with two rows, one per new message: no answer before the start deadline (with a pointer to the Startup: lines in stack/emulator.log), and the emulator process exiting early. The message text was checked against scripts/ci-stack.sh at the emulator's 2026.11.21 tag. Note: pre-commit could not fetch remote hook repositories in the sandbox (TLS verification failure). The applicable hooks were run directly instead: lint-docs-links and lint-md-links (lychee) pass, and the file has no trailing whitespace, CRLF, or conflict markers, and ends with a newline. Closes fullsend-ai#9775
2026.11.21 waits for the emulator to start by deadline (CI_STACK_START_TIMEOUT, default 120 s, was about 30 s) and logs how long each startup step took. It also labels runners from the host's Ubuntu release, gives the ci-stack TLS CA the key usage extensions strict Python checks need, and answers a deleted job's end report without a 500. The troubleshooting rows now show the emulator log path a job prints, and the intro says the rows are error text a failed run prints. Assisted-by: Claude (fix), Gemini (review) Signed-off-by: Wayne Sun <gsun@redhat.com>
…tor-start-failure-row ci(fullsend-ai#9775): pin the GitHub emulator to 2026.11.21 and update the start-failure rows
Since ORT 1.29 the Linux libonnxruntime.so starts a 1DS telemetry uploader during environment init, creating an offline event store and a persistent device ID under ~/.cache/Microsoft. hugot calls ort.DisableTelemetry() only after InitializeEnvironment(), which mutes events but does not stop the uploader. ORT skips the uploader only when ORT_DISABLE_TELEMETRY (or a CI variable) is set before init. - internal/security/mlscan_ort.go: initMLScanner() sets ORT_DISABLE_TELEMETRY=1 next to HF_HUB_OFFLINE, before hugot.NewORTSession, covering every ORT build of the binary. - images/runner/Containerfile: ENV ORT_DISABLE_TELEMETRY=1 for anything else in the image that loads ORT. - internal/security/mlscan_ort_test.go: ORT-tagged test asserting initMLScanner sets the variable (session creation fails on a missing library path, so the shared ORT environment is untouched). Verification: go build ./..., go vet ./... and go vet -tags ORT ./internal/security/ pass (the ORT build compiles; linking needs libtokenizers, absent in the sandbox, so the ORT-tagged tests were not run). go test ./internal/security/ has SSRF DNS failures that also occur on main (sandbox resolver). pre-commit could not fetch hook repos; hooks were run directly. semgrep was skipped (ruleset download blocked) and gitleaks was covered by scan-secrets. Closes fullsend-ai#9777
…runner smoke test The benign ML scan now runs with ORT_DISABLE_TELEMETRY unset, so it exercises the opt-out the binary sets itself, not only the image ENV. After both scans the smoke test fails if ~/.cache/Microsoft exists: ORT writes its device ID and event store there when the telemetry uploader starts. The smoke container gets no CI variables, which would otherwise suppress the uploader and hide a regression. Assisted-by: Claude Signed-off-by: Wayne Sun <gsun@redhat.com>
…y off in tests TestInitMLScanner_DisablesORTTelemetry now restores mlScanner, mlSession and mlScannerErr on cleanup instead of setting them to nil, so a later RunMLScan in the same run sees the state it had before. It points ORT_LIB_PATH at a missing directory, matching how hugot reads the option. TestMain in the ORT integration suite sets ORT_DISABLE_TELEMETRY before it starts a real session, so a local `go test -tags ORT` run does not start the uploader either. Assisted-by: Claude (fix), DeepSeek (review) Signed-off-by: Wayne Sun <gsun@redhat.com>
…er starts ORT RunMLScan fails open: if the session cannot start it prints "ML scanner unavailable" and still reports no findings. Assert that warning is absent, so the telemetry check after it cannot pass without ORT running. Assisted-by: Claude Signed-off-by: Wayne Sun <gsun@redhat.com>
…ces change The runner-image smoke test is the only CI job that exercises the ORT scanner, telemetry opt-out included: lint.yml runs go test without -tags ORT. Add internal/security/mlscan*.go and onnxguard*.go to the push and pull_request path filters so a change there gets the smoke test. Assisted-by: Claude (fix), DeepSeek (review) Signed-off-by: Wayne Sun <gsun@redhat.com>
hugot returns before it initialises ORT: either another session is active or the library path is missing. Say both. Assisted-by: Claude Signed-off-by: Wayne Sun <gsun@redhat.com>
main's project-set refactor (fullsend-ai#9883, cf628ed) and this branch both change internal/jirapoll/poller.go. - The import block was the only textual conflict. main dropped regexp together with validProjectKey and added slices; the merged file uses slices and has no regexp use left. - Two Options literals in poller_idle_test.go set JiraProject, which main replaced with JiraProjects. The activity filter and the project-set search merge as written: the scoped search and its row de-duplication run first, and filterLocked then drops locked and idle candidates. Signed-off-by: guy oron <goron@redhat.com>
PR Summary by QodoMerge main into Jira idle-skip branch and reconcile project-set polling
AI Description
Diagram
High-Level Assessment
Files changed (355)
|
|
🤖 Finished Review · ❌ Failure (post-script /home/runner/work/fullsend/fullsend/.fullsend/.fullsend-cache/resources/sha256/f2b050899914470a4d07f8ad0c59fa9711fac1dfe3744d68f62e6abafe61c52f/scripts/post-review.sh failed: exit status 1) · Started 2:21 AM UTC · Completed 2:23 AM UTC Commit: Runtime: pi · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $0.26 |
ReviewReason: token-limit This PR was NOT reviewed. Do not count this as an approval. Previous runReviewReason: token-limit This PR was NOT reviewed. Do not count this as an approval. |
Site previewPreview: https://648d29d1-site.fullsend-ai.workers.dev Commit: |
Code Review by Qodo
1. A failed runner removal is skipped
|
| elif [[ -n "${READY_AT}" ]] && within "${READY_AT}"; then | ||
| ACTION="ready_for_review" | ||
| else | ||
| ACTION="synchronize" |
There was a problem hiding this comment.
1. Fork labels can start unexpected reviews 🐞 Bug ≡ Correctness
Resolve fork pull request for workflow_run maps every older open pull request to synchronize without establishing which pull-request action started the fork-controlled stub. A fork author who is authorized for review can add a label trigger to their stub and cause a label event to enter the review and deduplication path.
Agent Prompt
## Issue description
Fork-controlled stub runs can represent pull-request actions other than synchronize, but the resolver classifies any older open PR as synchronize.
## Fix Focus Areas
- .github/workflows/reusable-dispatch.yml[229-253]
- .github/workflows/reusable-dispatch.yml[329-338]
## Recommended Fix
Establish trustworthy provenance for the triggering action before routing a workflow_run; if it cannot be established, do not infer synchronize from an open PR's age.
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools
| return false | ||
| } | ||
| for _, prefix := range forgejoManagedPrefixes { | ||
| if strings.HasPrefix(p, prefix) { |
There was a problem hiding this comment.
2. Unrelated repository files can be deleted 🐞 Bug ≡ Correctness
forgejoManagedPath accepts any path starting with .forgejo/workflows/fullsend or .fullsend/forgejo, including names outside the reserved workflow files and helper directory. If a marked workflow index lists a file such as .forgejo/workflows/fullsend-evil.yml, installation or removal treats that unrelated file as owned and can delete it.
Agent Prompt
## Issue description
Raw prefix matching lets the managed index claim unrelated files with similar names.
## Fix Focus Areas
- internal/repos/forgejo_workflows.go[42-58]
- internal/repos/forgejo_workflows.go[272-299]
- internal/repos/forgejo_workflows.go[392-422]
## Recommended Fix
Match reserved workflow filenames exactly and helper directories with a path-separator boundary; reject other indexed paths before planning updates or removals.
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools
| if len(prs) < pullsPageSize { | ||
| return out, nil |
There was a problem hiding this comment.
3. Forgejo listings omit later pages 🐞 Bug ≡ Correctness
ListRepoPullRequests and the pull-file and commit listings stop when a response contains fewer than the requested 50 records. On an instance whose configured response maximum clamps that request below 50, the first non-final page is returned as the entire listing.
Agent Prompt
## Issue description
Forgejo may return fewer records than requested on a non-final page, so short-page termination drops later records.
## Fix Focus Areas
- internal/forge/forgejo/pulls.go[241-257]
- internal/forge/forgejo/pulls.go[327-342]
- internal/forge/forgejo/pulls.go[364-381]
## Recommended Fix
Follow the issue-listing pattern: continue through short nonempty pages, stop on an empty page, and return a pagination-limit error if the bounded loop is exhausted.
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools
| if len(arts) < actionsPageSize { | ||
| break | ||
| } | ||
| } | ||
| return out, nil |
There was a problem hiding this comment.
6. Large artifact lists appear complete 🐞 Bug ≡ Correctness
ListWorkflowRunArtifacts returns out, nil after its 20-page limit even when the last page was full. A run with more artifacts than the limit receives a partial list that downstream artifact lookup treats as authoritative.
Agent Prompt
## Issue description
Artifact pagination returns success after its page cap even when more artifacts may remain.
## Fix Focus Areas
- internal/forge/forgejo/actions.go[233-255]
- pkg/behaviourtest/drivers/ci/forgejoactions/forgejoactions.go[379-395]
## Recommended Fix
Return a pagination-limit error when the loop exhausts its cap without seeing a terminal page; do not expose the collected prefix as a complete listing.
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools
| switch cfgState { | ||
| case ForgejoStateDrift: | ||
| err = c.UpdateFile(ctx, t.Owner, t.Repo, forgejoManagedConfigPath, "chore: update fullsend managed config", desired, cfgSHA) | ||
| case ForgejoStateNotInstalled: | ||
| err = c.CreateFile(ctx, t.Owner, t.Repo, forgejoManagedConfigPath, "chore: install fullsend managed config", desired) | ||
| } |
There was a problem hiding this comment.
7. Failed installs leave repositories half-set 🐞 Bug ☼ Reliability
installRepo writes .fullsend/config.yaml in one request before submitting the workflow-file changes in another. If the workflow change fails after the config write succeeds, installation returns an error with the new configuration already committed and the workflows unchanged.
Agent Prompt
## Issue description
Consumer installation makes separate config and workflow writes, permitting partial installation on the second write's failure.
## Fix Focus Areas
- internal/repos/forgejo_lifecycle.go[619-657]
## Recommended Fix
Include the managed-config create or update in the same conditional ChangeFiles request as the workflow plan, preserving the config revision check.
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools
| if s.tornDown { | ||
| s.mu.Unlock() | ||
| return nil | ||
| } | ||
| s.tornDown = true | ||
| containers := append([]startedContainer(nil), s.containers...) |
There was a problem hiding this comment.
4. Failed stack cleanup cannot be retried 🐞 Bug ☼ Reliability
Stack.Teardown sets tornDown before stopping or removing any container. If a cleanup operation fails or its context is canceled, a later teardown call immediately returns without trying to remove the remaining containers.
Agent Prompt
## Issue description
The stack marks teardown complete before cleanup succeeds, preventing retries after removal errors.
## Fix Focus Areas
- pkg/behaviourtest/drivers/install/forgejostack/stack.go[591-649]
## Recommended Fix
Mark teardown complete only after cleanup succeeds, track resources that remain, and allow a later call to retry their removal.
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools
| removed[c.id] = true | ||
| if err := s.cfg.Engine.RemoveContainer(ctx, c.id); err != nil { | ||
| errs = append(errs, err) | ||
| } |
There was a problem hiding this comment.
5. A failed runner removal is skipped 🐞 Bug ☼ Reliability
Stack.Teardown records the runner ID in removed before checking whether the force-removal request succeeded. If stopping and force-removing the runner both fail, the later removal pass skips that still-present runner while continuing with the job-container snapshot.
Agent Prompt
## Issue description
A failed force-removal is recorded as successful, so the ordered cleanup pass skips the runner.
## Fix Focus Areas
- pkg/behaviourtest/drivers/install/forgejostack/stack.go[605-616]
- pkg/behaviourtest/drivers/install/forgejostack/stack.go[634-643]
## Recommended Fix
Add the runner ID to the removed set only after RemoveContainer succeeds; let the ordered pass attempt removal if the earlier request failed.
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools
| workflow_run: | ||
| workflows: [fullsend-fork-pr] | ||
| types: [completed] |
There was a problem hiding this comment.
8. Emulator fork reviews never start 🔗 Cross-repo conflict ≡ Correctness
The new workflow_run trigger in .github/workflows/fullsend.yaml depends on GitHub Emulator dispatching an event when the fork stub run completes. The emulator marks completed runs in check_run_completion without dispatching that event, so its fork-PR review workflow never starts.
Agent Prompt
## Issue description
The new fork-PR workflow requires a `workflow_run` completion event, which the pinned GitHub Emulator does not dispatch.
## Fix Focus Areas
- .github/workflows/fullsend.yaml[49-51]
- /cross_repos/github-emulator/src/app/services/workflow_scheduler.py[402-466]
## Recommended Fix
Coordinate an emulator change that dispatches `workflow_run` completion events with the metadata consumed by the Fullsend shim, and add an end-to-end fork-PR workflow test before relying on this path in emulator runs.
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools
| PRS=$(api --method GET "repos/${GITHUB_REPOSITORY}/pulls" \ | ||
| -f state=all -f per_page=100 -f "head=${WR_HEAD_OWNER}:${WR_HEAD_BRANCH}") |
There was a problem hiding this comment.
9. Emulator fork lookups find no requests 🔗 Cross-repo conflict ≡ Correctness
The fork resolver in reusable-dispatch.yml filters pull requests with head=owner:branch. GitHub Emulator compares that filter directly with its stored bare branch name, so the resolver receives no matching requests and skips routing if its completion event is dispatched.
Agent Prompt
## Issue description
Fullsend's new fork resolver uses GitHub's `owner:branch` pull-request filter, but GitHub Emulator compares it to a bare branch name.
## Fix Focus Areas
- .github/workflows/reusable-dispatch.yml[270-281]
- /cross_repos/github-emulator/src/app/api/pulls.py[686-710]
## Recommended Fix
Update the emulator's `head` filter to parse and match `owner:branch` against the head repository and branch, while retaining the existing bare-branch behavior if needed. Test the Fullsend resolver against a fork pull request.
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools
Co-authored-by: renovate-fullsend[bot] <295781306+renovate-fullsend[bot]@users.noreply.github.com>
…b-closed-by refactor(fullsend-ai#9583): read the GitHub closing actor from the latest close event
…on change Applying a config-only change to an already-installed repo (e.g. `fullsend repos install --direct` after editing repos.yaml) produced the commit subject "chore: bump fullsend to vX.Y.Z" even though the fullsend version pin did not change. Root cause: BuildScaffoldPRMetadata took the upgrade path for every installed repo, and upgradeMetadata emitted a "bump" message whenever the new tag was known, without checking whether the installed version differed. detectExistingVersion also only read the GitHub shim workflow, so on GitLab the installed version was always empty and the short "bump fullsend to <tag>" form was chosen. - upgradeMetadata now uses "bump fullsend from A to B" only when both versions are known and differ; otherwise it falls back to the existing generic "update fullsend per-repo installation" message and the default scaffold branch. - detectExistingVersion now also reads the GitLab pipeline wrapper (.gitlab/ci/fullsend-pipeline.yml) and parses its "# fullsend-ref: <sha> (vX.Y.Z)" / "# fullsend-ref: vX.Y.Z" marker, so genuine GitLab upgrades still get a "bump from A to B" message. Tests updated: the two cases that expected "bump fullsend to X" with no detectable installed version now expect the generic message; added same-version, GitLab marker, and GitLab upgrade cases. Note: `pre-commit run` could not fetch hook repositories in the sandbox (TLS error). The applicable hooks were run directly instead (pre-commit-hooks 6.0.0 fixers/checks, gitleaks, gofmt, go vet) and passed. Closes fullsend-ai#9901 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The bump check compared the installed version with the CLI release tag, but a repo pinned to a different fullsend_ref is rendered at the pin, so a config-only change was still labelled as a bump to the CLI release. BuildScaffoldPRMetadata now accepts the files about to be committed (ScaffoldMetadataOpts.DeliveredFiles) and reads the new version from their version markers. A config-only change delivers no versioned file, so it gets the generic update message. The repos install commit path passes its files. Note: pre-commit could not fetch remote hook repositories (certificate failure); gofmt and go vet were run directly and passed. Addresses fullsend-ai#9910 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…commit-subject fix(fullsend-ai#9901): only label scaffold commits as a bump on version change
…lsend-ai#9916) Co-authored-by: renovate-fullsend[bot] <295781306+renovate-fullsend[bot]@users.noreply.github.com>
…end-ai#9921) Co-authored-by: renovate-fullsend[bot] <295781306+renovate-fullsend[bot]@users.noreply.github.com>
…9926) Co-authored-by: renovate-fullsend[bot] <295781306+renovate-fullsend[bot]@users.noreply.github.com>
…y-source-config feat(fullsend-ai#9884): resolve entity-source config into a canonical model
The GitHub entity adapter reported title, body, and comment and review text and commands as unknown "unsupported", so a CEL predicate reading them could never settle. The normalized-entity v1 contract allows concrete text only as the complete output of a versioned content-safety pipeline, and the repository had no such pipeline. Pipeline: host it in internal/security, which already owns the Unicode normalizer, secret redactor, and injection scanner it composes. FilterEntityText (version fullsend-entity-text/v1) applies the snapshot v1 order to the complete source: acquisition cap, UTF-8 check, LF line endings, Unicode safety, redaction, injection rejection, then a byte bound (1 KiB title, 64 KiB action text). It never truncates. normentity.CommandToken derives the first-line command token from the filtered text using the contract's whitespace set and 2-64 code point rule. entityacquire gains NeedText, planned only when a predicate selects a text or command member (or uses a dynamic key that could name one). The adapter selects title, body, editor provenance, and comment and review body behind @include directives: title with NeedTitle, the body action with NeedBody, and action text only with NeedText. Rejected text is unknown "failed", oversized text is unknown "partial", and unrequested text is unknown "not_loaded"; none reads as empty. An empty action text is known "", and a title that filters to empty is unknown. Actor admission, including the title editor, stays in entityview. Note: pre-commit could not fetch its hook repositories (TLS failure in the sandbox), so the hooks were run directly: pre-commit-hooks 6.0.0 file checks, gofmt, go vet, broken-symlink lint, and the gitleaks-based scan-secrets all passed. The semgrep hook skipped itself because its ruleset download was blocked; CI semgrep still runs. Closes fullsend-ai#9908 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…y-text-facts refactor(fullsend-ai#9908): expose filtered GitHub entity text facts
…dle-merge-main Signed-off-by: guy oron <goron@redhat.com>
|
🤖 Finished Review · ❌ Failure (post-script /home/runner/work/fullsend/fullsend/.fullsend/.fullsend-cache/resources/sha256/03c579aa9e6a85ee2bd448f3e6f399b2e3c67b6e5f68e0e8fca726ddf61b4538/scripts/post-review.sh failed: exit status 1) · Started 11:33 AM UTC · Completed 11:36 AM UTC Commit: Runtime: pi · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $0.26 |
9689565
into
fullsend-ai:feat/jirapoll-skip-idle
Summary
Merges
mainintofeat/jirapoll-skip-idleso that #9758 can merge again.maingained the project-set refactor of the Jira poller (#9883,cf628ed79) on 26 November, and it conflicts with this branch ininternal/jirapoll/poller.go.Updated 30 November: a second merge commit brings
mainup tod83d2ec72. It merged without conflict. It is here becausemaingained the entity-source configuration of the poller (#9893) that day, and the PRs stacked on this branch have to build on it: #9893 rewroteloadJiraPollSettings, where #9898 reads the per-cycle limit.@dhshah13 this is only the merge, so you do not have to do it when you are back. Take it, change it or close it.
Related Issue
Part of #9751
Changes
Two merge commits and nothing else. The second (
968956521) merged without conflict. What the first (80a9eecd5) had to settle:internal/jirapoll/poller.go, import block (the one textual conflict).maindroppedregexpwithvalidProjectKeyand addedslices. The merged file usesslicesand has noregexpuse left, so it takesmain's side.internal/jirapoll/poller_idle_test.go. TwoOptionsliterals setJiraProject, whichmainreplaced withJiraProjects. They now pass[]string{"PROJ"}.Everything else in the first merge merged without conflict. I read the merged
Run,searchCandidatesandfilterLockedto check that the two changes combine as intended: the scoped search and its row de-duplication (uniqueIssues) run first, thenfilterLockeddrops locked candidates and the ones with no new activity, then the random pick runs on the active set.The merge also moves the behaviour suite from github-emulator 2026.11.20.1 to 2026.11.21, which has the fix for fullsend-ai/github-emulator#99, a job that fails before any of its steps run. That race failed two CI runs of #9918, in a different shard each time.
Testing
make lintpasses (stage changes first, then run)All pass. The last one is the test that failed on the old base in the review of #9853; it passes after the merge.
After the second merge, with the timeout CI uses:
go test -race -count=1 -timeout 20m ./internal/jirapoll/... ./internal/config/... ./internal/forge/jira/... ./internal/jiradispatch/... ./internal/cli/...All pass except
TestPrepare_LocallyPresentImageSkipsPullButRunsPreflightininternal/cli, on my macOS machine only: it compares a temp-dir path with its resolved form, and macOS resolves/varto/private/var. The test and the code it covers are identical tomain's.About the red DCO check: it did not find an unsigned commit. Its message is that it "could not be evaluated because the complete pull request commit list could not be retrieved": the merge brings more than 250 of
main's commits into this PR's commit list. The two merge commits, the only commits this PR adds, are signed off.Checklist
!for breaking changes)