René's URL Explorer Experiment


Title: fix(secrets): ignore Note blocks in fork mapping and secret references, refetch references on return by icecrasher321 · Pull Request #7426 · simstudioai/sim · GitHub

Open Graph Title: fix(secrets): ignore Note blocks in fork mapping and secret references, refetch references on return by icecrasher321 · Pull Request #7426 · simstudioai/sim

X Title: fix(secrets): ignore Note blocks in fork mapping and secret references, refetch references on return by icecrasher321 · Pull Request #7426 · simstudioai/sim

Description: Summary A {{KEY}} that only appears inside a Note block is no longer a reference: the shared fork remapper skips detection for annotation-only blocks, so it never lands in the fork mapping table, never blocks a sync, and no longer shows in the secret's References tab. A mapped key inside a note is still rewritten on sync, same as a condition-hidden field. A key named by both a Note and an executing block is still detected, attributed to the executing block. The References tab now reflects the canvas when you come back to it: stale time is 0 and the query refetches on window focus, so deleting a referencing block and returning no longer shows the cached list. A sync's background resource copy no longer shows up as a separate row badged "Fork". promoteFork records the sync's Activity row itself (the route no longer does), keeps it processing while copied tables, knowledge bases, and files are filled, and the content-copy runner finishes that same row. The push or pull row shows "Copying …" while it runs and "Copied …" plus any losses when done. A clean fill can't erase the sync's own warnings: the runner gets the sync's completion status and only ever upgrades it. A deploy that succeeded with its cutover or a side effect still pending now also marks the sync with warnings and lists the reason on the row. Forks docs: a {{KEY}} inside a Note never needs mapping; a sync's copy progress shows in its own row. Ship skill: add CI's docs-manifest:check to the pre-ship audits. Fork-copied tables now get the same tbl_ + dash-stripped UUID id as created tables: one generateTableId() helper in lib/table/ids.ts, used by both the create service and the fork copy. Type of Change Bug fix Testing Note tests: not detected by the fork scan, still rewritten when mapped, dropped by the References scanner, and a key in both a Note and a real block is reported for the real block only. All fail against the pre-change walker. Sync activity tests: one terminal fork_sync row when nothing needs a fill; a processing fork_sync row handed to the runner (no fork_content_copy row) when it does; a lost trigger URL is kept as a warning through the fill; the runner honours the caller's completion status and still downgrades to warnings when an item is lost; the panel renders "Copying"/"Copied" and losses inside the push row. All six behavioural tests fail against the previous code. Table id shape pinned for the helper and for a fork-copied table (the latter fails against the previous copy path). bun run lint, block-registry check, check:audits, docs-manifest:check, and type-check pass. Checklist Code follows project style guidelines Self-reviewed my changes Tests added/updated and passing No new warnings introduced I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

Open Graph Description: Summary A {{KEY}} that only appears inside a Note block is no longer a reference: the shared fork remapper skips detection for annotation-only blocks, so it never lands in the fork mapping table, ...

X Description: Summary A {{KEY}} that only appears inside a Note block is no longer a reference: the shared fork remapper skips detection for annotation-only blocks, so it never lands in the fork mapping table, ...

Opengraph URL: https://github.com/simstudioai/sim/pull/7426

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:21efd8d7-3734-a9a6-7b4b-dadc06ff8781
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC378:14CABD:4A388D:6A5A28:6AFB3A5E
html-safe-nonced72a44380c5d2b3100b3342af116be25d7db95eb06bcba4d904ebda584eb8935
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMzc4OjE0Q0FCRDo0QTM4OEQ6NkE1QTI4OjZBRkIzQTVFIiwidmlzaXRvcl9pZCI6Ijg3MDYyMzU1NjUwNzE4NzQ2NTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmace981321edfb12b49f657fcf7b507aa2b0f27ff936eef241d1bc4a5cbffd15765
hovercard-subject-tagpull_request:4428429642
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/simstudioai/sim/pull/7426/files
twitter:imagehttps://avatars.githubusercontent.com/u/17950982?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/17950982?s=400&v=4
og:image:altSummary A {{KEY}} that only appears inside a Note block is no longer a reference: the shared fork remapper skips detection for annotation-only blocks, so it never lands in the fork mapping table, ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None2169b0dfbef67ed6b128074a5ed45bb7d5d1859783b10178b09a7765ad5f3693
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/simstudioai/sim git https://github.com/simstudioai/sim.git
octolytics-dimension-user_id199344406
octolytics-dimension-user_loginsimstudioai
octolytics-dimension-repository_id912559512
octolytics-dimension-repository_nwosimstudioai/sim
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id912559512
octolytics-dimension-repository_network_root_nwosimstudioai/sim
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release3b4fc8df5ef1c6757e733a23e6b81b6725021823
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/7426/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F7426%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F7426%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=simstudioai%2Fsim
Reloadhttps://github.com/simstudioai/sim/pull/7426/files
Reloadhttps://github.com/simstudioai/sim/pull/7426/files
Reloadhttps://github.com/simstudioai/sim/pull/7426/files
simstudioaihttps://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Codehttps://github.com/simstudioai/sim
Issues129 (129)https://github.com/simstudioai/sim/issues
Pull requests199 (199)https://github.com/simstudioai/sim/pulls
Actionshttps://github.com/simstudioai/sim/actions
Projectshttps://github.com/simstudioai/sim/projects
Security and qualityhttps://github.com/simstudioai/sim/security
Insightshttps://github.com/simstudioai/sim/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
icecrasher321https://github.com/icecrasher321
staginghttps://github.com/simstudioai/sim/tree/staging
staging-v98https://github.com/simstudioai/sim/tree/staging-v98
Conversation 26 https://github.com/simstudioai/sim/pull/7426
Commits 5 https://github.com/simstudioai/sim/pull/7426/commits
Checks 30 https://github.com/simstudioai/sim/pull/7426/checks
Files changed https://github.com/simstudioai/sim/pull/7426/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/7426/files
fix(secrets): ignore Note blocks in fork mapping and secret references, refetch references on return https://github.com/simstudioai/sim/pull/7426/files#top
Show all changes 5 commits https://github.com/simstudioai/sim/pull/7426/files
bb81125 fix(secrets): ignore Note blocks in fork mapping and secret reference… Sep 3, 2026 https://github.com/simstudioai/sim/pull/7426/commits/bb81125410b5e662643a8a5c0df8dcb087be0fc1
d7a83ce chore(docs): say only note-only secret references skip fork mapping Sep 3, 2026 https://github.com/simstudioai/sim/pull/7426/commits/d7a83ce69a190871b57644f24d3ab3e7daec9ea7
f62386d fix(forks): report a sync's resource copy on its push or pull row ins… Sep 3, 2026 https://github.com/simstudioai/sim/pull/7426/commits/f62386d70718419350bebd29b97282ab0d462340
db8a55e fix(tables): mint fork-copied table ids with the same tbl_ shape as c… Sep 3, 2026 https://github.com/simstudioai/sim/pull/7426/commits/db8a55e24a9bb68ad45e354f70c375eea0196829
c926eff fix(forks): label a failed fill honestly, count skills and documents,… Sep 3, 2026 https://github.com/simstudioai/sim/pull/7426/commits/c926eff78549756e6ed6e3fedb7f9dfbd9580ec6
Clear filters https://github.com/simstudioai/sim/pull/7426/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/7426/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/7426/files
SKILL.md https://github.com/simstudioai/sim/pull/7426/files#diff-ad39604fdc067741862b0f9020941b05a2f2d1b9110476cb48ac806548874e93
forks.mdx https://github.com/simstudioai/sim/pull/7426/files#diff-2b2afd88faccfa2a3c1149866e5009a03a3d383af2d9192aea845749ff7c999a
route.test.ts https://github.com/simstudioai/sim/pull/7426/files#diff-b71c8ef093f13a3a518d93e9958143567a090a522a7e96923a67d64679b1014d
route.ts https://github.com/simstudioai/sim/pull/7426/files#diff-07c8de04f4b0b6bb2809de1dab006715cb733beba7e03197a51484ae256c26f0
fork-activity-panel.test.tsx https://github.com/simstudioai/sim/pull/7426/files#diff-18a3a4c62318ab57ead983d4953832840fff6f817e896ba3cb10f838a4ca8ab8
fork-activity-panel.tsx https://github.com/simstudioai/sim/pull/7426/files#diff-b0ba5c79754880c358aa2defc56462f96ea9d7364195528a265294ffe7600ab0
content-copy-runner.test.ts https://github.com/simstudioai/sim/pull/7426/files#diff-6a5de41f12e8a33f11f4f23890a884a51b093572f0536bd9886601f351863c55
content-copy-runner.ts https://github.com/simstudioai/sim/pull/7426/files#diff-4125142f14eea3560c70ecd683e9cb291dd7d74bfa9e935f28cfe0e93a8aafca
copy-resources.test.ts https://github.com/simstudioai/sim/pull/7426/files#diff-963c6ff31e66e98956f6635d910841a48e456cf551f33319f6f1dfc6e9789287
copy-resources.ts https://github.com/simstudioai/sim/pull/7426/files#diff-8090f65dbd57000145cea8bb14673ad7008ab9c9bf550c267d736e4abf3c7ffb
create-fork.ts https://github.com/simstudioai/sim/pull/7426/files#diff-202ab0340bdbd94663e1182c0295106afbcba13ffa9f7e481276fee250b041ee
promote.test.ts https://github.com/simstudioai/sim/pull/7426/files#diff-14ab17aa08810c4d7349f34e4e032aa76c7e55c96b4cbf6d56d806a21cd2e7c1
promote.ts https://github.com/simstudioai/sim/pull/7426/files#diff-497982ff22d7de8c90edf0d78da858e9bf7b3197472fa36bf731e7642fec30a6
remap-references.test.ts https://github.com/simstudioai/sim/pull/7426/files#diff-c9998b9f58735cd8642ccab24bc2b58cb1babdd8498fe96a510958b969b359cf
remap-references.ts https://github.com/simstudioai/sim/pull/7426/files#diff-9069cb4b6ae70f51608f138f41c58fba13f17769a78770981df7f76da5dd26f8
credentials.ts https://github.com/simstudioai/sim/pull/7426/files#diff-ca7307d0241b48ad5a75a8869ddc986abb13d00b3170a21896285cdacf8d7492
workspace-fork.ts https://github.com/simstudioai/sim/pull/7426/files#diff-7f7c97340771d184d34a12cd7e350b02a3b4c612e4f0ef8728c63da661bf0863
scan.test.ts https://github.com/simstudioai/sim/pull/7426/files#diff-3210d9d727b0984b0d295a34c899ebb02d5ad1dcd83d6542b75c786acd6afbc1
ids.test.ts https://github.com/simstudioai/sim/pull/7426/files#diff-0ab275a35fc0261f24a5c138d1724323eabcac211dfb3b674d7ac2c78c518ec1
ids.ts https://github.com/simstudioai/sim/pull/7426/files#diff-004b846aca772ec5c238ab47ffd97d62e668fe650e4a4f7fe0732cfd23dd24d8
index.ts https://github.com/simstudioai/sim/pull/7426/files#diff-83681c4189e474841453f4c237e09427e4a56ffc804c83912031ad4e405cbe78
service.ts https://github.com/simstudioai/sim/pull/7426/files#diff-691e9b1dc59be0015a1be5ea6189899b241d4e979a8b40e088dd7d722cfaadb6
.agents/skills/ship/SKILL.mdhttps://github.com/simstudioai/sim/pull/7426/files#diff-ad39604fdc067741862b0f9020941b05a2f2d1b9110476cb48ac806548874e93
View file https://github.com/simstudioai/sim/blob/c926eff78549756e6ed6e3fedb7f9dfbd9580ec6/.agents/skills/ship/SKILL.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/7426/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/7426/files#diff-ad39604fdc067741862b0f9020941b05a2f2d1b9110476cb48ac806548874e93
https://github.com/simstudioai/sim/pull/7426/files#diff-ad39604fdc067741862b0f9020941b05a2f2d1b9110476cb48ac806548874e93
apps/docs/content/docs/platform/enterprise/forks.mdxhttps://github.com/simstudioai/sim/pull/7426/files#diff-2b2afd88faccfa2a3c1149866e5009a03a3d383af2d9192aea845749ff7c999a
View file https://github.com/simstudioai/sim/blob/c926eff78549756e6ed6e3fedb7f9dfbd9580ec6/apps/docs/content/docs/platform/enterprise/forks.mdx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/7426/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/7426/files#diff-2b2afd88faccfa2a3c1149866e5009a03a3d383af2d9192aea845749ff7c999a
https://github.com/simstudioai/sim/pull/7426/files#diff-2b2afd88faccfa2a3c1149866e5009a03a3d383af2d9192aea845749ff7c999a
https://github.com/simstudioai/sim/pull/7426/files#diff-2b2afd88faccfa2a3c1149866e5009a03a3d383af2d9192aea845749ff7c999a
https://github.com/simstudioai/sim/pull/7426/files#diff-2b2afd88faccfa2a3c1149866e5009a03a3d383af2d9192aea845749ff7c999a
apps/sim/app/api/workspaces/[id]/fork/promote/route.test.tshttps://github.com/simstudioai/sim/pull/7426/files#diff-b71c8ef093f13a3a518d93e9958143567a090a522a7e96923a67d64679b1014d
View file https://github.com/simstudioai/sim/blob/c926eff78549756e6ed6e3fedb7f9dfbd9580ec6/apps/sim/app/api/workspaces/%5Bid%5D/fork/promote/route.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/7426/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/7426/files#diff-b71c8ef093f13a3a518d93e9958143567a090a522a7e96923a67d64679b1014d
https://github.com/simstudioai/sim/pull/7426/files#diff-b71c8ef093f13a3a518d93e9958143567a090a522a7e96923a67d64679b1014d
https://github.com/simstudioai/sim/pull/7426/files#diff-b71c8ef093f13a3a518d93e9958143567a090a522a7e96923a67d64679b1014d
https://github.com/simstudioai/sim/pull/7426/files#diff-b71c8ef093f13a3a518d93e9958143567a090a522a7e96923a67d64679b1014d
https://github.com/simstudioai/sim/pull/7426/files#diff-b71c8ef093f13a3a518d93e9958143567a090a522a7e96923a67d64679b1014d
apps/sim/app/api/workspaces/[id]/fork/promote/route.tshttps://github.com/simstudioai/sim/pull/7426/files#diff-07c8de04f4b0b6bb2809de1dab006715cb733beba7e03197a51484ae256c26f0
View file https://github.com/simstudioai/sim/blob/c926eff78549756e6ed6e3fedb7f9dfbd9580ec6/apps/sim/app/api/workspaces/%5Bid%5D/fork/promote/route.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/7426/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/7426/files#diff-07c8de04f4b0b6bb2809de1dab006715cb733beba7e03197a51484ae256c26f0
https://github.com/simstudioai/sim/pull/7426/files#diff-07c8de04f4b0b6bb2809de1dab006715cb733beba7e03197a51484ae256c26f0
https://github.com/simstudioai/sim/pull/7426/files#diff-07c8de04f4b0b6bb2809de1dab006715cb733beba7e03197a51484ae256c26f0
https://github.com/simstudioai/sim/pull/7426/files#diff-07c8de04f4b0b6bb2809de1dab006715cb733beba7e03197a51484ae256c26f0
apps/sim/ee/workspace-forking/components/fork-activity-panel/fork-activity-panel.test.tsxhttps://github.com/simstudioai/sim/pull/7426/files#diff-18a3a4c62318ab57ead983d4953832840fff6f817e896ba3cb10f838a4ca8ab8
View file https://github.com/simstudioai/sim/blob/c926eff78549756e6ed6e3fedb7f9dfbd9580ec6/apps/sim/ee/workspace-forking/components/fork-activity-panel/fork-activity-panel.test.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/7426/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/7426/files#diff-18a3a4c62318ab57ead983d4953832840fff6f817e896ba3cb10f838a4ca8ab8
Please reload this pagehttps://github.com/simstudioai/sim/pull/7426/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/7426/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.