frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Ask HN: Merge the branch into main before build/test in CI

1•aljgz•7h ago
TL/DR: Is it a good idea in CI to always merge the PR's branch into main (inside the runner, not pushing to origin) before doing build and test?

Generally, In CI we do all steps like build/test, etc on the branch.

What if the CI actually does this:

  - checkout main
  - if the target branch is not main:
    - fetch the branch from origin
    - merge the branch into main (no push to origin)
  - perform all other steps on this merge
This will lead to these benefits:

  1- If parallel works would lead to build/test failures, there's a much higher chance of knowing this before merging
  2- If there are merge conflicts, the author would know earlier. This can be a benefit or drawback depending on how each team works
  3- If the build artifacts are used in any other process (like a manual or automatic E2E test), they better reflect what can be expected after the PR is merged.
My questions:

  a. is this a practice done by some teams? If not, is there any reason?
  b. Are there other benefits or drawbacks for this?

Theory of Everything: Solved

https://github.com/Cosmolalia/TOE
1•Cosmolalia•2m ago•0 comments

Betting against YouTube Financial Influencers beat the S&P 500 (risky though)?

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=5315526
1•Corgipower12•19m ago•2 comments

Iris-WebP: Fast, efficient WebP encoder

https://halide.cx/iris/
1•Bogdanp•20m ago•0 comments

OpenAI to take cut of ChatGPT shopping sales in hunt for revenues

https://www.ft.com/content/449102a2-d270-4d68-8616-70bfbaf212de
2•mmarian•20m ago•2 comments

MacPlusDancer: Microsoft Plus! Dancers for macOS

https://github.com/samhenrigold/MacPlusDancer
2•archagon•24m ago•1 comments

Show HN: GST Calculator

https://gstcalculator.app
1•hapJam•43m ago•0 comments

1990 Networking: LAN Manager 2.0

https://www.os2museum.com/wp/1990-networking-lan-manager-2-0/
2•ingve•48m ago•0 comments

Original Xbox Hacks: The A20 CPU Gate

https://connortumbleson.com/2021/07/19/the-xbox-and-a20-line/
3•mattweinberg•54m ago•0 comments

Michael "The Grinder" Mizrachi Wins 2025 World Series of Poker Main Event

https://www.pokernews.com/news/2025/07/michael-mizrachi-wins-2025-wsop-main-event-49219.htm
1•indigodaddy•54m ago•0 comments

Watch videos in your preferred language

https://support.google.com/youtube/answer/13339776?hl=en
1•thunderbong•55m ago•1 comments

Show HN: ChainTok – Immortalize your love on Bitcoin's eternal ledger

https://app.chaintok.com
1•zzhan•1h ago•0 comments

Improving OSM lake polygons using Lidar data [video]

https://www.youtube.com/watch?v=4XxX8smv29M
2•marklit•1h ago•0 comments

Photos: The Scale of China's Solar-Power Projects

https://www.theatlantic.com/photography/archive/2025/07/photos-china-solar-power-energy/683488/
5•mhb•1h ago•0 comments

Dreamflow: create flutter apps with text prompts

https://dreamflow.app/
1•flwns•1h ago•0 comments

A Wide Reduction Trick

https://words.filippo.io/wide-reduction/
3•Bogdanp•1h ago•0 comments

International Math Olympiad 2025 Problems: How Well Will AI Do?

https://sugaku.net/content/imo-2025-problems/
4•mauriziocalo•1h ago•0 comments

I've been coding with AI for two years. Here is what I've learned

https://nathanpeck.com/ive-been-coding-with-ai-for-two-years-here-is-what-i-learned/
3•cebert•1h ago•0 comments

Links? Links – Infrequently Noted

https://infrequently.org/2025/07/links/
3•cratermoon•1h ago•0 comments

Cheating? Or the acumen of modern programming? FOSS, "AI", and human conscience

https://gist.github.com/guest271314/17c9daac37101538c9baa6df72aaaefb
2•thunderbong•1h ago•0 comments

LLM Benchmarking Shows Capabilities Doubling Every 7 Months

https://spectrum.ieee.org/llm-benchmarking-metr
3•mparramon•1h ago•0 comments

The Geological Sublime

https://harpers.org/archive/2025/07/the-geological-sublime-lewis-hyde-deep-time/
4•prismatic•1h ago•0 comments

Predicting Earthquakes

https://www.worksinprogress.news/p/a-50-million-foundation-model-to
1•sien•1h ago•0 comments

Garum Sardiniae in Tabula: Rediscovering the Ancient Taste of Roman Cuisine

https://exarc.net/issue-2023-3/at/garum-sardiniae-tabula-rediscovering-ancient-taste-roman-cuisine
1•airstrike•2h ago•0 comments

Mercedes-Benz adds support for Teams app, Intune integration, and Copilot

https://media.mercedes-benz.com/article/931e7af1-2d57-4e90-9e1e-252289e70648
1•throw0101d•2h ago•2 comments

Which Economic Tasks Are Performed with AI? Evidence from Claude Conversations

https://arxiv.org/abs/2503.04761
1•Bogdanp•2h ago•0 comments

The internet keeps getting worse. Let's talk about why [video]

https://www.youtube.com/watch?v=YcW9IB5e3_E
1•raythanwho•2h ago•0 comments

EurIPS: Present NeurIPS Papers in Europe

https://eurips.cc/
1•yza•2h ago•1 comments

NASA won't publish key climate change report online, citing no legal obligation

https://www.space.com/science/climate-change/nasa-wont-publish-key-climate-change-report-online-citing-no-legal-obligation-to-do-so
5•OutOfHere•2h ago•0 comments

Foreign YouTube stars secretly paid by UK Government for propaganda

https://www.thenational.scot/news/25318776.foreign-youtube-stars-secretly-paid-uk-government-propaganda/
5•duke_of_tharsis•2h ago•0 comments

Eight healthy babies born after IVF using DNA from three people

https://www.theguardian.com/science/2025/jul/16/eight-healthy-babies-born-after-ivf-using-dna-from-three-people
1•wicket•2h ago•1 comments