You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 42cd560
Browse filesBrowse the repository at this point in the historyBrowse files
refactor(resolver): remove unused trustedAccountMappings extension point
- Remove speculative trustedAccountMappings plumbing from identity resolver and orchestrator
- Keep noreply commit authors strictly unresolved for award recipients while preserving DCO attribution
- Update noreply tests to verify unresolvable recipient without dead mapping code
Signed-off-by: Parth Gartan <parthgartan26feb@gmail.com>
reason: `Verified ${authorCommits.length} commit(s) by @${prAuthor} with DCO Signed-off-by trailer, but commit author uses a GitHub noreply address (@users.noreply.github.com); recipient cannot be resolved from contributor-controlled name without a trusted account mapping`
234
+
reason: `Verified ${authorCommits.length} commit(s) by @${prAuthor} with DCO Signed-off-by trailer, but commit author uses a GitHub noreply address (@users.noreply.github.com); recipient cannot be resolved from contributor-controlled names`
test('resolveIdentity: GitHub noreply commit author with matching trailer name preserves DCO but keeps recipient unresolved without trusted mapping',()=>{
147
+
test('resolveIdentity: GitHub noreply commit author with matching trailer name preserves DCO but keeps recipient unresolved',()=>{
148
148
constcommits=[
149
149
{
150
150
sha: 'noreply12345678',
@@ -156,18 +156,10 @@ test('resolveIdentity: GitHub noreply commit author with matching trailer name p
156
156
}
157
157
];
158
158
159
-
// Without trusted account mapping: DCO is verified, but recipient cannot be resolved from contributor-controlled names
160
159
constresult=resolveIdentity('octocat',commits);
161
160
assert.equal(result.dcoVerified,true,'DCO attribution is preserved for matching trailer name');
162
161
assert.equal(result.resolvedEmail,null,'Must never resolve recipient email solely from matching contributor-controlled name on noreply author');
163
-
assert.ok(result.reason.includes('cannot be resolved from contributor-controlled name without a trusted account mapping'));
164
-
165
-
// With trusted account mapping: recipient resolves to the authoritative mapped email
0 commit comments