修复:智联新版搜索页与岗位详情采集 - #53
Merged
damingishere-coder merged 2 commits intoSep 8, 2026
Merged
Conversation
damingishere-coder
merged commit Sep 8, 2026
885be14
into
codex/fix-zhilian-analysis-login-20260907
4 checks passed
damingishere-coder
deleted the
codex/fix-zhilian-modern-collection-20260907
branch
September 8, 2026 00:13
Merged
damingishere-coder
added a commit
that referenced
this pull request
Sep 8, 2026
薪资菜单在页面底部固定向下展开导致选项超出视口;智联扫描预检在没有打开平台标签页时直接报错。现在菜单根据上下空间自动选择展开方向并限制宽高,分析岗位数使用 5 到 200、间隔 5 的下拉选项,已有非整倍数配置仍保留。 点击开始扫描时,预检允许扩展自动打开固定的智联官方搜索页并等待就绪。有页面则复用,并发请求只打开一个标签页;被动状态检查不创建页面,登录、安全验证和未知状态仍阻止扫描。扩展升级为 1.6.8。 验证:扩展静态校验通过,121 项扩展测试和 84 项前端测试全部通过,Next.js 生产构建(含 TypeScript)通过。独立只读测试数据预览中实际验证了 1280×720 视口底部菜单完整显示,并选择岗位数 25。尚未部署或在用户已加载的 Chrome 扩展中验证新开页逻辑。 延续已部署 PR #53 的集成分支作为基线。本 PR 不修改数据库、用户配置或投递逻辑;部署时需更新前端、重新加载 Chrome Bridge 1.6.8 并刷新工作台。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
智联搜索页已从 /sou 转到 /jobs,旧检查会重复导航五次后失败;首屏 HTTP 岗位链接也被全部过滤。此次修复兼容新版搜索和滚动列表,逐张校验卡片对应的详情身份与正文,再按现有档案、去重和 AI 队列提交。重扫保留已有完整字段,避免采集失败覆盖历史信息。 验证:扩展 118 项、真实结构 DOM 9 项通过;后端 360 项(4 跳过)通过;类型检查、定向 lint、前端构建通过。批处理竞态测试先持久化任务再启动 worker,两个五条批次和并发上限连续两次验证通过。 以当前部署基线 codex/fix-zhilian-analysis-login-20260907 为目标,避免混入 main 尚未接收的其他功能。Chrome Bridge 升级至 1.6.7,ID 和权限不变。数据库/旧扩展/RunDock 记录已本地备份;真实 20 岗位采集入库和 AI 验收待扩展加载及本机服务切换确认,不执行投递或聊天。
CI:最新提交 e228523 的 Backend、Frontend、Chrome Extension、Docker Configuration 全部通过。前端 CI 使用 Node 24,满足锁定 DOM 测试依赖的运行要求。