Skip to content

fix(#1012): add extract-transcript-error.sh to executableFiles map - #1016

Merged
ralphbean merged 2 commits into
mainfrom
agent/1012-add-executable-entry
May 21, 2026
Merged

fix(#1012): add extract-transcript-error.sh to executableFiles map#1016
ralphbean merged 2 commits into
mainfrom
agent/1012-add-executable-entry

Conversation

@fullsend-ai-coder

Copy link
Copy Markdown
Contributor

scripts/extract-transcript-error.sh was added as an executable file but not registered in the executableFiles map in internal/scaffold/scaffold.go. This caused TestFileModeMatchesFilesystem to fail because the test walks the scaffold directory for executable files and checks each one is present in the map.

Note: Go tests could not run in-sandbox (Go 1.24.13 available, project requires >= 1.26.0). Pre-commit could not run (network error). The fix is a single map entry addition verified by manual inspection of the test logic and filesystem state.


Closes #1012

Post-script verification

  • Branch is not main/master (agent/1012-add-executable-entry)
  • Secret scan passed (gitleaks — 4935d393ab233d22e4735c4e728cf14bd4da4126..HEAD)
  • Pre-commit hooks passed (authoritative run on runner)
  • Tests ran inside sandbox

@github-actions

Copy link
Copy Markdown

fullsend review is working on this — view logs

@github-actions

github-actions Bot commented May 15, 2026

Copy link
Copy Markdown

Site preview

Preview: https://bf000232-site.fullsend-ai.workers.dev

Commit: a556c36bbb350b6328bfe4004b55cfefc8669044

@fullsend-ai-review

fullsend-ai-review Bot commented May 15, 2026

Copy link
Copy Markdown

Review

Findings

No findings.

Previous run

Review: #1016

Head SHA: 5af274e
Timestamp: 2026-05-15T00:00:00Z
Outcome: approve

Summary

This is a correct, minimal one-line fix that adds the missing scripts/extract-transcript-error.sh entry to the executableFiles map in internal/scaffold/scaffold.go. The file exists on disk with mode 755, confirming it should be tracked. The fix directly addresses the TestFileModeMatchesFilesystem failure reported in #1012. No findings across any review dimension — the change is safe, correctly scoped, and follows existing code conventions.

Findings

None.

Footer

Outcome: approve
This review applies to SHA 5af274eb49cba9edd27b6ff768d7e6b7ff991213. Any push to the PR head clears this review and requires a new evaluation.

@rh-hemartin
rh-hemartin added this pull request to the merge queue May 18, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks May 18, 2026
@rh-hemartin

Copy link
Copy Markdown
Member

/fix Error: internal/scaffold/scaffold.go:40:2: duplicate key "scripts/extract-transcript-error.sh" in map literal

@rh-hemartin

Copy link
Copy Markdown
Member

/fs-fix Error: internal/scaffold/scaffold.go:40:2: duplicate key "scripts/extract-transcript-error.sh" in map literal

scripts/extract-transcript-error.sh was added as an executable file
but not registered in the executableFiles map in
internal/scaffold/scaffold.go. This caused
TestFileModeMatchesFilesystem to fail because the test walks the
scaffold directory for executable files and checks each one is
present in the map.

Note: Go tests could not run in-sandbox (Go 1.24.13 available,
project requires >= 1.26.0). Pre-commit could not run (network
error). The fix is a single map entry addition verified by manual
inspection of the test logic and filesystem state.

Closes #1012
@fullsend-ai-review fullsend-ai-review Bot added the ready-for-merge All reviewers approved — ready to merge label May 21, 2026
@ralphbean

Copy link
Copy Markdown
Member

/fs-fix Error: internal/scaffold/scaffold.go:40:2: duplicate key "scripts/extract-transcript-error.sh" in map literal

The entry for scripts/extract-transcript-error.sh appeared twice in the
executableFiles map literal — once at line 23 (added by the PR) and again
at line 41 (pre-existing). Go rejects duplicate keys in map literals,
causing a compile error. Remove the second (pre-existing) entry since
the first is in the correct alphabetical position.

Addresses review feedback on #1016

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: fullsend-fix <fullsend-code@users.noreply.github.com>
@fullsend-ai-coder

Copy link
Copy Markdown
Contributor Author

🔧 Fix agent — iteration 1 (human-triggered)

Removed duplicate map key for scripts/extract-transcript-error.sh in executableFiles. The PR's addition at line 23 was kept (correct alphabetical position); the pre-existing entry at line 41 was removed. Go tests could not run in sandbox (Go 1.26.0 toolchain unavailable), but the fix is a trivial single-line deletion of a provably duplicate key.

Fixed (1):

  1. duplicate key scripts/extract-transcript-error.sh in map literal (internal/scaffold/scaffold.go): Removed the duplicate map entry at line 41. The PR had added the entry at line 23 (correct alphabetical position), but the key already existed at line 41 from a prior commit on main. Removed the second occurrence to resolve the Go compile error.

Tests: failed

Decision points
  • Chose to keep line 23 entry (PR addition) and remove line 41 (pre-existing duplicate) (alternatives: Remove line 23 and keep line 41; rationale: Line 23 is in the correct alphabetical position within the map, consistent with surrounding entries)

Updated by fullsend fix agent

@ralphbean
ralphbean added this pull request to the merge queue May 21, 2026
Merged via the queue into main with commit afcffd9 May 21, 2026
6 of 8 checks passed
@ralphbean
ralphbean deleted the agent/1012-add-executable-entry branch May 21, 2026 20:37
Troy876 pushed a commit to Troy876/fullsend that referenced this pull request Jun 8, 2026
The sandbox image pinned Go 1.24.13 while go.mod requires 1.26.0.
This version mismatch prevented the code agent from compiling or
testing Go code, causing it to submit untested PRs (e.g. PR fullsend-ai#1016
shipped a duplicate map key that go build would have caught).

Update GO_VERSION from 1.24.13 to 1.26.0 and replace the SHA256
checksums for linux-amd64 and linux-arm64 archives. Checksums
sourced from docker-library/golang at the go1.26.0 release commit.

The sandbox image will rebuild automatically via the
sandbox-images.yml workflow on push to main.

Note: pre-commit could not run in-sandbox (exit 3) because the
gitleaks hook tried to auto-download a newer Go toolchain, which
is blocked by sandbox network policy. This is the same version
mismatch this commit fixes.

Closes fullsend-ai#1344
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-merge All reviewers approved — ready to merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

scaffold test failure: extract-transcript-error.sh missing from executableFiles

2 participants